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(); sp_ColumnEnd(); sp_InsertBreak(); sp_SectionEnd('', 'post'); } } else { sp_NoPostsInTopicMessage('tagClass=spMessage', __sp('There are no posts in this topic')); } sp_SectionEnd('', 'postlist');
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'); 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');