From 51d0146fc1d2fd65e7cf4fcca0e530a085b4a708 Mon Sep 17 00:00:00 2001 From: Antennipasi <Antennipasi@ispconfig3> Date: Sun, 04 Jan 2009 11:28:46 -0500 Subject: [PATCH] Added more translations to monitor-module, mostly done now, couple annoyances left. merged changes with all languages. --- interface/web/sites/form/ftp_user.tform.php | 28 +++++++--------------------- 1 files changed, 7 insertions(+), 21 deletions(-) diff --git a/interface/web/sites/form/ftp_user.tform.php b/interface/web/sites/form/ftp_user.tform.php index 232561a..4950a1b 100644 --- a/interface/web/sites/form/ftp_user.tform.php +++ b/interface/web/sites/form/ftp_user.tform.php @@ -99,6 +99,7 @@ 'password' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', + 'encryption' => 'CRYPT', 'default' => '', 'value' => '', 'width' => '30', @@ -138,26 +139,26 @@ # Begin Datatable fields ################################## 'uid' => array ( - 'datatype' => 'INTEGER', + 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'uid_error_empty'), ), 'default' => '0', 'value' => '', - 'width' => '5', - 'maxlength' => '5' + 'width' => '30', + 'maxlength' => '255' ), 'gid' => array ( - 'datatype' => 'INTEGER', + 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'uid_error_empty'), ), 'default' => '0', 'value' => '', - 'width' => '5', - 'maxlength' => '5' + 'width' => '30', + 'maxlength' => '255' ), 'dir' => array ( 'datatype' => 'VARCHAR', @@ -173,9 +174,6 @@ 'quota_files' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'quota_files_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -184,9 +182,6 @@ 'ul_ratio' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'ul_ratio_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -195,9 +190,6 @@ 'dl_ratio' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'qdl_ratio_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -206,9 +198,6 @@ 'ul_bandwidth' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'ul_bandwidth_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -217,9 +206,6 @@ 'dl_bandwidth' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'dl_bandwidth_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', -- Gitblit v1.9.1