forked from extern/egroupware
Now only list files named *.theme
This commit is contained in:
parent
d3dc289015
commit
ca5af4b7fc
@ -31,7 +31,8 @@
|
||||
|
||||
$dh = opendir($phpgw_info["server"]["server_root"] . "/themes");
|
||||
while ($file = readdir($dh)) {
|
||||
if ($file != "." && $file != ".." && $file != "CVS") {
|
||||
# if ($file != "." && $file != ".." && $file != "CVS") {
|
||||
if ( eregi( "\.theme$", $file ) ) {
|
||||
$installed_themes[] = substr($file,0,strpos($file,"."));
|
||||
}
|
||||
}
|
||||
@ -48,4 +49,6 @@
|
||||
. $installed_themes[$i]) . "\">" . $installed_themes[$i] . "</a>\n";
|
||||
}
|
||||
|
||||
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
||||
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user