return;
}
-// Already loaded?
-if (defined('__THEME_SELECTION_CONTENT')) return false;
-
// Load all active designs (or all if admin)
$whereStatement = ""; $OUT = "";
if (!IS_ADMIN()) $whereStatement = " WHERE theme_active='Y'";
$OUT = LOAD_TEMPLATE("admin_settings_saved", true, "<div class=\"admin_note\">{--ADMIN_NO_THEME_INSTALLED_WARNING--}</div>");
}
-// Remember
-define('__THEME_SELECTION_CONTENT', $OUT);
-
// Free memory
SQL_FREERESULT($result_themes);
// Load final box template
-LOAD_TEMPLATE("theme_select_box");
+LOAD_TEMPLATE("theme_select_box", false, $OUT);
//
?>