当前位置: 首页>>代码示例>>PHP>>正文


PHP sp_SectionStart函数代码示例

本文整理汇总了PHP中sp_SectionStart函数的典型用法代码示例。如果您正苦于以下问题:PHP sp_SectionStart函数的具体用法?PHP sp_SectionStart怎么用?PHP sp_SectionStart使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了sp_SectionStart函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: sp_ColumnEnd

            sp_ColumnEnd();
            sp_InsertBreak();
            sp_SectionEnd('', 'topic');
        }
    } else {
        sp_NoTopicsInForumMessage('tagClass=spMessage', __sp('There are no topics in this forum'));
    }
    sp_SectionEnd('', 'topiclist');
    sp_SectionEnd('', 'forum');
    # Start the 'pagelinks' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spPlainSection', 'pageLinks');
    sp_TopicNewButton('tagId=spTopicNewButtonBottom&tagClass=spButton spRight', __sp('Add Topic'), __sp('Start a new topic'), __sp('This forum is locked'), __sp('No permission to start topics'));
    sp_TopicIndexPageLinks('', __sp('Page: '), __sp('Jump to page %PAGE% of topics'), __sp('Jump to page'));
    sp_InsertBreak();
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_TopicEditorWindow($addTopicForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoForumMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested forum does not exist'));
}
sp_SectionEnd('', 'forumView');
sp_SectionEnd('', 'body');
# Load the forum footer template - normally last thing
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spFootContainer', 'foot');
sp_load_template('spFoot.php');
sp_SectionEnd('', 'foot');
开发者ID:ashanrupasinghe,项目名称:govforuminstalledlocal,代码行数:31,代码来源:spForumView.php

示例2: sp_ColumnStart

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
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPlainSection spCenter', 'about');
if (function_exists('sp_PolicyDocPolicyLink')) {
    sp_PolicyDocPolicyLink('', __sp('Usage Policy'), __sp('View site usage policy'));
}
sp_Acknowledgements('', '', __sp('About Simple:Press'), __sp('Visit Simple:Press'));
if (function_exists('sp_PolicyDocPrivacyLink')) {
    sp_PolicyDocPrivacyLink('', __sp('Privacy Policy'), __sp('View site privacy policy'));
}
sp_SectionEnd('', 'about');
# Mandatory call to sp_FooterEnd() - available to custom code
# ----------------------------------------------------------------------
sp_FooterEnd();
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:31,代码来源:spFoot.php

示例3: sp_UserNotices

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();
开发者ID:brooklyntri,项目名称:btc-plugins,代码行数:31,代码来源:spHead.php

示例4: sp_SectionStart

#	The 'list' template is used to display a simplified Topic Listing
#
# --------------------------------------------------------------------------------------
# Start the 'listView' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spListSection spListViewSection', 'listView');
sp_ListViewHead();
# Start the List Loop
# ----------------------------------------------------------------------
if (sp_has_list()) {
    while (sp_loop_list()) {
        sp_the_list();
        # Start the 'list' section
        # ----------------------------------------------------------------------
        sp_ListViewBodyStart();
        sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list');
        sp_ListForumName('', __sp('Browse topics in %NAME%'), __sp('New and Unread Posts'));
        sp_InsertBreak();
        sp_ColumnStart('tagClass=spColumnSection spLeft&width=auto&height=auto');
        sp_ListTopicName('tagClass=spLeft', __sp('Browse the thread %NAME%'));
        sp_InsertBreak('');
        sp_ListLastPost('tagClass=spLeft&height=0px&break=0&icon=', __sp(''));
        sp_ColumnEnd();
        sp_ListViewBodyEnd();
        sp_InsertBreak();
        sp_SectionEnd('', 'list');
    }
} else {
    sp_NoTopicsInListMessage('tagClass=spMessage', __sp('There were no topics found'));
}
sp_ListViewFoot();
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spListViewMobile.php

示例5: __sp

