示例#1
0
            sp_ColumnEnd();
            sp_SectionEnd('', 'post');
            ?>
</div><?php 
        }
    } else {
        sp_NoPostsInTopicMessage('tagClass=spMessage', __sp('There are no posts in this topic'));
    }
    sp_SectionEnd('', 'postlist');
    sp_SectionEnd('', 'topic');
    sp_UsersAlsoViewing('includeAdmins=1&includeMods=1&includeMembers=1&displayToAll=1', __sp('is currently browsing this topic'));
    sp_InsertBreak();
    # Start the 'pagelinks' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spPageLinksBottomSection', 'pageLinks');
    sp_PostIndexPageLinks('tagClass=spPageLinksBottom spRight&prevIcon=&nextIcon=&showEmpty=1', __sp(''), __sp('Jump to page %PAGE%'), __sp('Jump to page'));
    sp_InsertBreak();
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_PostEditorWindow($addPostForm, $editPostForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoTopicMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested topic does not exist'));
}
sp_SectionEnd('', 'topicView');
sp_SectionEnd('', 'body');
# Footer buttons section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spActionsBar', 'footerButtons');
示例#2
0
            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');
    sp_SectionEnd('', 'topic');
    # Start the 'pagelinks' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spPlainSection', 'pageLinks');
    sp_PostNewButton('tagId=spPostNewButtonBottom&tagClass=spButton spRight', __sp('Add Reply'), __sp('Add a new post in this topic'), __sp('This topic is locked'), __sp('No permission to create posts'));
    sp_PostNewTopicButton('tagId=spPostNewTopicButtonBottom&tagClass=spButton spRight', __sp('Add Topic'), __sp('Start a new topic'), __sp('This forum is locked'));
    sp_PostIndexPageLinks('', __sp('Page: '), __sp('Jump to page %PAGE% of this topic'), __sp('Jump to page'));
    sp_InsertBreak();
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_PostEditorWindow($addPostForm, $editPostForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoTopicMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested topic does not exist'));
}
sp_SectionEnd('', 'topicView');
sp_SectionEnd('', 'body');
# Load the forum footer template - normally last thing
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spFootContainer', 'foot');
示例#3
0
                sp_InsertBreak();
            }
            sp_SectionEnd('', 'content');
            sp_PostIndexUserSignature('tagClass=spPostUserSignature spCenter&maxHeightBottom=');
            sp_InsertBreak();
            sp_SectionEnd();
            sp_SectionEnd('', 'post');
        }
    } else {
        sp_NoPostsInTopicMessage('tagClass=spMessage', __sp('There are no posts in this topic'));
    }
    sp_SectionEnd('', 'postlist');
    sp_SectionEnd('', 'topic');
    sp_UsersAlsoViewing('includeAdmins=1&includeMods=1&includeMembers=1&displayToAll=1', __sp('Is viewing'));
    sp_SectionStart('tagClass=spPageLinksBottom', 'pageLinks');
    sp_PostIndexPageLinks('tagClass=spPageLinks spPageLinksBottom spRight&prevIcon=&nextIcon=&showLinks=2&showEmpty=1', '', __sp('Jump to page %PAGE% of this topic'), __sp('Jump to page'));
    sp_SectionEnd('', 'pageLinks');
    # Start the 'editor' section
    # ----------------------------------------------------------------------
    sp_SectionStart('tagClass=spHiddenSection', 'editor');
    sp_PostEditorWindow($addPostForm, $editPostForm);
    sp_SectionEnd('', 'editor');
} else {
    sp_NoTopicMessage('tagClass=spMessage', __sp('Access denied - you do not have permission to view this page'), __sp('The requested topic does not exist'));
}
sp_SectionEnd('', 'topicView');
sp_SectionEnd('', 'body');
sp_InsertBreak();
# Footer Buttons Section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spActionsBar', 'footerButtons');