Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
b103e5cb
Commit
b103e5cb
authored
Mar 21, 2010
by
tbrehm
Browse files
Fixed: FS#1121 - Theme selector in client settings does not work.
parent
4be98656
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/client/form/client.tform.php
View file @
b103e5cb
...
...
@@ -62,6 +62,17 @@ while ($file = @readdir ($handle)) {
}
}
//* 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
,
...
...
@@ -143,7 +154,7 @@ $form["tabs"]['address'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'default'
,
'value'
=>
array
(
'default'
=>
'default'
)
,
'value'
=>
$themes_list
,
'separator'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment