tbrehm
2012-10-24 4bd960b10d9f32cb8a82a0718caaa005768c107c
interface/web/client/form/client.tform.php
@@ -73,7 +73,7 @@
while ($file = @readdir ($handle)) { 
    if (substr($file, 0, 1) != '.') {
        if(@is_dir(ISPC_THEMES_PATH."/$file")) {
         if($file == 'default' || (@file_exists(ISPC_THEMES_PATH."/$file/ISPC_VERSION") && trim(@file_get_contents(ISPC_THEMES_PATH."/$file/ISPC_VERSION")) == ISPC_APP_VERSION)) {
         if(!file_exists(ISPC_THEMES_PATH."/$file/ispconfig_version") || (@file_exists(ISPC_THEMES_PATH."/$file/ispconfig_version") && trim(@file_get_contents(ISPC_THEMES_PATH."/$file/ispconfig_version")) == ISPC_APP_VERSION)) {
                $themes_list[$file] = $file;
            }
        }
@@ -118,6 +118,10 @@
      'customer_no' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'UNIQUE',
                                          'errmsg'=> 'customer_no_error_unique',
                                          'allowempty' => 'y'),
                           ),
         'default'   => '',
         'value'      => '',
         'separator'   => '',