b2evolution

Multilingual multiuser multiblog engine

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

Source for file _linkblog.php

Documentation is available at _linkblog.php

  1. <?php
  2.     /**
  3.      * This is the template that displays the linkblog
  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 custom
  14.      */
  15.     if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  16.         
  17.     # maximum number of linkblog entries to display:
  18.     if(!isset($linkblog_limit)) $linkblog_limit 20;
  19.     # global linkblog delimiters:
  20.     if(!isset($linkblog_main_start)) $linkblog_main_start '<div class="bSideItem"><h3>'.
  21.                                                                                                                         T_('Linkblog').'</h3>';
  22.     if(!isset($linkblog_main_end)) $linkblog_main_end '</div>';
  23.     # Category delimiters:
  24.     if(!isset($linkblog_catname_before)) $linkblog_catname_before '<h4>';
  25.     if(!isset($linkblog_catname_after)) $linkblog_catname_after '</h4><ul>';
  26.     if(!isset($linkblog_catlist_end)) $linkblog_catlist_end '</ul>';
  27.     # Item delimiters:
  28.     if(!isset($linkblog_item_before)) $linkblog_item_before '<li>';
  29.     if(!isset($linkblog_item_after)) $linkblog_item_after '</li>';
  30.  
  31.     /**
  32.      * This skin has no special formatting for the linkblog, so...
  33.      * However you can replace this file with the full handler (in /blogs) and customize it!
  34.      * all we want to do here, is call the default linkblog handler.
  35.      */
  36.     require get_path('skins').'/_linkblog.php';
  37.  
  38. ?>

Documentation generated on Tue, 20 May 2008 01:55:23 +0200 by phpDocumentor 1.4.2