}
// Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
// Normally we want the overview of all registered theme_check
$mode = "overview";
// Get count of theme_check for validation
$count = trim($response[count($response) - 2]);
foreach ($response as $idx => $value) {
- $value = str_replace("\n", "", $value); $ver = "";
+ $value = str_replace("\n", '', $value); $ver = '';
// Leave loop when data is invalid or EOF?
if ((substr($value, 0, 6) == "theme-") && (substr($value, -4) == ".zip")) {
array_pk_sort($THEMES, array("cver", "fname"), 0, 1);
// Extensions where found which are not downloaded and installed
- $OUT = ""; $SW = 2; $TSIZE = 0;
+ $OUT = ''; $SW = 2; $TSIZE = 0;
foreach ($THEMES['fname'] as $idx => $name) {
// Generate download link
$LINK = SERVER_URL."/themes/theme-".$name.".zip";
}
} else {
// No theme where found
- LOAD_TEMPLATE("admin_settings_saved", false, getMessage('ADMIN_THEME_NOTHING_FOUND'));
+ LOAD_TEMPLATE('admin_settings_saved', false, getMessage('ADMIN_THEME_NOTHING_FOUND'));
}
//