make unconfigured/unknown domain page a file-template

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-11-26 10:53:41 +01:00
parent 75cf44a6d2
commit 735ef85088
11 changed files with 95 additions and 44 deletions

View File

@@ -144,11 +144,17 @@ return [
'pop_success_alternative' => 'Welcome mail for new email accounts sent to alternative address',
'EMAIL_PASSWORD' => 'Replaced with the POP3/IMAP account password.',
'index_html' => 'index file for newly created customer directories',
'unconfigured_html' => 'index file for unconfigured/unknown domains',
'unconfigured_content_fallback' => 'This domain requires configuration via the froxlor server management panel, as it is currently not assigned to any customer.',
'file_extension' => [
'description' => 'The file extension for the index file must be between 1 and 6 characters long. The extension can only contain characters like a-z, A-Z and 0-9<br><br>Default: html',
'title' => 'File extension for the file template',
],
'SERVERNAME' => 'Replaced with the servername.',
'CUSTOMER' => 'Replaced with the loginname of the customer.',
'ADMIN' => 'Replaced with the loginname of the admin.',
'CUSTOMER_EMAIL' => 'Replaced with the e-mail address of the customer.',
'ADMIN_EMAIL' => 'Replaced with the e-mail address of the admin.',
'CUSTOMER' => 'Replaced with the loginname of the customer. Only for "index file for newly created customer directories"',
'ADMIN' => 'Replaced with the loginname of the admin. Only for "index file for newly created customer directories"',
'CUSTOMER_EMAIL' => 'Replaced with the e-mail address of the customer. Only for "index file for newly created customer directories"',
'ADMIN_EMAIL' => 'Replaced with the e-mail address of the admin. Only for "index file for newly created customer directories"',
'filetemplates' => 'File templates',
'filecontent' => 'File content',
'new_database_by_customer' => 'Customer-notification when a database has been created',
@@ -903,7 +909,6 @@ return [
'descriptioninvalid' => 'The description is too short, too long or contains illegal characters.',
'info' => 'Info',
'filecontentnotset' => 'The file cannot be empty!',
'index_file_extension' => 'The file extension for the index file must be between 1 and 6 characters long. The extension can only contain characters like a-z, A-Z and 0-9',
'customerdoesntexist' => 'The customer you have chosen doesn\'t exist.',
'admindoesntexist' => 'The admin you have chosen doesn\'t exist.',
'ipportdoesntexist' => 'The ip/port combination you have chosen doesn\'t exist.',
@@ -1732,10 +1737,6 @@ Yours sincerely, your administrator',
'removelink' => 'Click here to wipe all quotas for mail accounts.',
'enforcelink' => 'Click here to enforce default quota to all User mail accounts.',
],
'index_file_extension' => [
'description' => 'Which file extension should be used for the index file in newly created customer directories? This file extension will be used, if you or one of your admins has created its own index file template.',
'title' => 'File extension for index file in newly created customer directories',
],
'session_allow_multiple_login' => [
'title' => 'Allow multiple login',
'description' => 'If activated a user could login multiple times.',