|
|
@@ -1622,40 +1622,6 @@ echo buildSettings(
|
|
|
'title' => 'Advanced Settings',
|
|
|
'id' => 'advanced_settings',
|
|
|
'onready' => '$(\'.be-auth\').each(function() { $(this).parent().hide(); }); $(\'.be-auth-\'+$(\'#authBackend_id\').val()).each(function() { $(this).parent().show(); });',
|
|
|
- 'fields' => array(
|
|
|
- array(
|
|
|
- 'type' => 'header',
|
|
|
- 'value' => "General",
|
|
|
- ),
|
|
|
- array(
|
|
|
- 'type' => 'text',
|
|
|
- 'labelTranslate' => 'REGISTER_PASSWORD',
|
|
|
- 'name' => 'registerPassword',
|
|
|
- //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
- 'value' => REGISTERPASSWORD,
|
|
|
- ),
|
|
|
- array(
|
|
|
- 'type' => 'text',
|
|
|
- 'labelTranslate' => 'COOKIE_DOMAIN',
|
|
|
- 'name' => 'domain',
|
|
|
- //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
- 'value' => DOMAIN,
|
|
|
- ),
|
|
|
- array(
|
|
|
- 'type' => 'password',
|
|
|
- 'labelTranslate' => 'COOKIE_PASSWORD',
|
|
|
- 'name' => 'cookiePassword',
|
|
|
- //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
- 'value' => (empty(COOKIEPASSWORD)?'':randString(20)),
|
|
|
- ),
|
|
|
- array(
|
|
|
- 'type' => 'checkbox',
|
|
|
- 'labelTranslate' => 'MULTIPLE_LOGINS',
|
|
|
- 'name' => 'multipleLogin',
|
|
|
- //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
- 'value' => MULTIPLELOGIN,
|
|
|
- ),
|
|
|
- ),
|
|
|
'tabs' => array(
|
|
|
array(
|
|
|
'title' => 'Backend Authentication',
|
|
|
@@ -1764,6 +1730,34 @@ echo buildSettings(
|
|
|
'value' => TIMEZONE,
|
|
|
'options' => timezoneOptions(),
|
|
|
),
|
|
|
+ array(
|
|
|
+ 'type' => 'text',
|
|
|
+ 'labelTranslate' => 'REGISTER_PASSWORD',
|
|
|
+ 'name' => 'registerPassword',
|
|
|
+ //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
+ 'value' => REGISTERPASSWORD,
|
|
|
+ ),
|
|
|
+ array(
|
|
|
+ 'type' => 'text',
|
|
|
+ 'labelTranslate' => 'COOKIE_DOMAIN',
|
|
|
+ 'name' => 'domain',
|
|
|
+ //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
+ 'value' => DOMAIN,
|
|
|
+ ),
|
|
|
+ array(
|
|
|
+ 'type' => 'password',
|
|
|
+ 'labelTranslate' => 'COOKIE_PASSWORD',
|
|
|
+ 'name' => 'cookiePassword',
|
|
|
+ //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
+ 'value' => (empty(COOKIEPASSWORD)?'':randString(20)),
|
|
|
+ ),
|
|
|
+ array(
|
|
|
+ 'type' => 'checkbox',
|
|
|
+ 'labelTranslate' => 'MULTIPLE_LOGINS',
|
|
|
+ 'name' => 'multipleLogin',
|
|
|
+ //'pattern' => '[a-zA-Z0-9]{32}',
|
|
|
+ 'value' => MULTIPLELOGIN,
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
array(
|