echo '<p>' . __sp('Contact') . ' ' . $spProfileUser->display_name . '<br /><hr>';
sp_ProfileShowAIM('', __sp('AOL IM ID'));
sp_ProfileShowYIM('', __sp('Yahoo IM ID'));
sp_ProfileShowMSN('', __sp('MSN ID'));
sp_ProfileShowICQ('', __sp('ICQ ID'));
sp_ProfileShowGoogleTalk('', __sp('Google Talk ID'));
sp_ProfileShowSkype('', __sp('Skype ID'));
sp_ProfileShowMySpace('', __sp('MySpace ID'));
sp_ProfileShowFacebook('', __sp('Facebook ID'));
sp_ProfileShowTwitter('', __sp('Twitter ID'));
sp_ProfileShowLinkedIn('', __sp('LinkedIn ID'));
sp_ProfileShowYouTube('', __sp('YouTube ID'));
sp_ProfileShowEmail('', __sp('Email'));
if (function_exists('sp_ProfileSendPm')) {
    sp_ProfileSendPm('', __sp('Private Message'), __sp('Send PM'));
}
sp_ColumnEnd('', 'profileIdentities');
# show user stats
sp_ColumnStart('tagClass=spProfileShowStatsSection spRight&width=45%', 'profileStats');
echo '<p>' . $spProfileUser->display_name . ' ' . __sp('Statistics') . '<br /><hr>';
sp_ProfileShowMemberSince('', __sp('Member Since'));
sp_ProfileShowLastVisit('', __sp('Last Visited'));
sp_ProfileShowUserPosts('', __sp('Posts'));
sp_ProfileShowSearchPosts('', __sp('Search User Posts'), __sp('Topics Started'), __sp('Topics Posted In'));
sp_ColumnEnd('', 'profileStats');
sp_SectionEnd('tagClass=spClear', 'profileDetails');
# output some options
sp_SectionStart('tagClass=spPlainSection spCenter', 'profileSignature');
sp_ProfileShowLink('tagClass=spButton', __sp('View Full Profile for %USER%'));
sp_SectionEnd('', 'profileSignature');
sp_SectionEnd('tagClass=spClear', 'profileShow');
开发者ID:ashanrupasinghe,项目名称:govforuminstalledlocal,代码行数:31,代码来源:spProfilePopupShow.php

示例6: sp_SectionEnd

sp_SectionEnd('', 'profileAvatarRank');
# show user stats
sp_SectionStart('tagClass=spProfileShowInfoSection spRight', 'profileStats');
sp_ProfileShowDisplayName('tagClass=spProfileLabel spLeft', __sp('Username'));
sp_ProfileShowMemberSince('tagClass=spProfileLabel spLeft', __sp('Member Since'));
sp_ProfileShowLastVisit('tagClass=spProfileLabel spLeft', __sp('Last Visited'));
sp_ProfileShowUserPosts('tagClass=spProfileLabel spLeft', __sp('Posts'));
if (function_exists('sp_ProfileSendPm')) {
    sp_ProfileSendPm('tagClass=spProfileLabel&icon=&buttonClass=spPmButton', __sp('Message'), __sp('Send PM'));
}
sp_SectionEnd('', 'profileStats');
sp_SectionEnd('tagClass=spClear', 'profileBasic');
# show user identities
sp_SectionStart('tagClass=spProfileShowInfoSection spRight', 'profileIdentities');
sp_ProfileShowEmail('tagClass=spProfileLabel spLeft', __sp('Email'));
sp_ProfileShowAIM('tagClass=spProfileLabel spLeft', __sp('AOL IM ID'));
sp_ProfileShowYIM('tagClass=spProfileLabel spLeft', __sp('Yahoo IM ID'));
sp_ProfileShowMSN('tagClass=spProfileLabel spLeft', __sp('MSN ID'));
sp_ProfileShowICQ('tagClass=spProfileLabel spLeft', __sp('ICQ ID'));
sp_ProfileShowGoogleTalk('tagClass=spProfileLabel spLeft', __sp('Google Talk ID'));
sp_ProfileShowSkype('tagClass=spProfileLabel spLeft', __sp('Skype ID'));
sp_ProfileShowMySpace('tagClass=spProfileLabel spLeft', __sp('MySpace ID'));
sp_ProfileShowFacebook('tagClass=spProfileLabel spLeft', __sp('Facebook ID'));
sp_ProfileShowTwitter('tagClass=spProfileLabel spLeft', __sp('Twitter ID'));
sp_ProfileShowLinkedIn('tagClass=spProfileLabel spLeft', __sp('LinkedIn ID'));
sp_ProfileShowYouTube('tagClass=spProfileLabel spLeft', __sp('YouTube ID'));
sp_SectionEnd('', 'profileIdentities');
sp_SectionStart('tagClass=spFlexSection spCenter', 'postedTo');
sp_ProfileShowSearchPosts('tagClass=spLabel&leftClass=spPostedToSubmit&rightClass=spPostedToSubmit&middleClass=', __sp('View'), __sp('Topics Started by %USERNAME%'), __sp('%USERNAME%s Recent Posts'));
sp_SectionEnd('', 'postedTo');
sp_SectionEnd('tagClass=spClear', 'profileShow');
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spProfilePopupShow.php

