mailer project continued:
[mailer.git] / inc / modules / guest / action-themes.php
index 1d7b578dfe84bf5cb15f9ad22d01f45da7693de0..c35eaacc6025e508aaf81804a19135fea1fb136c 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 (!isBlockModeEnabled()) {
        // Non-block mode detected
        return;
@@ -57,7 +57,10 @@ if (isAdmin()) {
        $num_themes = countSumTotalData('Y', 'themes', 'id', 'theme_active', true);
 }
 
+// Default is no box
 $OUT = '';
+
+// Choose from it
 if ($num_themes > 1) {
        // If more than 1 is installed output selection box
        $OUT = generateThemeSelectionBox();