]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/theme_functions.php
Further rewrites due to deprecated functions in 5.3.1
[mailer.git] / inc / libs / theme_functions.php
index 9d97d505c302a67c1daaf87fe5d906d79f121f1f..a1b563054a0e02599f65d9848e68bdfe9ea7aa26 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Create a selection box with installed and activated themes or all if admin
 function generateThemeSelectionBox () {
@@ -49,9 +49,9 @@ function generateThemeSelectionBox () {
        $mod = getModule();
 
        // Construction URL
-       $formAction = "{%url=modules.php?module=" . $mod;
-       if (!empty($what)) $formAction .= "&what=" . $what;
-       $formAction = '%}';
+       $formAction = '{%url=modules.php?module='. $mod;
+       if (!empty($what)) $formAction .= '&what=' . $what;
+       $formAction .= '%}';
 
        // Initialize array
        $themesArray = array(