Ejemplo n.º 1
0
 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();
 }
 # End Share This and/or Answers Topic addition
 # ----------------------------------------------------------------------
 sp_PostIndexUserSignature('tagClass=spPostUserSignature spCenter&maxHeightBottom=55');
 sp_InsertBreak();
Ejemplo n.º 2
0
                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');
            sp_InsertBreak();
            sp_ColumnEnd();
            sp_SectionEnd('', 'post');
            ?>
</div><?php