tbrehm
2013-02-26 e5c896fb17570b27f53ac7dd0c500ee40a78e8ff
interface/web/tools/form/tpl_default.tform.php
@@ -113,7 +113,9 @@
while ($file = @readdir ($handle)) { 
    if (substr($file, 0, 1) != '.') {
        if(@is_dir(ISPC_THEMES_PATH."/$file")) {
         $themes_list[$file] = $file;
         if($file == 'default' || (@file_exists(ISPC_THEMES_PATH."/$file/ISPC_VERSION") && trim(@file_get_contents(ISPC_THEMES_PATH."/$file/ISPC_VERSION")) == ISPC_APP_VERSION)) {
                $themes_list[$file] = $file;
            }
        }
   }
}