X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=b05034d6c0a72f9085afd79155fdcdcea5aaa1cd;hb=4e5020660b07f30b7bf3ccc0a2ca664a19a21c0d;hp=ec009de3948b5ae795fcf0f3fe311ba55466fd82;hpb=357b2ca133fc1f89db74097955c366cb4bee6996;p=mailer.git diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php index ec009de394..b05034d6c0 100644 --- a/inc/modules/member/what-themes.php +++ b/inc/modules/member/what-themes.php @@ -1,7 +1,7 @@ $unix) { - $default = ""; - if (get_session('mxchange_theme') == $unix) $default = " checked selected"; + $default = ''; + if (getCurrentTheme() == $unix) $default = ' selected="selected"'; // Add row - $OUT .= " - - - - ".$THEMES['theme_name'][$key]." - - ".$THEMES['theme_author'][$key]." - - - ".$THEMES['theme_url'][$key]." - - v".$THEMES['theme_ver'][$key]." -\n"; + $OUT .= " + + + + ".$THEMES['theme_name'][$key]." + + ".$THEMES['theme_author'][$key]." + + + ".$THEMES['theme_url'][$key]." + + v".$THEMES['theme_ver'][$key]." +\n"; $SW = 3 - $SW; -} +} // END - foreach if (empty($OUT)) { - // No themes found??? - $OUT = " - - ".LOAD_TEMPLATE("admin_settings_saved", true, MEMBER_NO_THEMES_FOUND)." - -\n"; -} -define('__THEME_LIST', $OUT); + // No themes found??? + $OUT = " + + ".loadTemplate('admin_settings_saved', true, getMessage('MEMBER_NO_THEMES_FOUND'))." + +\n"; +} // END - if // Load template -LOAD_TEMPLATE("member_themes"); +loadTemplate('member_themes', false, $OUT); -// +// [EOF] ?>