示例7: sp_SectionStart

            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');
        }
    }
} else {
    sp_SearchListViewNoPostsMessage('tagClass=spMessage', __('There were no posts found matching your search', 'sp-search'));
}
sp_SearchListViewFoot();
sp_SectionEnd('', 'searchView');
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spSearchListView.php

示例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&amp;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>';
//.........这里部分代码省略.........
开发者ID:bself,项目名称:nuimage-wp,代码行数:101,代码来源:sp-admin-bar-components.php

示例9: sp_SectionStart

#	Simple:Press Template
#	Theme		:	Barebones
#	Template	:	Search Blog Posts/Pages
#	Author		:	Simple:Press
#
#	The 'search blog' template is used to prepare a simplified Blog Search Listing
#
# --------------------------------------------------------------------------------------
global $spDevice;
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spListSection', 'searchView');
sp_SearchBlog();
sp_SectionStart('tagClass=spPageLinksSearchView', 'pageLinks');
sp_SearchBlogHeaderName('', __('Blog Search results for %TERM%', 'sp-search'), __('Topics posted to by %NAME%', 'sp-search'), __('Topics started by %NAME%', 'sp-search'));
#sp_SearchBlogPageLinks('tagClass=spPageLinks&prevIcon=sp_LinksArrowLeft.png&nextIcon=sp_LinksArrowRight.png', __('Page: ', 'sp-search'), __('Jump to page %PAGE% of results', 'sp-search'));
sp_SectionEnd('tagClass=spClear', 'pageLinks');
sp_SearchBlogResults('tagClass=spBlogSearchSection');
sp_InsertBreak('spacer=10px');
# Load the forum footer template - normally last thing
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spPageLinksBlogSearchViewBottom', 'pageLinks');
if ($spDevice == 'mobile') {
    sp_SearchBlogPageLinks('tagClass=spPageLinks spPageLinksBottom&prevIcon=&nextIcon=&showLinks=5', '', '');
} else {
    sp_SearchBlogPageLinks('tagClass=spPageLinksBottom spRight&prevIcon=&nextIcon=&showEmpty=0', 'Page: ', 'Jump to page %PAGE% of results');
}
sp_SectionEnd('tagClass=spClear', 'pageLinks');
#sp_SectionStart('tagClass=spPageLinksBlogSearchViewBottom', 'pageLinks');
#	sp_SearchPageLinks('tagClass=spPageLinksBottom spRight&prevIcon=&nextIcon=&showEmpty=0', 'Page: ', 'Jump to page %PAGE% of results');
#sp_SectionEnd('tagClass=spClear', 'pageLinks');
sp_SectionEnd('', 'searchView');
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spSearchBlogView.php

