コード例 #1
0
ファイル: spHead.php プロジェクト: brooklyntri/btc-plugins
sp_UserNotices('', __sp('(Remove Notice)'));
sp_SectionEnd('', 'userInfo');
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection', 'search');
sp_QuickLinksForum('tagClass=spControl spSelect spRight', __sp('Select Forum'));
sp_QuickLinksTopic('tagClass=spControl spSelect spRight', __sp('New/Recently Updated Topics'));
sp_SearchForm($searchForm);
sp_SectionEnd('', 'search');
sp_InsertBreak();
# Start the 'breadCrumbs' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spLeft', 'breadCrumbs');
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));
sp_SectionEnd('', 'breadCrumbs');
# Start the 'pageTopStatus' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spRight', 'pageTopStatus');
sp_GoToBottom('tagClass=spGoToBottom spRight&iconClass=spIcon', '', __sp('Go to Bottom'));
sp_UnreadPostsInfo('tagClass=spRight spUnreadPostsInfo&spanClass=spLeft&iconClass=spLeft spIcon', __sp('%COUNT% topics with<br />unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));
if (function_exists('sp_RankInfo')) {
    sp_RankInfo('tagClass=spButton spRight', '', __sp('Display Forum Ranks Information'));
}
sp_SectionEnd('', 'pageTopStatus');
sp_InsertBreak();
sp_SectionStart('tagClass=spPlainSection');
sp_ForumLockdown('tagClass=spMessage', __sp('The forums are currently locked and only available for read only access'));
sp_SectionEnd();
sp_InsertBreak();
# Mandatory call to sp_HeaderEnd() - available to custom code
# ----------------------------------------------------------------------
sp_HeaderEnd();
コード例 #2
0
ファイル: spHeadMobile.php プロジェクト: bself/nuimage-wp
sp_SectionEnd('', 'search');
sp_InsertBreak();
# Start the 'userInfo' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spAvatarSectionMobile');
sp_UserAvatar('tagClass=spImg spRight');
sp_LoggedInOutLabel('tagClass=spLabelSmall spRight', __sp('Logged in as<br /><b>%USERNAME%</b>'), __sp('Guest<br />Not logged in'), __sp('<b>%USERNAME%</b><br />Please log in'));
#sp_LastVisitLabel('tagClass=spLabelSmall spLeft', __sp('Last visited<br /> %LASTVISIT%'));
sp_InsertBreak('spacer=5px');
sp_SectionEnd('tagClass=spClear');
sp_UserNotices('', __sp('(Remove Notice)'));
sp_MobileMenuStart('tagId=spHeadActions&tagClass=spHeadActions spLeft', __sp('Forum Menu'));
sp_LogInOutButton('tagClass=spControl&mobileMenu=1', __sp('Log In'), __sp('Log Out'));
sp_RegisterButton('tagClass=spControl&mobileMenu=1', __sp('Register'));
#sp_MarkForumRead('tagClass=spMarkForumRead spRight&mobileMenu=1', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));
sp_UnreadPostsInfo('tagClass=spUnreadPostsInfo&mobileMenu=1', __sp('Unread (%COUNT%)'), '', __sp('Mark all read'));
if (function_exists('sp_PmInboxButton')) {
    sp_PmInboxButton('tagClass=spControl&mobileMenu=1', __sp('PM Inbox:'), __sp('Go to PM inbox'));
}
sp_MobileMenuSearch('tagClass=spControl', __sp('Search Forums'));
sp_ProfileEditButton('tagClass=spControl&mobileMenu=1', __sp('Your Profile'));
sp_MemberButton('tagClass=spControl&mobileMenu=1', __sp('Member List'));
if (function_exists('sp_SubscriptionsReviewButton')) {
    sp_SubscriptionsReviewButton('tagClass=spControl&mobileMenu=1', __sp('Subscriptions (%COUNT%)'), __sp('Review subscribed topics'));
}
if (function_exists('sp_WatchesReviewButton')) {
    sp_WatchesReviewButton('tagClass=spControl&mobileMenu=1', __sp('Watches (%COUNT%)'), __sp('Review watched topics'));
}
if (function_exists('sp_RankInfo')) {
    sp_RankInfo('tagClass=spControl&mobileMenu=1', 'Ranks Information', __sp('Display Forum Ranks Information'));
}