Skip to content

Commit 904d8aa

Browse files
author
Florian Schaal
committed
custom text / link for login-page
1 parent 64604de commit 904d8aa

29 files changed

+101
-1
lines changed

install/tpl/system.ini.master

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ new_domain_html=Please contact our support to create a new domain for you.
4141

4242
[misc]
4343
company_name=
44+
custom_login_text=
45+
custom_login_link=
4446
dashboard_atom_url_admin=http://www.ispconfig.org/atom
4547
dashboard_atom_url_reseller=http://www.ispconfig.org/atom
4648
dashboard_atom_url_client=http://www.ispconfig.org/atom

interface/web/admin/form/system_config.tform.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,22 @@
466466
'default' => '',
467467
'value' => ''
468468
),
469+
'custom_login_text' => array (
470+
'datatype' => 'VARCHAR',
471+
'formtype' => 'TEXT',
472+
'default' => '',
473+
'value' => ''
474+
),
475+
'custom_login_link' => array (
476+
'datatype' => 'VARCHAR',
477+
'formtype' => 'TEXT',
478+
'default' => '',
479+
'value' => '',
480+
'validators' => array ( 0 => array ( 'type' => 'REGEX',
481+
'regex' => '/^(http|https):\\/\\/.*|^$/',
482+
'errmsg'=> 'login_link_error_regex'),
483+
)
484+
),
469485
'dashboard_atom_url_admin' => array (
470486
'datatype' => 'VARCHAR',
471487
'formtype' => 'TEXT',

interface/web/admin/lib/lang/ar_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@ $wb['min_password_length_txt'] = 'Minimum password length';
7373
$wb['min_password_strength_txt'] = 'Minimum password strength';
7474
$wb["company_name_txt"] = "Company Name for the page title";
7575
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
76+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
77+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
78+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
7679
?>

interface/web/admin/lib/lang/bg_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@ $wb['min_password_length_txt'] = 'Minimum password length';
7373
$wb['min_password_strength_txt'] = 'Minimum password strength';
7474
$wb["company_name_txt"] = "Company Name for the page title";
7575
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
76+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
77+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
78+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
7679
?>

interface/web/admin/lib/lang/br_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@ $wb['min_password_length_txt'] = 'Minimum password length';
7373
$wb['min_password_strength_txt'] = 'Minimum password strength';
7474
$wb["company_name_txt"] = "Company Name for the page title";
7575
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
76+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
77+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
78+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
7679
?>

interface/web/admin/lib/lang/cz_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,8 @@ $wb['min_password_length_txt'] = 'Minimální délka hesla';
7373
$wb['min_password_strength_txt'] = 'Minimální síla hesla';
7474
$wb["company_name_txt"] = "Company Name for the page title";
7575
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
76+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
77+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
78+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
7679
?>
7780

interface/web/admin/lib/lang/de_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@ $wb['No'] = 'Nein';
7373
$wb['min_password_length_txt'] = 'Minimale Passwortlänge';
7474
$wb['min_password_strength_txt'] = 'Minimale Passwortstärke';
7575
$wb["company_name_txt"] = "Firmenname fuer den Seitentitel";
76+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
77+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
78+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
7679
?>

interface/web/admin/lib/lang/el_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@ $wb['min_password_length_txt'] = 'Minimum password length';
7373
$wb['min_password_strength_txt'] = 'Minimum password strength';
7474
$wb["company_name_txt"] = "Company Name for the page title";
7575
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
76+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
77+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
78+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
7679
?>

interface/web/admin/lib/lang/en_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,7 @@ $wb["default_slave_dnsserver_txt"] = 'Default Secondary DNS Server';
8181
$wb["default_dbserver_txt"] = 'Default Database Server';
8282
$wb["company_name_txt"] = "Company Name for the page title";
8383
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
84+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
85+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
86+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
8487
?>

interface/web/admin/lib/lang/es_system_config.lng

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,7 @@ $wb['default_slave_dnsserver_txt'] = 'Servidor DNS secundario por defecto';
7878
$wb['default_dbserver_txt'] = 'Servidor de bases de datos por defecto';
7979
$wb["company_name_txt"] = "Company Name for the page title";
8080
$wb["reseller_can_use_options_txt"] = "Reseller can use the option-tab for websites";
81+
$wb["custom_login_text_txt"] = "Custom Text on Login-Page";
82+
$wb["custom_login_link_txt"] = "Custom Link on Login-Page";
83+
$wb["login_link_error_regex"] = "Invalid Link for Custom Login";
8184
?>

0 commit comments

Comments
 (0)