示例10: sp_OnlinePageLink

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');
if (function_exists('sp_PolicyDocPolicyLink')) {
    sp_PolicyDocPolicyLink('', __sp('Usage Policy'), __sp('View site usage policy'));
}
sp_Acknowledgements('', '', __sp('About Simple:Press'), __sp('Visit Simple:Press'));
if (function_exists('sp_PolicyDocPrivacyLink')) {
    sp_PolicyDocPrivacyLink('', __sp('Privacy Policy'), __sp('View site privacy policy'));
}
sp_SectionEnd('', 'about');
# Mandatory call to sp_FooterEnd() - available to custom code
# ----------------------------------------------------------------------
sp_FooterEnd();
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spFootDesktop.php

示例11: array

#
#	The 'pm' template is used to display the private messaging page
#
# --------------------------------------------------------------------------------------
/*
$LastChangedDate: 2013-09-23 05:12:51 +0100 (Mon, 23 Sep 2013) $
$Rev: 10721 $
*/
# == ADD POST FORM - OBJECT DEFINITION ========================
$addPmForm = array('tagClass' => 'spForm', 'hide' => 1, 'controlFieldset' => 'spPmRecipients', 'controlInput' => 'spControl', 'controlSubmit' => 'spSubmit', 'controlSelect' => 'spSelect', 'labelHeading' => __('Select Message Recipients: ', 'sp-pm'), 'labelSelect' => __('Select From Members: ', 'sp-pm'), 'labelSelectHelp' => __("Start typing a member's name in the input field above and it will auto-complete", 'sp-pm'), 'labelRecipients' => __('Message Recipients: ', 'sp-pm'), 'labelPmAllUsers' => __('PM All Users', 'sp-pm'), 'labelPmAllUsersHelp' => __('Not recommended for large number of users', 'sp-pm'), 'labelPmUserGroup' => __('Select Usergroup to PM: ', 'sp-pm'), 'labelPmUserGroupHelp' => __('Not recommended for large usergroups', 'sp-pm'), 'labelPmUserGroupSelect' => __('Select Usergroup', 'sp-pm'), 'labelPmBuddyList' => __('Select From Buddy List: ', 'sp-pm'), 'labelPmAddBuddy' => __('Add ALL Recipients to Buddy List', 'sp-pm'), 'labelTitle' => __('Subject: ', 'sp-pm'), 'labelSendButton' => __('Send Private Message', 'sp-pm'), 'labelCancelButton' => __('Cancel', 'sp-pm'), 'labelSmileysButton' => __('Smileys', 'sp-pm'), 'labelSmileys' => __('Smileys', 'sp-pm'), 'tipSubmitButton' => __('Send private message', 'sp-pm'), 'tipCancelButton' => __('Cancel sending private message', 'sp-pm'), 'tipSmileysButton' => __('Open/Close to add Smiley', 'sp-pm'), 'iconMobileSmileys' => 'sp_EditorSmileys.png', 'iconMobileCancel' => 'sp_EditorCancel.png', 'iconMobileSubmit' => 'sp_PmSendMessage.png');
global $spPmThreadList, $spThisPmThreadList, $spDevice;
do_action('sp_pm_footer_begin');
sp_SectionStart('tagId=spPmFooter&tagClass=spPmFooter spPlainSection', 'pmFooter');
sp_SectionStart('tagId=spPmFooterButtons&tagClass=spPmFooter spPlainSection', 'pmFootButtons');
if ($spDevice == 'mobile') {
    sp_PmEmptyInboxButton('tagClass=spRight', '', __('Empty your message inbox', 'sp-pm'));
    sp_PmMarkInboxReadButton('tagClass=spRight', '', __('Mark all threads in Inbox as read', 'sp-pm'));
    sp_PmComposeButton('tagClass=spRight', '', __('Compose a new private message', 'sp-pm'));
} else {
    sp_PmEmptyInboxButton('tagClass=spButton spRight', __('Empty Inbox', 'sp-pm'), __('Empty your message inbox', 'sp-pm'));
    sp_PmMarkInboxReadButton('tagClass=spButton spRight', __('Mark Inbox Read', 'sp-pm'), __('Mark all threads in Inbox as read', 'sp-pm'));
    sp_PmComposeButton('tagClass=spButton spRight', __('Compose', 'sp-pm'), __('Compose a new private message', 'sp-pm'));
}
sp_SectionEnd('tagClass=spClear', 'pmFootButtons');
sp_SectionEnd('tagClass=spClear', 'pmFooter');
sp_SectionStart('tagClass=spHiddenSection', 'pmComposeForm');
sp_SectionStart('tagId=spPmFooterCompose&tagClass=spPmEditor spPlainSection', 'pmFootCompose');
sp_PmComposeWindow($addPmForm);
sp_SectionEnd('', 'pmComposeForm');
sp_SectionEnd('tagClass=spClear', 'pmFootCompose');
do_action('sp_pm_footer_end');
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spPMFoot.php

