b2evolution

Multilingual multiuser multiblog engine

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

Source for file _categories.php

Documentation is available at _categories.php

  1. <?php
  2.     /**
  3.      * This is the template that displays (recursive) list of (sub)categories
  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.      *
  8.      * b2evolution - {@link http://b2evolution.net/}
  9.      * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  10.      * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
  11.      *
  12.      * @package evoskins
  13.      * @subpackage originalb2
  14.      */
  15.     if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  16.  
  17.     # You can customize the following as you wish:
  18.     if(!isset($cat_all)) $cat_all 'All';    // Set to empty to hide
  19.     # global category list delimiters:
  20.     if(!isset($cat_main_start)) $cat_main_start '';
  21.     if(!isset($cat_main_end)) $cat_main_end '';
  22.     # Category delimiters:
  23.     if(!isset($cat_line_start)) $cat_line_start '<li>';
  24.     if(!isset($cat_line_end)) $cat_line_end '</li>';
  25.     if(!isset($cat_line_checkbox)) $cat_line_checkbox true;
  26.     # Category group delimiters:
  27.     if(!isset($cat_group_start)) $cat_group_start '<ul>';
  28.     if(!isset($cat_group_end)) $cat_group_end '</ul>';
  29.     # When multiple blogs are listed on same page:
  30.     if(!isset($cat_blog_start)) $cat_blog_start '<h4>';
  31.     if(!isset($cat_blog_end)) $cat_blog_end '</h4>';
  32.  
  33.     /**
  34.      * We now call the default categories handler...
  35.      * However you can replace this file with the full handler (in /blogs) and customize it!
  36.      */
  37.     require get_path('skins').'/_categories.php';
  38.  
  39. ?>

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