Example #1
0
 sp_ColumnStart('tagClass=spPostSection spRight&width=84%');
 # Start the 'post' section
 # ----------------------------------------------------------------------
 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();
Example #2
0
     sp_PostIndexUserReputationLevel('tagClass=spPostReputationLevel spCenter');
 }
 if (function_exists('sp_PostIndexRepUser')) {
     sp_PostIndexRepUser('tagClass=spCenter', 'Reputation', __sp('Give/Take Reputation'));
 }
 sp_InsertBreak();
 sp_ColumnEnd();
 sp_ColumnEnd();
 sp_InsertBreak('');
 sp_SectionEnd('tagClass=spClear');
 # Post Content post row
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spPostSection');
 sp_SectionStart('tagClass=spPostContentSection', 'content');
 if (function_exists('sp_PostIndexRatePost')) {
     sp_PostIndexRatePost('tagClass=spRight');
     sp_InsertBreak();
 }
 sp_PostIndexContent('', __sp('Awaiting Moderation'));
 sp_InsertBreak();
 if (function_exists('sp_ShareThisTopicIndexTag') || function_exists('sp_AnswersTopicAnswer') || function_exists('sp_thanks_thanks_for_post')) {
     sp_ColumnStart('tagClass=spPluginSection spCenter&height=auto');
     if (function_exists('sp_ShareThisTopicIndexTag')) {
         sp_ShareThisTopicIndexTag('tagClass=ShareThisTopicIndex spRight');
     }
     if (function_exists('sp_AnswersTopicAnswer')) {
         if ($spThisPost->post_index == 1) {
             sp_AnswersTopicSeeAnswer('tagClass=spAnswersTopicSeeAnswer spRight', '', __sp('Go to the post marked as the answer'));
         }
         sp_AnswersTopicAnswer('tagClass=spRight', '', __sp('This post answers the topic'));
         sp_AnswersTopicPostIndexAnswer('tagClass=spAnswersTopicAnswersButton spRight', '', __sp('Mark this post as topic answer'), '', __sp('Unmark this post as topic answer'));