]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_edit.php
A little better SQL, but still does not calculate correctly
[mailer.git] / inc / modules / admin / what-theme_edit.php
index 760181af57b5c2f93fade5f700d3ddcdcbf5e517..74f24c839024e7f870efc6bcda65947a66663092 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -80,7 +80,7 @@ if (ifPostContainsSelections()) {
        $postData['default_theme'] = getRequestElement('default_theme');
 
        // Set session
-       setTheme($postData['default_theme']);
+       setMailerTheme($postData['default_theme']);
 
        // Set it in config and current theme as well
        setConfigEntry('default_theme', $postData['default_theme']);
@@ -127,7 +127,7 @@ if (!SQL_HASZERONUMS($result)) {
                $content['email'] = '<a href="mailto:' . $GLOBALS['theme_data']['email'] . '?Subject=[Theme:] ' . $GLOBALS['theme_data']['name'] . ' (' . $content['theme_path'] . ')\>' . $GLOBALS['theme_data']['author'] . '</a>';
 
                // Load row template and switch color
-               $OUT .= loadTemplate('admin_edit_theme_row', true, $content);
+               $OUT .= loadTemplate('admin_edit_theme_row', TRUE, $content);
        } // END - while
 
        // Free memory
@@ -136,13 +136,13 @@ if (!SQL_HASZERONUMS($result)) {
        // No themes found???
        $OUT .= '<tr>
   <td colspan="7" class="bottom" height="60">
-    ' . displayMessage('{--ADMIN_NO_THEMES_FOUND--}', true) . '
+    ' . displayMessage('{--ADMIN_NO_THEMES_FOUND--}', TRUE) . '
   </td>
 </tr>';
 }
 
 // Load template
-loadTemplate('admin_edit_theme', false, $OUT);
+loadTemplate('admin_edit_theme', FALSE, $OUT);
 
 // [EOF]
 ?>