X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Ftheme_functions.php;h=a39bdff3a81aa7d0332a7545cec06f6a34cc06b7;hp=31ec274cca32e60bd48b8738b12f12416b06f066;hb=3608f72d51e8126720024704398cf738e61f890b;hpb=27f65d023a3388a8bd85be8ee5991f776f541847 diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 31ec274cca..a39bdff3a8 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -68,9 +68,9 @@ function THEME_SELECTION_BOX($mod, $act, $wht, $result) { // Construct selection form for the box template $OUT = ""; foreach ($THEMES['theme_unix'] as $key => $theme) { - $OUT .= " \n"; } // END - foreach // Return generated selection @@ -205,7 +205,7 @@ if ((!empty($_POST['new_theme'])) && ($_POST['new_theme'] != $currTheme)) { $newTheme = $_POST['new_theme']; // Change to new theme - set_session("mxchange_theme", $newTheme); + set_session('mxchange_theme', $newTheme); // Remove current from array and set new $theme = sprintf("%stheme/%s/theme.php", PATH, $currTheme);