mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
fixed old theme support when css-dir is empty
This commit is contained in:
parent
719ebac10c
commit
bae60c5128
@ -644,7 +644,7 @@
|
|||||||
/*!
|
/*!
|
||||||
@function list_themes
|
@function list_themes
|
||||||
@abstract list themes available
|
@abstract list themes available
|
||||||
@note themes can either be css file like in HEAD (if the template has a css-dir) \
|
@note themes can either be css file like in HEAD (if the template has a css-dir and has css-files in is) \
|
||||||
or ordinary .14 themes-files
|
or ordinary .14 themes-files
|
||||||
*/
|
*/
|
||||||
function list_themes()
|
function list_themes()
|
||||||
@ -661,7 +661,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
if(!is_array($list))
|
||||||
{
|
{
|
||||||
$dh = opendir(PHPGW_SERVER_ROOT . '/phpgwapi/themes');
|
$dh = opendir(PHPGW_SERVER_ROOT . '/phpgwapi/themes');
|
||||||
while ($file = readdir($dh))
|
while ($file = readdir($dh))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user