]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-themes.php
mailer project continued:
[mailer.git] / inc / modules / member / action-themes.php
index 3a97042cd01827e1165a2ee1967630a5ff78f5f7..1c0f1f7d1c4f2fc21735761ef41471fa6edfc978 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 *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (!isMember()) {
        redirectToIndexMemberOnlyModule();
 } elseif (!isBlockModeEnabled()) {
@@ -59,6 +59,10 @@ if (isAdmin()) {
        $num_themes = countSumTotalData('', 'themes', 'id', '', true);
 }
 
+// Default is no box
+$OUT = '';
+
+// Choose from it
 if ($num_themes > 1) {
        // If more than 1 is installed output selection box
        $OUT = generateThemeSelectionBox();