コード例 #1
0
 sp_SectionStart('tagClass=spPostActionSection', 'action');
 sp_GoToTop('tagClass=spRight spGoToTop&iconClass=spIcon', '', __sp('Go to Top'));
 sp_PostIndexPinned('tagClass=spStatusIcon spLeft', __sp('This post is pinned'));
 if (function_exists('sp_PostIndexPostByEmail')) {
     sp_PostIndexPostByEmail('tagClass=spStatusIcon spLeft', 'This post was sent by email');
 }
 sp_PostIndexNumber('tagClass=spLabelBordered spLeft');
 sp_PostIndexEditHistory('tagClass=spButton spLeft', '', __sp('Edited by %USER% on %DATE%'), __sp('View edit history'));
 sp_PostIndexPermalink('tagClass=spButton spLeft', '', __sp('The post permalink'));
 sp_PostIndexPrint('tagClass=spButton spLeft', '', __sp('Print this post'));
 sp_PostIndexNewPost('tagClass=spLabelBordered spLeft', __sp('New'));
 if (function_exists('sp_PostIndexRatePost')) {
     sp_PostIndexRatePost('tagClass=spLabelBordered spPostRating spRight');
 }
 if (function_exists('sp_PostIndexReportPost')) {
     sp_PostIndexReportPost('tagClass=spButton spRight', __sp('Report'), __sp('Report this post to admin'));
 }
 sp_PostIndexQuote('tagClass=spButton spRight', __sp('Quote'), __sp('Quote this post and reply'));
 sp_PostIndexEdit('tagClass=spButton spRight', __sp('Edit'), __sp('Edit this post'));
 sp_PostIndexDelete('tagClass=spButton spRight', __sp('Delete'), __sp('Delete this post'));
 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');
コード例 #2
0
ファイル: spTopicView.php プロジェクト: bself/nuimage-wp
            sp_PostIndexNewPost('tagClass=spLabelBordered spLeft', __sp('New'));
            sp_PostIndexUserDate('tagClass=spPostUserDate spLeft&stackdate=0&nicedate=0');
            # Hover Over Tools
            # ----------------------------------------------------------------------
            ?>
<div class="spTransitionHoverContent"><?php 
            sp_PostForumToolButton("tagClass=spPostActionLabel spLeft&hide=0&icon=", 'Tools', __sp('Open the forum toolset'));
            sp_PostIndexEdit('tagClass=spPostActionLabel spLeft&icon=', __sp('Edit'), __sp('Edit this post'));
            sp_PostIndexDelete('tagClass=spPostActionLabel spLeft&icon=', __sp('Delete'), __sp('Delete this post'));
            sp_PostIndexQuote('tagClass=spPostActionLabel spRight&icon=', __sp('Quote'), __sp('Quote this post'));
            if (function_exists('sp_thanks_thank_the_post')) {
                sp_thanks_thank_the_post('tagClass=spPostActionLabel spRight&iconThanks=&iconThanked=', __sp('Thank'), __sp('Thanked'), __sp('Add thanks to this post'), __sp('You have already thanked this post'));
            }
            sp_PostIndexPrint('tagClass=spPostActionLabel spRight&icon=', 'Print', __sp('Print this post'));
            if (function_exists('sp_PostIndexReportPost')) {
                sp_PostIndexReportPost('tagClass=spPostActionLabel spRight&icon=', __sp('Report'), __sp('Report this post to admin'));
            }
            if (function_exists('sp_PostIndexThreadedReply')) {
                sp_PostIndexThreadedReply('tagClass=spPostActionLabel spRight&icon=', __sp('Reply'), __sp('Add threaded reply to this post'));
            }
            sp_SectionEnd('', 'action');
            ?>
</div><?php 
            sp_SectionStart('tagClass=spPostContentSection', 'content');
            if (function_exists('sp_PostIndexRatePost')) {
                sp_PostIndexRatePost('tagClass=spLabelBordered spPostRating spRight');
                sp_InsertBreak();
            }
            sp_PostIndexContent('', __sp('Awaiting Moderation'));
            sp_SectionEnd('', 'content');
            sp_SectionStart('tagClass=spPostContentHolder', 'postholder');