X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_check.php;h=eaaed34d57739f7f0a8e0e09abb77662d5e54876;hp=afd5d4e892183c3b7aa1e117237117de35fddbc5;hb=aa63aed07428a99ea09002c8d072990677700080;hpb=414570c5081d337bb6c28dcf521bd8bca02f69e7 diff --git a/inc/modules/admin/what-theme_check.php b/inc/modules/admin/what-theme_check.php index afd5d4e892..eaaed34d57 100644 --- a/inc/modules/admin/what-theme_check.php +++ b/inc/modules/admin/what-theme_check.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Erweiterungen-Management * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * @@ -38,12 +38,12 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!IS_ADMIN())) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } // 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"; @@ -67,7 +67,7 @@ if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) { // 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")) { @@ -95,7 +95,7 @@ if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) { // Trim every data line foreach ($LANG_DUMMY as $k => $v) { $v = trim($v); - if (substr($v, 3) == "") $v = "---"; + if (substr($v, 3) == "") $v = '---'; $LANG_DUMMY[$k] = $v; if ($v == "xx:xx") break; $LANG[] = $v; @@ -118,7 +118,7 @@ if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) { 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"; @@ -152,7 +152,7 @@ if (($response[count($response) - 1] == "[EOF]") && ($response[0] != "[EOF]")) { } } 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')); } //