Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
user new siteName() function
Browse files Browse the repository at this point in the history
  • Loading branch information
craigh committed Apr 16, 2020
1 parent 1eb4c8a commit e72fd2c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Resources/views/User/accessibilityStatement.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ moduleHeader('user', 'Accessibility statement for %s%'|trans({ '%s%': pagevars.title }), '', true, true) }}
{{ moduleHeader('user', 'Accessibility statement for %s%'|trans({ '%s%': siteName() }), '', true, true) }}
{{ include('@ZikulaLegalModule/' ~ app.request.locale ~ '/accessibilityStatement.html.twig') }}
2 changes: 1 addition & 1 deletion Resources/views/User/cancellationRightPolicy.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ moduleHeader('user', 'Cancellation right policy for %s%'|trans({ '%s%': pagevars.title }), '', true, true) }}
{{ moduleHeader('user', 'Cancellation right policy for %s%'|trans({ '%s%': siteName() }), '', true, true) }}
{{ include('@ZikulaLegalModule/' ~ app.request.locale ~ '/cancellationRightPolicy.html.twig') }}
2 changes: 1 addition & 1 deletion Resources/views/User/legalNotice.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ moduleHeader('user', 'Legal notice for %s%'|trans({ '%s%': pagevars.title }), '', true, true) }}
{{ moduleHeader('user', 'Legal notice for %s%'|trans({ '%s%': siteName() }), '', true, true) }}
{{ include('@ZikulaLegalModule/' ~ app.request.locale ~ '/legalNotice.html.twig') }}
2 changes: 1 addition & 1 deletion Resources/views/User/privacyPolicy.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ moduleHeader('user', 'Privacy policy for %s%'|trans({ '%s%': pagevars.title }), '', true, true) }}
{{ moduleHeader('user', 'Privacy policy for %s%'|trans({ '%s%': siteName() }), '', true, true) }}
{{ include('@ZikulaLegalModule/' ~ app.request.locale ~ '/privacyPolicy.html.twig') }}
2 changes: 1 addition & 1 deletion Resources/views/User/termsOfUse.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ moduleHeader('user', 'Terms of use for %s%'|trans({ '%s%': pagevars.title }), '', true, true) }}
{{ moduleHeader('user', 'Terms of use for %s%'|trans({ '%s%': siteName() }), '', true, true) }}
{{ include('@ZikulaLegalModule/' ~ app.request.locale ~ '/termsOfUse.html.twig') }}
2 changes: 1 addition & 1 deletion Resources/views/User/tradeConditions.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ moduleHeader('user', 'Trade conditions for %s%'|trans({ '%s%': pagevars.title }), '', true, true) }}
{{ moduleHeader('user', 'Trade conditions for %s%'|trans({ '%s%': siteName() }), '', true, true) }}
{{ include('@ZikulaLegalModule/' ~ app.request.locale ~ '/tradeConditions.html.twig') }}
2 changes: 1 addition & 1 deletion Resources/views/en/accessibilityStatement.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>This page is the site accessibility statement for {{ pagevars.title }}. If you have any questions or comments, please feel free to <a href="mailto:{{ getSystemVar('adminmail')|e('html_attr')|protectMail() }}" title="Send mail to the site administrator">contact the site administrator</a>.</p>
<p>This page is the site accessibility statement for {{ siteName() }}. If you have any questions or comments, please feel free to <a href="mailto:{{ getSystemVar('adminmail')|e('html_attr')|protectMail() }}" title="Send mail to the site administrator">contact the site administrator</a>.</p>
<h2>Access keys</h2>
<p>Most browsers support jumping to specific links by typing keys defined on the site. Under the Microsoft Windows operating system, you can press the 'Alt' key plus an access key; on an Apple Macintosh operating system, you can press the 'Control' key plus an access key.</p>
<p>The following access keys are defined for all pages on this site:</p>
Expand Down

0 comments on commit e72fd2c

Please sign in to comment.