本文整理汇总了PHP中sp_ColumnStart函数的典型用法代码示例。如果您正苦于以下问题:PHP sp_ColumnStart函数的具体用法?PHP sp_ColumnStart怎么用?PHP sp_ColumnStart使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sp_ColumnStart函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sp_PostIndexSendPm
if (function_exists('sp_PostIndexSendPm')) {
sp_PostIndexSendPm('tagClass=spButton spRight', __sp('PM'), __sp('Send PM to this user'));
}
if (function_exists('sp_thanks_thank_the_post')) {
sp_thanks_thank_the_post('tagClass=spButton spRight', __sp('Thank'), __sp('Thanked'), __sp('Add thanks to this post'), __sp('You have already thanked this post'));
}
sp_SectionEnd('', 'action');
sp_InsertBreak();
sp_SectionStart('tagClass=spPostContentSection', 'content');
sp_PostIndexContent('', __sp('Awaiting Moderation'));
sp_SectionEnd('', 'content');
sp_InsertBreak();
# Add Share This and/or Answers Topic to bottom of post content
# ----------------------------------------------------------------------
if (function_exists('sp_ShareThisTopicIndexTag') || function_exists('sp_AnswersTopicAnswer') || function_exists('sp_thanks_thanks_for_post')) {
sp_ColumnStart('tagClass=spPluginSection spCenter&width=100%&height=40px');
if (function_exists('sp_ShareThisTopicIndexTag')) {
sp_ShareThisTopicIndexTag('tagClass=ShareThisTopicIndex spLeft');
}
if (function_exists('sp_AnswersTopicAnswer')) {
if ($spThisPost->post_index == 1) {
sp_AnswersTopicSeeAnswer('tagClass=spAnswersTopicSeeAnswer spButton spRight', __sp('See Answer'), __sp('Go to the post marked as the answer'));
}
sp_AnswersTopicAnswer('tagClass=spRight', __sp('Answers Post'), __sp('This post answers the topic'));
sp_AnswersTopicPostIndexAnswer('tagClass=spButton spRight', __sp('Mark as Answer'), __sp('Mark this post as topic answer'), __sp('Unmark as Answer'), __sp('Unmark this post as topic answer'));
}
sp_ColumnEnd();
if (function_exists('sp_thanks_thanks_for_post')) {
sp_InsertBreak();
sp_thanks_thanks_for_post();
}
示例2: sp_ListViewHead
sp_ListViewHead();
# Start the List Loop
# ----------------------------------------------------------------------
if (sp_has_list()) {
while (sp_loop_list()) {
sp_the_list();
# Start the 'list' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list');
sp_ListForumName('', __sp('Browse topics in %NAME%'));
sp_InsertBreak();
sp_ListViewBodyStart();
sp_ColumnStart('tagClass=spColumnSection spRight&width=15%&height=20px');
sp_ListNewPostButton('tagClass=spButton spRight', __sp('New: %COUNT%'), __sp('View the first new post in this topic'));
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&width=7%&height=20px');
sp_ListTopicIcon();
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&width=74%&height=20px');
sp_ListTopicName('', __sp('Browse the thread %NAME%'));
sp_ListLastPost('iconClass=spIcon spLeft&height=0px', __sp('Last Post'));
sp_ColumnEnd();
sp_ListViewBodyEnd();
sp_InsertBreak();
sp_SectionEnd('', 'list');
}
} else {
sp_NoTopicsInListMessage('tagClass=spMessage', __sp('There were no topics found'));
}
sp_ListViewFoot();
sp_SectionEnd('', 'listView');
示例3: sp_InsertBreak
sp_InsertBreak('direction=left');
sp_ForumIndexDescription('tagClass=spRowDescription');
sp_ColumnEnd();
# Column 3 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColGroup3&tagClass=spColumnSection spLeft&width=0&height=0px');
sp_ForumIndexTopicCount('tagClass=spInRowCount spCenter', __sp(''), __sp(''));
sp_ColumnEnd();
# Column 4 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColGroup4&tagClass=spColumnSection spLeft&width=0&height=0px');
sp_ForumIndexLastPost('tagClass=holder spLeft&order=TLDU&nicedate=1&date=0&time=1&stackdate=1&itemBreak= ', __sp(''), __sp('No Topics'));
sp_ColumnEnd();
# Column 5 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColGroup5&tagClass=spColumnSection spRight&width=0&height=0px');
sp_ForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked'));
sp_ForumIndexAddIcon('tagClass=spIcon spRight', __sp('Add new topic in this forum'));
sp_ForumIndexDeniedIcon('tagClass=spIcon spRight', __sp('No permission to start topics'));
sp_ColumnEnd();
sp_SectionEnd('', 'forum');
sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&topicCount=0', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%'));
}
} else {
sp_NoForumsInGroupMessage('tagClass=spMessage', __sp('There are no forums in this group'));
}
sp_SectionEnd('', 'forumList');
sp_SectionEnd('', 'group');
}
} else {
sp_NoGroupMessage('tagClass=spMessage', __sp('The requested group does not exist or you do not have permission to view it'), __sp('No groups have been created yet'));
示例4: sp_ColumnStart
sp_ColumnStart('tagClass=spColumnSection spLeft spOnlineStats&width=40%&height=0');
sp_OnlineStats('tagClass=spLeft', __sp('Most Users Ever Online: '), __sp('Currently Online: '), __sp('Currently Browsing this Page: '), __sp('Guest(s)'));
if (function_exists('sp_OnlinePageLink')) {
sp_OnlinePageLink('', __sp('See All Online Activity'));
}
if (function_exists('sp_ListBirthdays')) {
sp_ListBirthdays('tagClass=spCustomTag&spLeft', __sp('Members Birthdays'), __sp('Today'), __sp('Upcoming'));
}
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spRight spTopPosterStats&width=15%&height=0');
sp_TopPostersStats('tagClass=spRight', __sp('Top Posters: '));
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spRight spMembershipStats&width=20%&height=0');
sp_MembershipStats('tagClass=spRight', __sp('Member Stats: '), __sp('Members: %COUNT%'), __sp('Guest Posters: %COUNT%'), __sp('Moderators: %COUNT%'), __sp('Admins: %COUNT%'));
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spRight spForumStats&width=17%&height=0');
sp_ForumStats('tagClass=spRight', __sp('Forum Stats: '), __sp('Groups: '), __sp('Forums: '), __sp('Topics: '), __sp('Posts: '));
sp_ColumnEnd();
sp_InsertBreak();
sp_NewMembers('tagClass=spLeft spNewMembers', __sp('Newest Members: '));
sp_InsertBreak();
sp_ModsList('tagClass=spLeft spModerators', __sp('Moderators: '));
sp_InsertBreak();
sp_AdminsList('tagClass=spLeft spAdministrators', __sp('Administrators: '));
sp_SectionEnd('tagClass=spClear', 'stats');
if (function_exists('sp_UserSelectOptions')) {
sp_UserSelectOptions('tagClass=spCenter spLabelSmall', __sp('Theme:'), __sp('Language:'));
}
sp_InsertBreak();
# Start the 'about' section
# ----------------------------------------------------------------------
示例5: sp_SectionEnd
sp_SectionEnd('', 'catlabels');
# Start the List Loop
# ----------------------------------------------------------------------
if (sp_has_list()) {
while (sp_loop_list()) {
sp_the_list();
# Start the 'list' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list');
sp_ListViewBodyStart();
sp_ColumnStart('tagClass=spColumnSection spLeft&width=35%&height=0');
sp_ListTopicName('', __sp('Go to %NAME%'));
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&width=35%&height=0');
sp_ListForumName('', __sp('Browse topics in %NAME%'), __sp('New and Unread Posts'));
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&width=15%&height=0');
sp_ListLastPost('iconClass=spIcon spLeft&break=1&icon=sp_goNewPost.png&labelLink=1', __sp(''));
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&width=7%&height=0');
sp_ListNewPostButton('tagClass=spButton&icon=""&spLeft', __sp('%COUNT% New'), __sp('View the first new post in this topic'));
sp_ColumnEnd();
sp_ListViewBodyEnd();
sp_InsertBreak();
sp_SectionEnd('', 'list');
}
} else {
sp_NoTopicsInListMessage('tagClass=spMessage', __sp('There were no topics found'));
}
sp_ListViewFoot();
sp_SectionEnd('', 'listView');
示例6: sp_ColumnEnd
</div><?php
sp_ColumnEnd();
# Column 4 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColForum4&tagClass=spColumnSection spLeft&height=0px');
sp_TopicIndexLastPost('tagClass=holder spLeft&nicedate=1&date=0&time=0&stackuser=0&stackdate=0&beforeUser=&labelLink=1&icon=sp_goNewPost.png', __sp(''));
sp_InsertBreak();
sp_TopicIndexStatusIcons('tagClass=spStatusIcon', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts'));
sp_InsertBreak();
sp_ColumnEnd();
# Column 3 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spRight&width=0&height=0px');
sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=&before= &after= ', __sp(''), __sp(''));
sp_ColumnEnd();
sp_ColumnStart('tagId=spColForum3&tagClass=spColumnCount spRight&width=0&height=0px');
sp_TopicIndexReplyCount('tagClass=spRowDescriptionBold spLeft&labelClass=spPostsLabel&numberClass=&', __sp(''), __sp(''));
sp_ColumnEnd();
sp_InsertBreak();
sp_SectionEnd('', 'topic');
?>
</div><?php
}
} else {
sp_NoTopicsInForumMessage('tagClass=spMessage', __sp('There are no topics in this forum'));
}
sp_SectionEnd('', 'topiclist');
sp_SectionEnd('', 'forum');
# Start the bottom 'pagelinks' section
sp_SectionStart('tagClass=spPageLinksBottomSection', 'pageLinks');
sp_TopicIndexPageLinks('tagClass=spPageLinksBottom spRight&prevIcon=&nextIcon=&showEmpty=0', __sp(''), __sp('Jump to page %PAGE%'), __sp('Jump to page'));
示例7: sp_ColumnStart
sp_ColumnStart('tagClass=spColumnSection spRight&width=11%');
sp_MemberListLastVisit('', __sp('Last Visit'));
sp_ColumnEnd();
# Column 4 of the member row - member registered
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColumnSection spRight&width=11%');
sp_MemberListRegistered('', __sp('Registered'));
sp_ColumnEnd();
# Column 3 of the member row - member post count
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColumnSection spRight&width=8%');
sp_MemberListPostCount('', __sp('Posts'));
sp_ColumnEnd();
# Column 2 of the member row - member rank and badge
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColumnSection spRight&width=14%');
sp_MemberListRank('', __sp('Forum Ranks'));
sp_ColumnEnd();
sp_SectionEnd('tagClass=spClear', 'member');
}
} else {
}
sp_SectionEnd('tagClass=spClear', 'memberGroup');
}
# Start the 'pageLinks' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection', 'pageLinks');
sp_MemberListPageLinks('', __sp('Page: '), __sp('Jump to page %PAGE% of members list'));
sp_SectionEnd();
} else {
sp_NoMembersListMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('There were no member lists found'));
示例8: sp_NewPostListAdmin
function sp_NewPostListAdmin($newposts)
{
global $spVars, $spThisUser, $spGlobals, $spDevice;
$alt = '';
$nourl = '';
if ($newposts) {
$index = array();
foreach ($newposts as $newpost) {
$forumid = $newpost['forum_id'];
$index[$forumid] = count($newpost['topics']);
}
# Set up the autoupdate url (for quicklinks refreshing)
$updateUrl = SFHOMEURL . 'index.php?sp_ahah=autoupdate&sfnonce=' . wp_create_nonce('forum-ahah');
# Display section heading
echo '<div class="spAdminQueueHeader">';
echo '<a id="newpoststop"></a>';
$options = sp_get_option('spAdminBar');
if ($spThisUser->admin || $spThisUser->moderator) {
$p = $spDevice == 'mobile' && current_theme_supports('sp-theme-responsive') ? SPABIMAGESMOB : SPABIMAGES;
echo '<form class="sfsubhead" action="' . sp_url() . '" method="post" name="removequeue">';
echo '<input type="hidden" name="doqueue" value="1" />';
echo '<p class="spLeft">' . __('New/Unread Posts Management', 'spab') . '</p>';
echo '<a class="spButton spRight" href="javascript:document.removequeue.submit();">' . sp_paint_icon('', $p, "sp_markRead.png") . __('Empty the Admin Postbag', 'spab') . '</a>';
echo '</form>';
$removal = true;
$canremove = '1';
}
echo '</div>';
# Start actual listing display
echo '<div class="spInlineSection spMessageSuccess" id="spAdminQueueMsg"></div>';
# Display new posts heading
sp_SectionStart('tagClass=spAdminQueueSection', 'AdminQueue');
echo '<p style="text-align:center" class="spAdminBarTitle">' . __('Forums and Topics', 'spab') . '</p>';
# Start with main forum header
foreach ($newposts as $newpost) {
# Display forum name
echo '<div id="spAdminQueueForum' . $newpost['forum_id'] . '" class="spAdminQueueForum">';
sp_ColumnStart('tagClass=spColumnSection spLeft&height=30px&width=9%');
$icon = !empty($newpost['forum_icon']) ? sp_paint_custom_icon('spRopwIcon', SFCUSTOMURL . $newpost['forum_icon']) : sp_paint_icon('spTowIcon', SPTHEMEICONSURL, 'sp_ForumIcon.png');
echo $icon;
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&height=30px&width=90%');
echo '<p class="spAdminForum">';
echo '<a class="spRowName" href="' . sp_build_url($newpost['forum_slug'], '', 1, 0) . '">Forum: ' . $newpost['forum_name'] . '</a>';
echo '</p>';
echo '<input type="hidden" id="tcount' . $newpost['forum_id'] . '" value="' . $index[$newpost['forum_id']] . '" />';
sp_ColumnEnd();
echo '<div class="spClear"></div>';
echo '</div>';
# Now for each topic with new posts
foreach ($newpost['topics'] as $topic) {
$postcountmod = 0;
$postcountord = 0;
# a quick first pass to load the post count variables and check for spam
$is_spam = false;
foreach ($topic['posts'] as $post) {
if ($post['post_status'] != 0 ? $postcountmod++ : $postcountord++) {
}
if ($post['post_status'] == 2) {
$is_spam = true;
}
$lastpost_id = $post['post_id'];
}
# Display topics in forum
$class = $postcountmod ? 'spSubmit spModButton' : 'spSubmit spUnreadButton';
echo '<div id="spAdminQueueTopic' . $topic['topic_id'] . '" class="spAdminQueueTopic">';
sp_ColumnStart('tagClass=spColumnSection spLeft&height=30px&width=10%');
echo "<input type='button' name='openicon" . $topic['topic_id'] . "' class='" . $class . "' value='";
echo esc_attr(__('View', 'spab'));
if ($is_spam) {
echo "\n" . esc_attr(__('Spam', 'spab'));
}
echo "' onclick='spjToggleLayer(\"spAdminQueueThisTopic" . $topic['topic_id'] . "\");' />";
echo '<input type="hidden" id="pcount' . $topic['topic_id'] . '" value="' . $topic['post_count'] . '" />';
echo '<input type="hidden" id="pcountmod' . $topic['topic_id'] . '" value="' . $postcountmod . '" />';
echo '<input type="hidden" id="pcountord' . $topic['topic_id'] . '" value="' . $postcountord . '" />';
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spLeft&height=30px&width=90%');
echo '<p>' . sp_get_topic_newpost_url($newpost['forum_slug'], $topic['topic_slug'], $topic['topic_name'], $lastpost_id, $post['post_index']) . '</p>';
$nourl = '';
if ($topic['post_count'] == 1) {
$note = __('There is 1 new post in this topic', 'spab');
} else {
$note = sprintf(__('There are %s new posts in this topic', 'spab'), $topic['post_count']);
}
echo '<p class="spLabelSmall">' . $note . '</p>';
sp_ColumnEnd();
echo '<div class="spClear"></div>';
echo '</div>';
# Start display of post information
echo '<div id="spAdminQueuePost' . $topic['topic_id'] . '" class="spAdminQueuePost">';
echo '<div id="spAdminQueueThisTopic' . $topic['topic_id'] . '" class="spPostSection spInlineSection">';
echo '<p style="text-align:center" class="spAdminBarTitle">' . __('Post Details', 'spab') . '</p>';
$pindex = 0;
$mod_required = false;
# Start the post display loop
foreach ($topic['posts'] as $post) {
$is_spam = false;
if ($pindex > 0) {
echo '<hr>';
//.........这里部分代码省略.........
示例9: sp_ColumnEnd
</div><?php
sp_ColumnEnd();
# Column 3 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColForum3&tagClass=spColumnSection spLeft&height=0px');
sp_TopicIndexLastPost('tagClass=holder spLeft&nicedate=1&date=0&time=0&stackuser=0&stackdate=0&beforeUser=&labelLink=1&icon=sp_goNewPost.png', __sp(''));
sp_InsertBreak();
sp_TopicIndexStatusIcons('tagClass=spStatusIcon', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts'));
sp_InsertBreak();
sp_ColumnEnd();
# Column 4 and 5 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColForum4&tagClass=spColumnCountViews spRight&width=0&height=0px');
sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=&before= &after= ', __sp(''), __sp(''));
sp_ColumnEnd();
sp_ColumnStart('tagId=spColForum5&tagClass=spColumnCountReplies spRight&width=0&height=0px');
sp_TopicIndexReplyCount('tagClass=spRowDescriptionBold spLeft&labelClass=spPostsLabel&numberClass=&', __sp(''), __sp(''));
sp_ColumnEnd();
sp_InsertBreak();
sp_SectionEnd('', 'topic');
?>
</div><?php
}
} else {
sp_NoTopicsInForumMessage('tagClass=spMessage', __sp('There are no topics in this forum'));
}
sp_SectionEnd('', 'topiclist');
sp_SectionEnd('', 'forum');
# Start the bottom 'pagelinks' section
sp_SectionStart('tagClass=spPageLinksBottomSection', 'pageLinks');
sp_TopicIndexPageLinks('tagClass=spPageLinksBottom spRight&prevIcon=&nextIcon=&showEmpty=0', __sp(''), __sp('Jump to page %PAGE%'), __sp('Jump to page'));
示例10: sp_MembershipStats
echo '<p> </p>';
sp_MembershipStats('tagClass=spRight&pGuestsClass=spInlineSection', __sp('Member Stats: '), __sp('Members: %COUNT%'), __sp('Guest Posters: %COUNT%'), __sp('Moderators: %COUNT%'), __sp('Admins: %COUNT%'));
sp_ColumnEnd();
sp_InsertBreak();
#sp_AdminsList('tagClass=spCenter spAdministrators&postCount=0', __sp('Administrators: '));
#sp_ModsList('tagClass=spModerators&postCount=0', __sp('Moderators: '));
sp_InsertBreak();
sp_SectionEnd('', 'statsHolder');
sp_InsertBreak();
sp_ColumnStart('tagClass=spColumnSection spLeft spOnlineStats&height=0');
sp_OnlineStats('tagClass=spLeft', __sp('Most Users Ever Online: '), __sp('Currently Online: '), __sp('Currently Browsing this Page: '), __sp('Guest(s)'));
if (function_exists('sp_OnlinePageLink')) {
sp_OnlinePageLink('tagClass=spLeft', __sp('See All Online Activity'));
}
sp_ColumnEnd();
sp_ColumnStart('tagClass=spColumnSection spRight spBirthdaysHolder&height=0');
if (function_exists('sp_ListBirthdays')) {
sp_ListBirthdays('tagClass=spLeft&icon=', __sp('Members Birthdays'), __sp('Today: '), __sp('Upcoming: '));
}
sp_ColumnEnd();
sp_InsertBreak();
sp_SectionEnd('tagClass=spClear', 'stats');
sp_InsertBreak();
if (function_exists('sp_UserSelectOptions')) {
sp_UserSelectOptions('tagClass=spCenter spLabelSmall', __sp('Style:'), __sp('Language:'));
}
sp_InsertBreak();
# Start the 'about' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spFootInfo spCenter', 'about');
sp_InsertBreak('spacer=20px');
示例11: sp_PmThreadIndexTitle
<div class="spRowHolder"><?php
sp_PmThreadIndexTitle('tagClass=spRowName', __('Subject: ', 'sp-pm'));
sp_PmThreadIndexSender('tagClass=spInRowLabel&spanClass=', __('Last Received: ', 'sp-pm'));
sp_PmThreadIndexDate('tagClass=spInRowLabel&spanClass=', __(' on ', 'sp-pm'));
sp_InsertBreak();
# first message
sp_PmThreadIndexFirstSender('tagClass=spInRowLabel&spanClass=', __('From: ', 'sp-pm'));
sp_PmThreadIndexFirstDate('tagClass=spInRowLabel&spanClass=&nicedate=1', __('- ', 'sp-pm'));
?>
</div><?php
}
sp_ColumnEnd();
echo '</a>';
# Column 3 of the thread row
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColThread3 spColumnSection spRight&height=0');
sp_SectionStart('tagClass=spRight', 'pmThreadMeta');
if ($spDevice != 'mobile') {
sp_PmThreadIndexMessageCount('tagClass=spLabelSmall spRight&spanClass=', __(' Message(s)', 'sp-pm'));
}
sp_InsertBreak('');
sp_SectionEnd('', 'pmThreadMeta');
sp_ColumnEnd();
sp_SectionStart('tagClass=spRight', 'pmThreadActions');
sp_PmThreadIndexDelete('tagClass=spPMDelete&icon=', __('Delete this thread', 'sp-pm'), __('Delete Thread'));
sp_SectionEnd('', 'pmThreadActions');
sp_SectionEnd('tagClass=spClear', 'pmThread');
}
} else {
sp_NoPmThreads('tagClass=spMessage', __('Your inbox is empty', 'sp-pm'), __('You do not have permission to use the PM system', 'sp-pm'), __('You have opted out of the PM system. You can opt back in from your forum profile.', 'sp-pm'));
}
示例12: sp_ColumnStart
sp_ColumnStart('tagClass=spColumnSection spRight&width=12%');
sp_MemberListRegistered('', __sp('Registered'));
sp_ColumnEnd();
# Column 4 of the member row - member last visit
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColumnSection spRight&width=12%');
sp_MemberListLastVisit('', __sp('Last Visit'));
sp_ColumnEnd();
# Column 5 of the member row - member post count
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColumnSection spRight&width=6%');
sp_MemberListPostCount('', __sp('Posts'));
sp_ColumnEnd();
# Column 6 of the member row - member action icons
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spColumnSection spRight&width=25%&height=auto');
sp_MemberListActions('profileIcon=sp_ProfileFormList.png', __sp(''), __sp('View topics member has started'), __sp('View topics member has posted in'));
sp_ColumnEnd();
sp_SectionEnd('tagClass=spClear', 'member');
}
} else {
}
sp_SectionEnd('tagClass=spClear', 'memberGroup');
}
} else {
sp_NoMembersListMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('There were no member lists found'));
}
sp_SectionEnd('', 'memberList');
sp_SectionEnd('', 'body');
# Start the 'pageLinks' section
# ----------------------------------------------------------------------
示例13: sp_ForumIndexTopicCount
sp_ForumIndexTopicCount('tagClass=spInRowCount spLeft', __sp('-'), __sp('Topic'));
sp_InsertBreak('');
sp_SectionEnd('', 'forumHeader');
sp_SectionStart('tagClass=spGroupForumSection', 'forum');
# Column 1 of the forum row
sp_ColumnStart('tagClass=spColumnSection spLeft&width=89%&height=auto');
#sp_ForumIndexName('tagClass=spRowName spLeft', __sp('Browse topics in %NAME%'));
#sp_ForumIndexTopicCount('tagClass=spInRowCount spLeft', __sp('-'), __sp('Topic'));
#sp_InsertBreak('spacer=2px');
#sp_ForumIndexPostCount('tagClass=spInRowCount spLeft',__sp('Posts'), __sp('Post'));
#sp_InsertBreak('spacer=15px');
sp_ForumIndexLastPost('tagClass=holder spLeft&order=TLDU&truncate=40&nicedate=1&date=0&time=1&stackdate=1&itemBreak= ', __sp('Last Post'), __sp('No Topics'));
sp_ColumnEnd();
# Column 2 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagClass=spActionsColumnSection spRight&width=10%&height=55px');
sp_ForumIndexLockIcon('tagClass=spIcon spRight', __sp('This forum is locked'));
sp_InsertBreak();
sp_ForumIndexAddIcon('tagClass=spIcon spRight', __sp('Add new topic in this forum'));
sp_InsertBreak();
#sp_ForumIndexPostsIcon('tagClass=spIcon spRight&popup=0&openIcon=sp_GroupOpenDark.png&closeIcon=sp_GroupCloseDark.png', __sp('This forum has unread posts in %COUNT% topic(s)'));
sp_ColumnEnd();
sp_SectionEnd('', 'forum');
sp_SectionStart('tagClass=spSubForumHolder', 'subForumHolder');
sp_ForumIndexSubForums('stack=0&unreadIcon=sp_SubForumUnreadIcon.png&stack=1&topicCount=0', __sp(''), __sp('Browse topics in %NAME%'));
sp_SectionEnd('', 'subForumHolder');
sp_InsertBreak('spacer=15px');
sp_ForumIndexInlinePosts();
}
} else {
sp_NoForumsInGroupMessage('tagClass=spMessage', __sp('There are no forums in this group'));
示例14: sp_ColumnEnd
sp_ColumnEnd();
# Column 2 of the message row
# ----------------------------------------------------------------------
echo "<a class='' href='javascript:void(null)' onclick='spjToggleLayer(\"PmMessageContent" . $spThisPmMessageList->message_id . "\");' title='" . __('Click to toggle message content viewing', 'sp-pm') . "'>";
sp_ColumnStart('tagId=spColMessage2&tagClass=spColumnSection spLeft&height=auto&width=auto');
sp_PmMessageIndexSender('tagClass=spInRowLabel spInRowLabelBold spLeft', __('From: ', 'sp-pm'));
sp_InsertBreak();
sp_PmMessageIndexDate('tagClass=spInRowLabel spLeft');
sp_InsertBreak();
sp_PmMessageIndexRecipients('tagClass=spInRowLabel', __('To: ', 'sp-pm'), __('cc: ', 'sp-pm'), __('bcc: ', 'sp-pm'));
sp_ColumnEnd();
if ($spDevice != 'mobile') {
# Column 3 of the message row
# ----------------------------------------------------------------------
sp_InsertBreak();
sp_ColumnStart('tagId=spColMessage3&tagClass=spPmActionsColumn spRight&height=auto');
sp_InsertBreak();
# message icon 'toolbar'
sp_SectionStart('tagClass=pmMessageActions', 'pmMessageActions');
sp_PmMessageIndexReplyAll('tagClass=spButton spLeft&icon=', __('Reply to all', 'sp-pm'), __sp('Reply to Group'));
sp_PmMessageIndexQuoteAll('tagClass=spButton spLeft&icon=', __('Quote and reply to all', 'sp-pm'), __sp('Quote to Group'));
sp_PmMessageIndexDelete('tagClass=spButton spRight&icon=', __('Delete this message', 'sp-pm'), __sp('Delete'));
sp_PmMessageIndexMarkUnread('tagClass=spButton spRight&icon=', __('Mark this message as unread', 'sp-pm'), __sp('Mark Unread'));
sp_PmMessageIndexForward('tagClass=spButton spRight&icon=', __('Forward this message', 'sp-pm'), __sp('Forward'));
sp_PmMessageIndexQuote('tagClass=spButton spRight&icon=', __('Quote and reply to sender', 'sp-pm'), __sp('Quote'));
sp_PmMessageIndexReply('tagClass=spButton spRight&icon=', __('Reply to sender', 'sp-pm'), __sp('Reply'));
sp_SectionEnd('', 'pmMessageActions');
sp_InsertBreak();
sp_ColumnEnd();
}
echo '</a>';
示例15: sp_InsertBreak
#sp_UserAvatar('tagClass=spPostUserAvatar spLeft&size=40&context=user', $spThisPostList->user_id);
#sp_SearchListViewUserName('tagClass=spPostUserName spLeft');
#sp_SearchListViewUserDate('tagClass=spPostUserDate spLeft&time=0');
sp_InsertBreak();
#sp_SearchListViewTopicName('', __('', 'sp-search'));
#sp_SearchListViewForumName('', __('In ', 'sp-search'));
sp_SectionStart('tagClass=spResultsInfo', 'results-info');
#sp_SearchListViewTopicCount('tagClass=spListPostCountRowName spLeft', __('Posts: ', 'sp-search'));
#sp_InsertBreak();
#sp_SearchListViewTopicViews('tagClass=spListPostViewsRowName spLeft', __('Views: ', 'sp-search'));
#sp_InsertBreak();
#sp_SearchListViewGoToPost('tagClass=spListPostGoToPostRowName spRight', __('Go To Post', 'sp-search'));
sp_SectionEnd('', 'results-info');
sp_ColumnEnd('', 'list-info');
sp_InsertBreak();
sp_ColumnStart('tagClass=spColumnSection spPostSearchItemSection spLeft&width=100%&height=auto', 'list-content');
sp_SearchListViewTopicHeader();
sp_SectionStart('tagClass=spResultInfo', 'result-info');
sp_SearchListViewForumName('', __('In ', 'sp-search'));
sp_InsertBreak();
sp_SearchListViewUserName('tagClass=spPostUserName spLeft');
sp_SearchListViewUserDate('tagClass=spPostUserDate spLeft&time=0');
sp_SectionEnd('', 'result-info');
sp_InsertBreak();
sp_SearchListViewPostContent();
#sp_SearchListViewGoToPost('tagClass=spListPostGoToPostRowName spRight', __('Go To Post', 'sp-search'));
sp_ColumnEnd('', 'search-content');
sp_SectionStart('tagClass=spPostSectionFooter', 'list-footer');
sp_SectionEnd('', 'list-footer');
sp_SectionEnd('', 'list');
}