tbrehm
2012-08-10 28048cdc2dfa7b5b4e157ce4823bfc9bfaf55489
interface/web/vm/form/openvz_vm.tform.php
@@ -29,6 +29,11 @@
   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
   - searchable = 2: this field will be included in the description of the search result
*/
@@ -100,11 +105,13 @@
                                          'errmsg'=> 'ip_address_error_empty'),
                           ),
         'default'   => '',
         /*
         'datasource'   => array (    'type'   => 'SQL',
                              'querystring' => "SELECT ip_address FROM openvz_ip WHERE reserved = 'n' AND (vm_id = 0 or vm_id = '{RECORDID}') ORDER BY ip_address",
                              'keyfield'=> 'ip_address',
                              'valuefield'=> 'ip_address'
                            ),
         */
         'value'      => ''
      ),
      'hostname' => array (
@@ -116,7 +123,8 @@
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
         'maxlength'   => '255',
         'searchable' => 1
      ),
      'vm_password' => array (
         'datatype'   => 'VARCHAR',
@@ -158,7 +166,8 @@
         'width'      => '',
         'maxlength'   => '',
         'rows'      => '10',
         'cols'      => '30'
         'cols'      => '30',
         'searchable' => 2
      ),
   ##################################
   # ENDE Datatable fields