<?php 
tpl_flush();
?>
            <?php 
tpl_includeFile('pageheader.html');
?>
            <article class="page">
                <!-- wikipage start -->
                <?php 
tpl_content();
?>
                <!-- wikipage stop -->
                <!--<div class="clearer"></div>-->
            </article><!-- /.page -->
            <?php 
tpl_flush();
?>
            <?php 
tpl_includeFile('pagefooter.html');
?>
        </div><!-- /.pad -->
    </div><!-- /#dokuwiki__content -->
    <!--<div class="clearer"></div>-->
    <hr class="a11y" />
    <!-- PAGE ACTIONS -->
    <?php 
if ($showTools) {
    ?>
        <div id="dokuwiki__pagetools">
            <h3 class="a11y"><?php 
    echo $lang['page_tools'];
Example #2
0
    <?php }?>

  </div>
  <?php tpl_flush()?>

  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>

  <div class="page">
    <!-- wikipage start -->
    <?php tpl_content()?>
    <!-- wikipage stop -->
  </div>

  <div class="clearer"></div>

  <?php tpl_flush()?>

  <div class="stylefoot">

    <div class="meta">
      <div class="user">
        <?php tpl_userinfo()?>
      </div>
      <div class="doc">
        <?php tpl_pageinfo()?>
      </div>
    </div>

   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>

    <div class="bar" id="bar__bottom">
 /**
  * Output the Statistics
  */
 function html()
 {
     echo '<div id="plugin__statistics">';
     echo '<h1>' . $this->getLang('menu') . '</h1>';
     $this->html_timeselect();
     tpl_flush();
     $method = 'html_' . $this->opt;
     if (method_exists($this, $method)) {
         echo '<div class="plg_stats_' . $this->opt . '">';
         echo '<h2>' . $this->getLang($this->opt) . '</h2>';
         $this->{$method}();
         echo '</div>';
     }
     echo '</div>';
 }
Example #4
0
/**
 * Just send a 1x1 pixel blank gif to the browser
 *
 * @author Andreas Gohr <*****@*****.**>
 * @author Harry Fuecks <*****@*****.**>
 */
function sendGIF()
{
    $img = base64_decode('R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7');
    header('Content-Type: image/gif');
    header('Content-Length: ' . strlen($img));
    header('Connection: Close');
    print $img;
    tpl_flush();
    // Browser should drop connection after this
    // Thinks it's got the whole image
}