* *
* -------------------------------------------------------------------- *
* File : action-themes.php *
* *
* -------------------------------------------------------------------- *
* File : action-themes.php *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
-} // END - if
-
-// Add description as navigation point
-addMenuDescription('guest', __FILE__);
+} elseif (!isBlockModeEnabled()) {
+ // Non-block mode detected
+ return;
+}
// Load all themes for admin
$num_themes = countSumTotalData('', 'themes', 'id', '', true);
// Load all themes for admin
$num_themes = countSumTotalData('', 'themes', 'id', '', true);
// If there's only one just output it's name
$OUT = loadTemplate('theme_one', true, getCurrentThemeName());
} elseif (isAdmin()) {
// If there is no theme installed and there's an admin notify him!
// If there's only one just output it's name
$OUT = loadTemplate('theme_one', true, getCurrentThemeName());
} elseif (isAdmin()) {
// If there is no theme installed and there's an admin notify him!