latham
2011-05-25 f99b37f56dad8e3a1f844f8d3b33ee1ba4b86d62
interface/web/tools/form/user_settings.tform.php
@@ -69,7 +69,7 @@
$form["db_history"]      = "no";
$form['tab_default']   = 'users';
$form['list_default']   = 'index.php';
$form['auth']         = 'yes';
$form['auth']         = 'no';
//* 0 = id of the user, > 0 id must match with id of current user
$form['auth_preset']['userid']  = 0; 
@@ -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 @@
);
?>
?>