Пример #1
0
 sp_PostIndexPageLinks('', __sp('Page: '), __sp('Jump to page %PAGE% of this topic'), __sp('Jump to page'));
 sp_SectionEnd('tagClass=spClear', 'pageLinks');
 # Start the 'topicHeader' section
 # ----------------------------------------------------------------------
 sp_SectionStart('tagClass=spTopicViewSection', 'topic');
 sp_TopicHeaderRSSButton('tagClass=spButton spRight', __sp('Topic RSS'), __sp('Subscribe to the RSS feed for this topic'));
 if (function_exists('sp_RelatedTopicsButton')) {
     sp_RelatedTopicsButton('tagClass=spButton spRight', __sp('Related Topics'), __sp('Get a list of related topics based on tags for this topic'));
 }
 if (function_exists('sp_PrintTopicView')) {
     sp_PrintTopicView('tagClass=spLink spRight', '', __sp('Topic Print Options'));
 }
 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: '));
Пример #2
0
# Set the Topic
# ----------------------------------------------------------------------
if (sp_this_topic()) {
    # Start the 'topicHeader' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spTopicViewSection', 'topic');
    sp_SectionStart('tagClass=spTopicViewHeader', 'header');
    sp_SectionStart('tagClass=spFlexHeadContainer', 'flexheader');
    sp_ColumnStart('tagId=spIconCol&tagClass=spIconColumnSectionTitle  spLeft&width=0&height=0px');
    sp_TopicHeaderIcon('tagClass=spHeaderIcon spLeft');
    sp_ColumnEnd();
    sp_ColumnStart('tagId=spHeadColumn2&tagClass=spTitleColumnTitle spLeft&width=80%&height=0');
    sp_TopicHeaderName('tagClass=spHeaderName');
    sp_InsertBreak();
    if (function_exists('sp_TopicHeaderShowBlogLink')) {
        sp_TopicHeaderShowBlogLink('tagClass=spLink spLeft&icon=', __sp('View 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_InsertBreak();
    #if (function_exists('sp_TopicTagsList')) sp_TopicTagsList('tagClass=spTopicTagsList spLeft&icon=', __sp('Tags: '));
    sp_ColumnEnd();
    sp_ColumnStart('tagId=spHeadColumn3&tagClass=spTitleColumnTitle spRight&width=5%&height=0');
    sp_TopicHeaderRSSButton('tagClass=spLink spRight&icon=', 'RSS', __sp('Subscribe to the RSS feed for this topic'));
    sp_InsertBreak();
    #if (function_exists('sp_ShareThisTopicTag')) sp_ShareThisTopicTag('tagClass=ShareThisTopic spRight');
    sp_ColumnEnd();
    sp_InsertBreak();
    #sp_InsertBreak();
    #if (function_exists('sp_TopicIndexRating')) {
    #		sp_TopicIndexRating('tagClass=spTopicRating spLeft', __sp('Rating:'));