From 62c0e92c5e2740b63de4ea45094529d0ee3f46a0 Mon Sep 17 00:00:00 2001 From: Dominik <info@profi-webdesign.net> Date: Wed, 09 Apr 2014 15:51:47 -0400 Subject: [PATCH] changed default values (now all) --- interface/web/client/form/client.tform.php | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php index 6f7092b..f25b399 100644 --- a/interface/web/client/form/client.tform.php +++ b/interface/web/client/form/client.tform.php @@ -166,6 +166,14 @@ 'password' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', + 'validators' => array( + 0 => array( + 'type' => 'CUSTOM', + 'class' => 'validate_password', + 'function' => 'password_check', + 'errmsg' => 'weak_password_txt' + ) + ), 'encryption'=> 'CRYPT', 'default' => '', 'value' => '', @@ -250,7 +258,7 @@ 'formtype' => 'SELECT', 'default' => (isset($conf['language']) ? strtoupper($conf['language']) : ''), 'datasource' => array ( 'type' => 'SQL', - 'querystring' => 'SELECT iso,printable_name FROM country ORDER BY iso ASC', + 'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name ASC', 'keyfield' => 'iso', 'valuefield' => 'printable_name' ), @@ -471,6 +479,28 @@ 'formtype' => 'CHECKBOX', 'default' => 'n', 'value' => array(0 => 'n', 1 => 'y') + ), + 'added_date' => array ( + 'datatype' => 'DATE', + 'formtype' => 'TEXT', + 'default' => date($app->lng('conf_format_dateshort')), + 'value' => '', + 'separator' => '', + 'width' => '15', + 'maxlength' => '15', + 'rows' => '', + 'cols' => '' + ), + 'added_by' => array ( + 'datatype' => 'VARCHAR', + 'formtype' => 'TEXT', + 'default' => $_SESSION['s']['user']['username'], + 'value' => '', + 'separator' => '', + 'width' => '30', + 'maxlength' => '255', + 'rows' => '', + 'cols' => '' ), //################################# // END Datatable fields @@ -930,6 +960,12 @@ 'rows' => '', 'cols' => '' ), + 'limit_backup' => array ( + 'datatype' => 'VARCHAR', + 'formtype' => 'CHECKBOX', + 'default' => 'y', + 'value' => array(0 => 'n', 1 => 'y') + ), 'default_dnsserver' => array ( 'datatype' => 'INTEGER', 'formtype' => 'SELECT', @@ -1071,6 +1107,20 @@ 'rows' => '', 'cols' => '' ), + 'limit_database_quota' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'TEXT', + 'validators' => array ( 0 => array ( 'type' => 'ISINT', + 'errmsg'=> 'limit_database_quota_error_notint'), + ), + 'default' => '-1', + 'value' => '', + 'separator' => '', + 'width' => '10', + 'maxlength' => '10', + 'rows' => '', + 'cols' => '' + ), 'limit_cron' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', -- Gitblit v1.9.1