]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/theme_functions.php
Some typos fixed
[mailer.git] / inc / libs / theme_functions.php
index 31ec274cca32e60bd48b8738b12f12416b06f066..a39bdff3a81aa7d0332a7545cec06f6a34cc06b7 100644 (file)
@@ -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 .= "  <OPTION value=\"".$theme."\"";
+               $OUT .= "  <option value=\"".$theme."\"";
                if ($theme == GET_CURR_THEME()) $OUT .= " selected=\"selected\"";
-               $OUT .= ">".$THEMES['theme_name'][$key]."</OPTION>\n";
+               $OUT .= ">".$THEMES['theme_name'][$key]."</option>\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);