Florian Schaal
2016-03-22 5ca959fa688255a8de61f89fe2751eb4d24a6912
interface/web/admin/form/groups.tform.php
@@ -34,9 +34,9 @@
   Tabellendefinition
   Datentypen:
   - INTEGER (Wandelt Ausdrücke in Int um)
   - INTEGER (Wandelt Ausdrücke in Int um)
   - DOUBLE
   - CURRENCY (Formatiert Zahlen nach Währungsnotation)
   - CURRENCY (Formatiert Zahlen nach Währungsnotation)
   - VARCHAR (kein weiterer Format Check)
   - TEXT (kein weiterer Format Check)
   - DATE (Datumsformat, Timestamp Umwandlung)
@@ -54,58 +54,59 @@
   - Wert oder Array
   Hinweis:
   Das ID-Feld ist nicht bei den Table Values einzufügen.
   Das ID-Feld ist nicht bei den Table Values einzufügen.
*/
$form["title"]          = "Groups";
$form["description"]    = "Form to edit systemuser groups.";
$form["name"]          = "groups";
$form["action"]         = "groups_edit.php";
$form["db_table"]      = "sys_group";
$form["db_table_idx"]   = "groupid";
$form["tab_default"]   = "groups";
$form["list_default"]   = "groups_list.php";
$form["auth"]         = 'no';
$form["title"]    = "Groups";
$form["description"]  = "groups_description";
$form["name"]    = "groups";
$form["action"]   = "groups_edit.php";
$form["db_table"]  = "sys_group";
$form["db_table_idx"] = "groupid";
$form["db_history"]  = "yes";
$form["tab_default"] = "groups";
$form["list_default"] = "groups_list.php";
$form["auth"]   = 'no';
$form["tabs"]['groups'] = array (
   'title'    => "Groups",
   'width'    => 80,
   'template'    => "templates/groups_edit.htm",
   'fields'    => array (
   ##################################
   # Beginn Datenbankfelder
   ##################################
   'title'  => "Groups",
   'width'  => 80,
   'template'  => "templates/groups_edit.htm",
   'fields'  => array (
      //#################################
      // Beginn Datenbankfelder
      //#################################
      'name' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'regex'      => '/^.{1,30}$/',
         'errmsg'   => 'name_err',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'regex'  => '/^.{1,30}$/',
         'errmsg' => 'name_err',
         'default' => '',
         'value'  => '',
         'separator' => '',
         'width'  => '30',
         'maxlength' => '255',
         'rows'  => '',
         'cols'  => ''
      ),
      'description' => array (
         'datatype'   => 'TEXT',
         'formtype'   => 'TEXTAREA',
         'regex'      => '',
         'errmsg'   => '',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '',
         'maxlength'   => '',
         'rows'      => '5',
         'cols'      => '30'
         'datatype' => 'TEXT',
         'formtype' => 'TEXTAREA',
         'regex'  => '',
         'errmsg' => '',
         'default' => '',
         'value'  => '',
         'separator' => '',
         'width'  => '',
         'maxlength' => '',
         'rows'  => '5',
         'cols'  => '30'
      )
   ##################################
   # ENDE Datenbankfelder
   ##################################
      //#################################
      // ENDE Datenbankfelder
      //#################################
   )
);
?>
?>