Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- global $blog_id, $wp_query, $wiki, $post, $current_user;
- get_header( 'wiki' );
- require_once( 'incsub_wiki-functions.php');
- restore_original_functions();
- ?>
- <div id="primary" class="wiki-primary-event">
- <div id="content">
- <div class="padder">
- <div id="wiki-page-wrapper">
- <h1 class="entry-title"><?php the_title(); ?></h1>
- <?php if ( !post_password_required() ) { ?>
- <div class="incsub_wiki incsub_wiki_single">
- <div class="incsub_wiki_tabs incsub_wiki_tabs_top"><?php echo tabs(); ?><div class="incsub_wiki_clear"></div></div>
- </div>
- <?php
- $revision_id = isset($_REQUEST['revision'])?absint($_REQUEST['revision']):0;
- $left = isset($_REQUEST['left'])?absint($_REQUEST['left']):0;
- $right = isset($_REQUEST['right'])?absint($_REQUEST['right']):0;
- $action = isset($_REQUEST['action'])?$_REQUEST['action']:'view';
- echo $wiki->decider(apply_filters('the_content', $post->post_content), $action, $revision_id, $left, $right, false);
- // Display comments and form
- if( is_single() ) {
- $withcomments = "1";
- comments_template('/comments.php', false);
- }
- ?>
- <?php } ?>
- </div>
- </div>
- </div>
- </div>
- <?php get_sidebar('wiki'); ?>
- <?php get_footer('wiki'); ?>
- <style type="text/css">
- .single #primary {
- float: left;
- margin: 0 -26.4% 0 0;
- }
- .singular #content, .left-sidebar.singular #content {
- margin: 0 34% 0 7.6%;
- width: 58.4%;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement