tbrehm
2013-08-02 2332b2279d8a8599b4f041370315edc9544b1560
interface/web/sites/form/database.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
@@ -83,13 +83,16 @@
                              'keyfield'=> 'domain_id',
                              'valuefield'=> 'domain'
                            ),
         'value'      => array('0' => $app->tform->lng('select_site_txt'))
         'value'      => array('0' => 'select_site_txt')
      ),
      'type' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => 'y',
         'value'      => array('mysql' => 'MySQL')
         'value'      => array(
                           'mongo' => 'MongoDB',
                           'mysql' => 'MySQL'
                        )
      ),
      'database_name' => array (
         'datatype'   => 'VARCHAR',
@@ -106,6 +109,14 @@
         'maxlength'   => '255',
         'searchable' => 1
      ),
      'database_name_prefix' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '25'
      ),
      'database_user_id' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'SELECT',
@@ -115,7 +126,7 @@
                              'keyfield'=> 'database_user_id',
                              'valuefield'=> 'database_user'
                            ),
         'value'      => array('0' => $app->tform->lng('select_dbuser_txt'))
         'value'      => array('0' => 'select_dbuser_txt')
      ),
      'database_ro_user_id' => array (
         'datatype'   => 'INTEGER',
@@ -126,7 +137,7 @@
                              'keyfield'=> 'database_user_id',
                              'valuefield'=> 'database_user'
                            ),
         'value'      => array('0' => $app->tform->lng('no_dbuser_txt'))
         'value'      => array('0' => 'no_dbuser_txt')
      ),
      'database_charset' => array (
         'datatype'   => 'VARCHAR',
@@ -166,4 +177,4 @@
);
?>
?>