X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=0ffe52a4e951cf27ed28d8941dd54cfcb218eac5;hb=76b1b077bda73310c536f658d3a9bb5e12232f39;hp=7d027cb34ccc284f360a1b23c352cd8353b6c7db;hpb=97eb53f4fdcc3f433dea23d09efde744d52a3740;p=mailer.git diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php index 7d027cb34c..0ffe52a4e9 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 = " 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] ?>