tbrehm
2013-08-02 2332b2279d8a8599b4f041370315edc9544b1560
interface/web/sites/form/database_user.tform.php
@@ -29,7 +29,7 @@
   Hint:
   The ID field of the database table is not part of the datafield definition.
   The ID field must be always auto incement (int or bigint).
   Search:
   - searchable = 1 or searchable = 2 include the field in the search
   - searchable = 1: this field will be the title of the search result
@@ -44,7 +44,7 @@
$form["action"]         = "database_user_edit.php";
$form["db_table"]      = "web_database_user";
$form["db_table_idx"]   = "database_user_id";
$form["db_history"]      = "no";
$form["db_history"]      = "yes";
$form["tab_default"]   = "database_user";
$form["list_default"]   = "database_user_list.php";
$form["auth"]         = 'yes'; // yes / no
@@ -63,6 +63,17 @@
   ##################################
   # Begin Datatable fields
   ##################################
      'server_id' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'SELECT',
         'default'   => '',
         'datasource'   => array (    'type'   => 'SQL',
                              'querystring' => 'SELECT server_id,server_name FROM server WHERE mirror_server_id = 0 AND {AUTHSQL} AND db_server = 1 ORDER BY server_name',
                              'keyfield'=> 'server_id',
                              'valuefield'=> 'server_name'
                            ),
         'value'      => ''
      ),
      'database_user' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
@@ -78,7 +89,15 @@
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255',
         'searchable' => 2
         'searchable' => 1
      ),
      'database_user_prefix' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '25'
      ),
      'database_password' => array (
         'datatype'   => 'VARCHAR',
@@ -89,6 +108,14 @@
         'width'      => '30',
         'maxlength'   => '255'
      ),
      'database_password_mongo' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'PASSWORD',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
      ),
   ##################################
   # ENDE Datatable fields
   ##################################