From b772162f0b618ef1d130ff88ff188ce53710a774 Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Wed, 22 Jun 2011 12:23:26 -0400
Subject: [PATCH] disable this while I work to clean up the validators, some forms have regex for existing validators. I should add some notes to the Coding Guidelines about this.
---
interface/web/tools/form/user_settings.tform.php | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/interface/web/tools/form/user_settings.tform.php b/interface/web/tools/form/user_settings.tform.php
index 05b3e8c..6531611 100644
--- a/interface/web/tools/form/user_settings.tform.php
+++ b/interface/web/tools/form/user_settings.tform.php
@@ -104,6 +104,7 @@
'passwort' => array (
'datatype' => 'VARCHAR',
'formtype' => 'PASSWORD',
+ 'encryption'=> 'CRYPT',
'regex' => '',
'errmsg' => '',
'default' => '',
@@ -132,6 +133,26 @@
'maxlength' => '2',
'rows' => '',
'cols' => ''
+ ),
+ 'id_rsa' => array (
+ 'datatype' => 'VARCHAR',
+ 'formtype' => 'TEXT',
+ 'default' => '',
+ 'datasource' => array ( 'type' => 'SQL',
+ 'querystring' => 'SELECT id_rsa FROM client WHERE {AUTHSQL}',
+ 'valuefield'=> 'id_rsa'
+ ),
+ 'value' => ''
+ ),
+ 'ssh_rsa' => array (
+ 'datatype' => 'VARCHAR',
+ 'formtype' => 'TEXT',
+ 'default' => '',
+ 'datasource' => array ( 'type' => 'SQL',
+ 'querystring' => 'SELECT ssh_rsa FROM client WHERE {AUTHSQL}',
+ 'valuefield'=> 'ssh_rsa'
+ ),
+ 'value' => ''
)
##################################
# ENDE Datenbankfelder
@@ -140,4 +161,4 @@
);
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1