mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
Merge remote-tracking branch 'github-nickvergessen/ticket/10073' into develop-ascraeus
* github-nickvergessen/ticket/10073: (36 commits) [ticket/10073] Fix button descriptions [ticket/10073] Do not check disable boxes by default [ticket/10073] Store values with config_text in the ACP [ticket/10073] Move config values to config_text [ticket/10073] Fix request usage [ticket/10073] Deduplicate template variable names [ticket/10073] Get service from container [ticket/10073] Fix more "Contact Us" strings [ticket/10073] Move template code into the template [ticket/10073] Make contact page available when board is disabled [ticket/10073] Change name of the ACP module [ticket/10073] Deduplicate posting buttons code in ACP [ticket/10073] Use phpbb_validate_email to verify email address [ticket/10073] Add tests for new validate_email() [ticket/10073] Split email validation from email ban and taken checks [ticket/10073] Deduplicate the if statement [ticket/10073] Fallback to board_contact when contact page is disabled [ticket/10073] Remove language string from rebase conflict [ticket/10073] Add ACP module to add bbcode text for contact admin info [ticket/10073] Add new configs to the schema ...
This commit is contained in:
@@ -352,6 +352,19 @@ $lang = array_merge($lang, array(
|
||||
'SESSION_LENGTH_EXPLAIN' => 'Sessions will expire after this time, in seconds.',
|
||||
));
|
||||
|
||||
// Contact Settings
|
||||
$lang = array_merge($lang, array(
|
||||
'ACP_CONTACT_SETTINGS_EXPLAIN' => 'Here you can enable and disable the contact page and also add a text that is displayed on the page.',
|
||||
|
||||
'CONTACT_US_ENABLE' => 'Enable contact page',
|
||||
'CONTACT_US_ENABLE_EXPLAIN' => 'This page allows users to send emails to board administrators',
|
||||
|
||||
'CONTACT_US_INFO' => 'Contact information',
|
||||
'CONTACT_US_INFO_EXPLAIN' => 'The message is displayed on the contact page',
|
||||
'CONTACT_US_INFO_PREVIEW' => 'Contact page information - Preview',
|
||||
'CONTACT_US_INFO_UPDATED' => 'Contact page information has been updated.',
|
||||
));
|
||||
|
||||
// Load Settings
|
||||
$lang = array_merge($lang, array(
|
||||
'ACP_LOAD_SETTINGS_EXPLAIN' => 'Here you can enable and disable certain board functions to reduce the amount of processing required. On most servers there is no need to disable any functions. However on certain systems or in shared hosting environments it may be beneficial to disable capabilities you do not really need. You can also specify limits for system load and active sessions beyond which the board will go offline.',
|
||||
|
@@ -75,6 +75,8 @@ $lang = array_merge($lang, array(
|
||||
'ACP_CAT_USERS' => 'Users',
|
||||
'ACP_CLIENT_COMMUNICATION' => 'Client communication',
|
||||
'ACP_COOKIE_SETTINGS' => 'Cookie settings',
|
||||
'ACP_CONTACT' => 'Contact page',
|
||||
'ACP_CONTACT_SETTINGS' => 'Contact page settings',
|
||||
'ACP_CRITICAL_LOGS' => 'Error log',
|
||||
'ACP_CUSTOM_PROFILE_FIELDS' => 'Custom profile fields',
|
||||
|
||||
|
@@ -171,6 +171,7 @@ $lang = array_merge($lang, array(
|
||||
'CONNECTION_SUCCESS' => 'Connection was successful!',
|
||||
'CONTACT' => 'Contact',
|
||||
'CONTACT_USER' => 'Contact %s',
|
||||
'CONTACT_US' => 'Contact us',
|
||||
'COOKIES_DELETED' => 'All board cookies successfully deleted.',
|
||||
'CURRENT_TIME' => 'It is currently %s',
|
||||
|
||||
@@ -668,8 +669,8 @@ $lang = array_merge($lang, array(
|
||||
'SELECT_ALL_CODE' => 'Select all',
|
||||
'SELECT_DESTINATION_FORUM' => 'Please select a destination forum',
|
||||
'SELECT_FORUM' => 'Select a forum',
|
||||
'SEND_EMAIL' => 'Email', // Used for submit buttons
|
||||
'SEND_EMAIL_USER' => 'Email %s',
|
||||
'SEND_EMAIL' => 'Send email', // Used for submit buttons
|
||||
'SEND_EMAIL_USER' => 'Send email to %s',
|
||||
'SEND_PRIVATE_MESSAGE' => 'Send private message',
|
||||
'SETTINGS' => 'Settings',
|
||||
'SIGNATURE' => 'Signature',
|
||||
@@ -732,7 +733,7 @@ $lang = array_merge($lang, array(
|
||||
'TOO_SHORT_USER_PASSWORD' => 'The password you entered is too short.',
|
||||
'TOO_SHORT_USERNAME' => 'The username you entered is too short.',
|
||||
'TOO_SHORT_EMAIL' => 'The email address you entered is too short.',
|
||||
|
||||
'TOO_SHORT_EMAIL_CONFIRM' => 'The email address confirmation you entered is too short.',
|
||||
'TOO_SMALL' => 'The value you entered is too small.',
|
||||
'TOO_SMALL_MAX_RECIPIENTS' => 'The value of <strong>Maximum number of allowed recipients per private message</strong> setting you entered is too small.',
|
||||
|
||||
|
23
phpBB/language/en/email/contact_admin.txt
Normal file
23
phpBB/language/en/email/contact_admin.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
Hello {TO_USERNAME},
|
||||
|
||||
The following is an e-mail sent to you through the administration contact page on "{SITENAME}".
|
||||
|
||||
<!-- IF S_IS_REGISTERED -->
|
||||
The message has been sent from an account on the site.
|
||||
Username: {FROM_USERNAME}
|
||||
E-mail address: {FROM_EMAIL_ADDRESS}
|
||||
IP Address: {FROM_IP_ADDRESS}
|
||||
Profile: {U_FROM_PROFILE}
|
||||
<!-- ELSE -->
|
||||
The message was sent from a guest who specified the following contact information:
|
||||
Name: {FROM_USERNAME}
|
||||
E-mail address: {FROM_EMAIL_ADDRESS}
|
||||
IP Address: {FROM_IP_ADDRESS}
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
||||
Message sent to you follows
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
{MESSAGE}
|
@@ -49,6 +49,8 @@ $lang = array_merge($lang, array(
|
||||
'BEFORE' => 'Before',
|
||||
|
||||
'CC_EMAIL' => 'Send a copy of this email to yourself.',
|
||||
'CONTACT_USER' => 'Contact',
|
||||
'CONTACT_ADMIN' => 'Contact a Board Administrator',
|
||||
|
||||
'DEST_LANG' => 'Language',
|
||||
'DEST_LANG_EXPLAIN' => 'Select an appropriate language (if available) for the recipient of this message.',
|
||||
@@ -61,6 +63,8 @@ $lang = array_merge($lang, array(
|
||||
'EMPTY_MESSAGE_EMAIL' => 'You must enter a message to be emailed.',
|
||||
'EMPTY_MESSAGE_IM' => 'You must enter a message to be send.',
|
||||
'EMPTY_NAME_EMAIL' => 'You must enter the real name of the recipient.',
|
||||
'EMPTY_SENDER_EMAIL' => 'You must provide a valid email address.',
|
||||
'EMPTY_SENDER_NAME' => 'You must provide a name.',
|
||||
'EMPTY_SUBJECT_EMAIL' => 'You must specify a subject for the email.',
|
||||
'EQUAL_TO' => 'Equal to',
|
||||
|
||||
@@ -98,6 +102,8 @@ $lang = array_merge($lang, array(
|
||||
|
||||
'MORE_THAN' => 'More than',
|
||||
|
||||
'NO_CONTACT_FORM' => 'The board administrator contact form has been disabled.',
|
||||
'NO_CONTACT_PAGE' => 'The board administrator contact page has been disabled.',
|
||||
'NO_EMAIL' => 'You are not permitted to send email to this user.',
|
||||
'NO_VIEW_USERS' => 'You are not authorised to view the member list or profiles.',
|
||||
|
||||
@@ -113,6 +119,8 @@ $lang = array_merge($lang, array(
|
||||
|
||||
'SELECT_MARKED' => 'Select marked',
|
||||
'SELECT_SORT_METHOD' => 'Select sort method',
|
||||
'SENDER_EMAIL_ADDRESS' => 'Your email address',
|
||||
'SENDER_NAME' => 'Your name',
|
||||
'SEND_ICQ_MESSAGE' => 'Send ICQ message',
|
||||
'SEND_IM' => 'Instant messaging',
|
||||
'SEND_JABBER_MESSAGE' => 'Send Jabber message',
|
||||
|
Reference in New Issue
Block a user