示例#1
0
 }
 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');
     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();
     }
     sp_InsertBreak();
 }
示例#2
0
            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');
            if (function_exists('sp_thanks_thanks_for_post')) {
                sp_thanks_thanks_for_post('tagClass=spThanksList spLeft');
            }
            if (function_exists('sp_ShareThisTopicIndexTag')) {
                sp_ShareThisTopicIndexTag('tagClass=ShareThisTopicIndex spRight');
                sp_InsertBreak('direction=right');
            }
            if (function_exists('sp_AnswersTopicAnswer')) {
                if ($spThisPost->post_index == 1) {
                    sp_AnswersTopicSeeAnswer('tagClass=spAnswersTopicSeeAnswer spPostButton spRight&icon=', __sp('See Chosen Answer'), __sp('Go to the post marked as the answer'));
                }
                sp_InsertBreak('direction=right');
                sp_AnswersTopicAnswer('tagClass=spRight&icon=', __sp('Answers Post'), __sp('This post answers the topic'));
                sp_InsertBreak('direction=right');
                sp_AnswersTopicPostIndexAnswer('tagClass=spPostButton spRight&markIcon=&unmarkIcon=', __sp('Answers Question'), __sp('Mark this post as correct answer'), __sp('Unmark as Answer'), __sp('Unmark this post as correct answer'));
            }
            sp_SectionEnd('', 'postholder');
            # Start the Signature section
            # ----------------------------------------------------------------------
            sp_PostIndexUserFlexSignature('tagClass=spPostUserSignature');