We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be9865 commit b103e5cCopy full SHA for b103e5c
interface/web/client/form/client.tform.php
@@ -62,6 +62,17 @@
62
}
63
64
65
+//* Load themes
66
+$themes_list = array();
67
+$handle = @opendir(ISPC_THEMES_PATH);
68
+while ($file = @readdir ($handle)) {
69
+ if (substr($file, 0, 1) != '.') {
70
+ if(@is_dir(ISPC_THEMES_PATH."/$file")) {
71
+ $themes_list[$file] = $file;
72
+ }
73
74
+}
75
+
76
$form["tabs"]['address'] = array (
77
'title' => "Address",
78
'width' => 100,
@@ -143,7 +154,7 @@
143
154
'datatype' => 'VARCHAR',
144
155
'formtype' => 'SELECT',
145
156
'default' => 'default',
146
- 'value' => array('default' => 'default'),
157
+ 'value' => $themes_list,
147
158
'separator' => '',
148
159
'width' => '30',
149
160
'maxlength' => '255',
0 commit comments