X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=b05034d6c0a72f9085afd79155fdcdcea5aaa1cd;hb=9f5f55cd28eebd7b389c13f7c3be500ff43d0a28;hp=45194c5b2fae095abc0010cebb8ed172b7983de2;hpb=885637e9f61f315ba051500061ec193ebc937f7b;p=mailer.git
diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php
index 45194c5b2f..b05034d6c0 100644
--- a/inc/modules/member/what-themes.php
+++ b/inc/modules/member/what-themes.php
@@ -1,7 +1,7 @@
$unix) {
$default = '';
- if (getSession('mxchange_theme') == $unix) $default = ' selected="selected"';
+ if (getCurrentTheme() == $unix) $default = ' selected="selected"';
// Add row
$OUT .= "
-
+ |
|
- ".$THEMES['theme_name'][$key]." |
-
+ | ".$THEMES['theme_name'][$key]." |
+
".$THEMES['theme_author'][$key]."
|
-
- ".$THEMES['theme_url'][$key]."
+ |
+ ".$THEMES['theme_url'][$key]."
|
- v".$THEMES['theme_ver'][$key]." |
+ v".$THEMES['theme_ver'][$key]." |
\n";
$SW = 3 - $SW;
} // END - foreach
@@ -130,15 +132,14 @@ foreach ($THEMES['theme_unix'] as $key => $unix) {
if (empty($OUT)) {
// 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";
} // END - if
-define('__THEME_LIST', $OUT);
// Load template
-LOAD_TEMPLATE("member_themes");
+loadTemplate('member_themes', false, $OUT);
-//
+// [EOF]
?>