示例12: do_action

#	The 'pm' template is used to display the private messaging page
#
# --------------------------------------------------------------------------------------
/*
$LastChangedDate: 2013-11-05 01:15:36 +0000 (Tue, 05 Nov 2013) $
$Rev: 10825 $
*/
global $spPmThreadList, $spThisPmThreadList, $spDevice;
do_action('sp_pm_header_begin');
sp_SectionStart('tagId=spPmHeader&tagClass=spPmHeader spPlainSection spTopicViewSection', 'pmHeader');
sp_SectionStart('tagId=spPmHeaderButtons&tagClass=spPmHeaderButtons spPlainSection', 'pmHeadButtons');
sp_PmQuickLinksThreads('tagClass=spControl spSelect spLeft&show=5', __('New/Recent Messages', 'sp-pm'));
if ($spDevice != 'mobile') {
    sp_PmComposeButton('tagClass=spButton spRight', __('Compose', 'sp-pm'), __('Compose a new private message', 'sp-pm'));
    sp_PmEmptyInboxButton('tagClass=spButton spRight', __('Empty Inbox', 'sp-pm'), __('Empty your message inbox', 'sp-pm'));
    sp_PmMarkInboxReadButton('tagClass=spButton spRight', __('Mark Inbox Read', 'sp-pm'), __('Mark all threads in Inbox as read', 'sp-pm'));
}
sp_SectionEnd('tagClass=spClear', 'pmHeadButtons');
sp_SectionStart('tagId=spPmHeaderMessages&tagClass=spPmHeaderMessages spPlainSection', 'pmHeadMessages');
sp_PmHeaderIcon('tagId=spPmHeaderIcon&tagClass=spHeaderIcon spLeft');
sp_PmInboxMessages('break=0', __('Your inbox has %MCOUNT% messages in %TCOUNT% threads', 'sp-pm'), __('Your inbox has exceeded the maximum allowed (%MAX%). You will not be able to send any more PMs until your inbox size is reduced', 'sp-pm'), __('Your inbox has reached the maximum allowed (%MAX%). You will not be able to send any more PMs until your inbox size is reduced', 'sp-pm'), __('Your inbox is approaching the maximum allowed (%MAX%). You will not be able to send any more PMs if your inbox reaches the maximum size', 'sp-pm'), __('Please note, PMs are automatically removed after %COUNT% days.', "sp-pm"));
sp_SectionEnd('', 'pmHeadMessages');
if ($spDevice == 'mobile') {
    sp_SectionStart('tagClass=spActionsBar', 'headerButtons');
    sp_PmComposeButton('tagClass=spFootButton spRight', 'Compose', __('Compose a new private message', 'sp-pm'));
    sp_PmEmptyInboxButton('tagClass=spFootButton spRight', 'Empty Inbox', __('Empty your message inbox', 'sp-pm'));
    sp_PmMarkInboxReadButton('tagClass=spFootButton spRight', 'Mark All Read', __('Mark all threads in Inbox as read', 'sp-pm'));
    sp_SectionEnd('tagClass=spClear', 'headerButtons');
}
sp_SectionEnd('tagClass=spClear', 'pmHeader');
do_action('sp_pm_header_end');
开发者ID:bself,项目名称:nuimage-wp,代码行数:31,代码来源:spPMHead.php


注:本文中的sp_SectionStart函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。