sp_TopicHeaderIcon('tagClass=spHeaderIcon spLeft'); sp_TopicHeaderName('tagClass=spHeaderName'); if (function_exists('sp_TopicHeaderShowBlogLink')) { sp_TopicHeaderShowBlogLink('', __sp('Read the original blog post'), __sp('Click to goto original blog post')); } sp_InsertBreak(); if (function_exists('sp_ShareThisTopicTag')) { sp_ShareThisTopicTag('tagClass=ShareThisTopic spRight'); } sp_InsertBreak(); if (function_exists('sp_TopicIndexRating') || function_exists('sp_TopicTagsList') || function_exists('sp_TopicStatus')) { if (function_exists('sp_TopicIndexRating')) { sp_TopicIndexRating('tagClass=spTopicRating spRight', __sp('Topic Rating:')); } if (function_exists('sp_TopicTagsList')) { sp_TopicTagsList('tagClass=spTopicTagsList spLeft', __sp('Tags: ')); } if (function_exists('sp_TopicStatus')) { sp_TopicStatus('tagClass=spTopicViewStatus spButton spLeft', __sp('Search for other topics with this status'), __sp('Status: ')); } sp_InsertBreak(); } sp_SectionStart('tagClass=spTopicPostContainer', 'postlist'); # Start the Post Loop # ---------------------------------------------------------------------- if (sp_has_posts()) { while (sp_loop_posts()) { sp_the_post(); # Start the 'post' section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spTopicPostSection', 'post');
sp_TopicHeaderIcon('tagClass=spRowIcon spLeft'); sp_ColumnEnd(); sp_ColumnStart('tagId=spHeadColumn2&tagClass=spTitleColumnTitle spLeft&width=80%&height=0'); sp_TopicHeaderName('tagClass=spHeaderName spLeft'); sp_InsertBreak(''); if (function_exists('sp_TopicHeaderShowBlogLink')) { sp_TopicHeaderShowBlogLink('icon=', __sp('Read the original blog post'), __sp('Click to goto original blog post')); } sp_InsertBreak(''); if (function_exists('sp_TopicStatus')) { sp_TopicStatus('tagClass=spTopicViewStatus spLeft&icon=', __sp('Search for other topics with this status'), __sp('')); } sp_InsertBreak(''); if (function_exists('sp_TopicTagsList')) { if (function_exists('sp_TopicTagsList')) { sp_TopicTagsList('tagClass=spTopicTagsList spLeft&delimiter=/&delimiterClass=spTagsDelimiter', __sp('Tags:')); } if (function_exists('sp_RelatedTopicsButton')) { sp_RelatedTopicsButton('tagClass=spRelated spLeft&icon=', __sp(' - Related Tags'), __sp('Get a list of related topics based on tags for this topic')); } } sp_InsertBreak(''); sp_ColumnEnd(); sp_ColumnStart('tagClass=spHeadColumn3 spRight&width=auto&height=0'); sp_TopicHeaderRSSButton('tagClass=spLink spRight&iconClass=spIcon&icon=', 'RSS', __sp('Subscribe to the RSS feed for this topic')); sp_InsertBreak(); sp_ColumnEnd(); sp_SectionEnd('', 'flexheader'); # Footer buttons section # ---------------------------------------------------------------------- sp_SectionStart('tagClass=spActionsBar', 'headerButtons');