Fixed: FS#1121 - Theme selector in client settings does not work.
| | |
| | | } |
| | | } |
| | | |
| | | //* Load themes |
| | | $themes_list = array(); |
| | | $handle = @opendir(ISPC_THEMES_PATH); |
| | | while ($file = @readdir ($handle)) { |
| | | if (substr($file, 0, 1) != '.') { |
| | | if(@is_dir(ISPC_THEMES_PATH."/$file")) { |
| | | $themes_list[$file] = $file; |
| | | } |
| | | } |
| | | } |
| | | |
| | | $form["tabs"]['address'] = array ( |
| | | 'title' => "Address", |
| | | 'width' => 100, |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'SELECT', |
| | | 'default' => 'default', |
| | | 'value' => array('default' => 'default'), |
| | | 'value' => $themes_list, |
| | | 'separator' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255', |