b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evoskins ] [ index: evoskins ] [ all elements ]

Source for file _arcdir.php

Documentation is available at _arcdir.php

  1. <?php 
  2.     /**
  3.      * This is the template that displays the archive directory for a blog
  4.      *
  5.      * This file is not meant to be called directly.
  6.      * It is meant to be called by an include in the _main.php template.
  7.      * To display the archive directory, you should call a stub AND pass the right parameters
  8.      * For example: /blogs/index.php?disp=arcdir
  9.      *
  10.      * b2evolution - {@link http://b2evolution.net/}
  11.      * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  12.      * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
  13.      *
  14.      * @package evoskins
  15.      */
  16.     if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  17.  
  18.     if$disp == 'arcdir' )  
  19.     // We have asked to display full archives:
  20.     ?>
  21.     <ul>
  22.     <?php
  23.         /*
  24.          * This file is basically just a trick where we set the number of entries to display
  25.          * to "no limit"...
  26.          */
  27.         $archive_limit '';
  28.         /**
  29.          * And then... call the default archive include.
  30.          */
  31.         require dirname(__FILE__).'/_archives.php';
  32.         unset$archive_limit );
  33.     ?>
  34.     </ul>
  35.     <?php    
  36.     
  37. ?>

Documentation generated on Tue, 20 May 2008 01:52:13 +0200 by phpDocumentor 1.4.2