Zeile 131 | Zeile 131 |
---|
// Cookied theme! else if(!$mybb->user['uid'] && !empty($mybb->cookies['mybbtheme'])) {
|
// Cookied theme! else if(!$mybb->user['uid'] && !empty($mybb->cookies['mybbtheme'])) {
|
$mybb->user['style'] = $mybb->cookies['mybbtheme'];
| $mybb->user['style'] = (int)$mybb->cookies['mybbtheme'];
|
}
// This user has a custom theme set in their profile
| }
// This user has a custom theme set in their profile
|
Zeile 413 | Zeile 413 |
---|
}
$templatelist .= "headerinclude,header,footer,gobutton,htmldoctype,header_welcomeblock_member,header_welcomeblock_guest,header_welcomeblock_member_admin,global_pm_alert,global_unreadreports,error,footer_languageselect_option,footer_contactus";
|
}
$templatelist .= "headerinclude,header,footer,gobutton,htmldoctype,header_welcomeblock_member,header_welcomeblock_guest,header_welcomeblock_member_admin,global_pm_alert,global_unreadreports,error,footer_languageselect_option,footer_contactus";
|
$templatelist .= ",global_pending_joinrequests,nav,nav_sep,nav_bit,nav_sep_active,nav_bit_active,footer_languageselect,footer_themeselect,header_welcomeblock_member_moderator,redirect,header_menu_calendar,nav_dropdown,footer_themeselector,task_image";
| $templatelist .= ",global_pending_joinrequests,global_awaiting_activation,nav,nav_sep,nav_bit,nav_sep_active,nav_bit_active,footer_languageselect,footer_themeselect,header_welcomeblock_member_moderator,redirect,header_menu_calendar,nav_dropdown,footer_themeselector,task_image";
|
$templatelist .= ",global_boardclosed_warning,global_bannedwarning,error_inline,error_nopermission_loggedin,error_nopermission,debug_summary,header_quicksearch,header_menu_search,header_menu_portal,header_menu_memberlist,usercp_themeselector_option,smilie"; $templates->cache($db->escape_string($templatelist));
| $templatelist .= ",global_boardclosed_warning,global_bannedwarning,error_inline,error_nopermission_loggedin,error_nopermission,debug_summary,header_quicksearch,header_menu_search,header_menu_portal,header_menu_memberlist,usercp_themeselector_option,smilie"; $templates->cache($db->escape_string($templatelist));
|