X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=7acdd77a431451b3177059d5629a010d6977a9f0;hb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;hp=2e009be6e0f8d6c3ba9ac8da710bb7a22dd937b1;hpb=6e291558a518bbf0aacd6f698d97faf57ba0aaa5;p=mailer.git
diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php
index 2e009be6e0..7acdd77a43 100644
--- a/inc/modules/member/what-themes.php
+++ b/inc/modules/member/what-themes.php
@@ -1,6 +1,6 @@
$unix) {
$default = '';
- if (get_session('mxchange_theme') == $unix) $default = ' selected="selected"';
+ if (getCurrentTheme() == $unix) $default = ' selected="selected"';
// Add row
$OUT .= "
@@ -114,28 +118,27 @@ foreach ($THEMES['theme_unix'] as $key => $unix) {
".$THEMES['theme_name'][$key]." |
- ".$THEMES['theme_author'][$key]."
+ ".$THEMES['theme_author'][$key]."
|
- ".$THEMES['theme_url'][$key]."
+ ".$THEMES['theme_url'][$key]."
|
v".$THEMES['theme_ver'][$key]." |
\n";
$SW = 3 - $SW;
-}
+} // END - foreach
if (empty($OUT)) {
- // No themes found???
+ // No themes found???
$OUT = "
- ".LOAD_TEMPLATE('admin_settings_saved', true, getMessage('MEMBER_NO_THEMES_FOUND'))."
+ ".loadTemplate('admin_settings_saved', true, getMessage('MEMBER_NO_THEMES_FOUND'))."
|
\n";
-}
-define('__THEME_LIST', $OUT);
+} // END - if
// Load template
-LOAD_TEMPLATE("member_themes");
+loadTemplate('member_themes', false, $OUT);
-//
+// [EOF]
?>