Esempio n. 1
0
# Start the 'userInfo' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spHeadControlBar', 'userInfo');
# Output the admin queue and links if the admin bar plugin is activated
# ----------------------------------------------------------------------
if (function_exists('sp_AdminQueue')) {
    sp_SectionStart('tagClass=spAdminBar', 'adminBar');
    sp_AdminLinks('tagClass=spRight spButton', __sp('Admin Links'), __sp('Select an admin page'));
    sp_AdminQueue('tagClass=spLeft&buttonClass=spLeft spButton&countClass=spLeft spButtonAsLabel', __sp('View New Posts'), __sp('Unread: '), __sp('Need Moderation: '), __sp('Spam: '), __sp('Open/Close the Admin Postbag'));
    sp_SectionEnd('tagClass=spClear', 'adminBar');
}
sp_SectionStart('tagClass=spHeadOne', 'headOne');
sp_UserAvatar('tagClass=spImg spRight');
sp_SectionStart('tagClass=holder spRight', 'holder');
sp_LogInOutButton('tagClass=spLogLabelSmall spRight&logInIcon=&logOutIcon=', __sp('Log In'), __sp('Log Out'), __sp('Log in and log out'));
sp_LoggedInOutLabel('tagClass=spLabelSmall spRight', __sp('Hello <b>%USERNAME%</b>'), __sp('Please consider registering<br />Guest'), __sp('Welcome back %USERNAME%<br />'));
sp_InsertBreak();
#sp_UnreadPostsInfo('tagClass=spLabelSmall spLeft spIcon&popup=0&unreadIcon=&markIcon=', __sp('There are %COUNT% topics with unread posts'), __sp('Most recent topics with unread posts'), __sp('Mark all topics as read'));
sp_MarkReadLink('tagClass=spLabelSmall spRight spLink', '(Clear)', 'Mark all posts as read');
sp_UnreadPostsLink('tagClass=spLabelSmall spRight spLink&popup=0&group=0', __sp('You have %COUNT% topics with unread posts'), __sp('View all unread posts'), __sp('Unread Posts'));
sp_InsertBreak();
sp_MarkForumRead('tagClass=spLabelSmall spRight spLink&markIcon=', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));
sp_SectionEnd('', 'holder');
sp_SectionEnd('', 'headOne');
sp_InsertBreak();
sp_SectionStart('tagClass=spHeadTwo', 'headTwo');
sp_SearchForm($searchForm);
sp_SectionEnd('', 'headTwo');
sp_InsertBreak();
sp_SectionStart('tagClass=spHeadThree', 'headThree');
#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'));
Esempio n. 2
0
# ----------------------------------------------------------------------
sp_InsertBreak();
sp_HeaderBegin();
# Output the admin queue and links if the admin bar plugin is activated
if (function_exists('sp_AdminQueue')) {
    sp_SectionStart('tagClass=spPlainSection', 'adminBar');
    sp_AdminLinks('tagClass=spRight spButton', __sp('Admin Links'), __sp('Select an admin page'));
    sp_AdminQueue('tagClass=spLeft&buttonClass=spLeft spButton&countClass=spLeft spButtonAsLabel', __sp('View New Posts'), __sp('Unread: '), __sp('Need Moderation: '), __sp('Spam: '), __sp('Open/Close the Admin Postbag'));
    sp_SectionEnd('tagClass=spClear', 'adminBar');
}
# Start the 'userInfo' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection', 'userInfo');
sp_UserAvatar('tagClass=spImg spLeft');
sp_SectionStart('tagClass=spPlainSection');
sp_LoggedInOutLabel('tagClass=spLabelSmall spLeft', __sp('Logged in as<br /><b>%USERNAME%</b>'), __sp('Please consider registering<br /><b>guest</b>'), __sp('Welcome back <b>%USERNAME%</b><br />Please log in to post'));
sp_LogInOutButton('tagClass=spButton spRight', __sp('Log In'), __sp('Log Out'), __sp('Log in and log out'));
sp_RegisterButton('tagClass=spButton spRight', __sp('Register'), __sp('Register'));
sp_ProfileEditButton('tagClass=spButton spRight', __sp('Profile'), __sp('Edit your profile'));
if (function_exists('sp_PmInboxButton')) {
    sp_PmInboxButton('tagClass=spButton spRight', __sp('Inbox:'), __sp('Go to PM inbox'));
}
if (function_exists('sp_SubscriptionsReviewButton')) {
    sp_SubscriptionsReviewButton('tagClass=spButton spRight', __sp('Subscribed:'), __sp('Review subscribed topics'));
}
if (function_exists('sp_WatchesReviewButton')) {
    sp_WatchesReviewButton('tagClass=spButton spRight', __sp('Watching:'), __sp('Review watched topics'));
}
sp_MemberButton('tagClass=spButton spRight', __sp('Members'), __sp('View the members list'));
sp_InsertBreak('direction=right');
sp_LastVisitLabel('tagClass=spLabelSmall spRight', __sp('Last visited %LASTVISIT%'));
Esempio n. 3
0
    sp_AdminQueue('tagClass=spLeft&buttonClass=spLeft&countClass=spLeft spButtonAsLabel&icon=', 'View', __sp('New:'), __sp('Need Mod:'), __sp('Spam:'), __sp('Open/Close the Admin Postbag'));
    sp_SectionEnd('tagClass=spClear', 'adminBar');
}
sp_SectionStart('tagClass=spHeadControlBarMobile', 'userInfo');
sp_LoginForm($loginForm);
sp_InsertBreak();
#sp_MarkReadMobile('tagClass=spMarkForumRead spRight&mobileMenu=1', __sp('Mark All Posts Read'), __sp('Please confirm you want to mark all posts read'));
sp_SectionStart('tagClass=spPlainSection', 'search');
sp_SearchForm($searchForm);
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'));