b2evolution

Multilingual multiuser multiblog engine

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

Source for file _bloglist.php

Documentation is available at _bloglist.php

  1. <?php
  2.     /**
  3.      * This is the template that displays the links to the available blogs
  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 bluesky
  14.      */
  15.     if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  16.  
  17.     if$display_blog_list )
  18.     {    // We do *not* want the blog list to be displayed
  19.         return;
  20.     }
  21.  
  22.     # this is what will start and end your blog links
  23.     if(!isset($blog_list_start)) $blog_list_start '<h4>'.T_('Blogs').'&nbsp;:</h4><ul>';                
  24.     if(!isset($blog_list_end)) $blog_list_end '</ul>';                
  25.     # this is what will separate your blog links
  26.     if(!isset($blog_item_start)) $blog_item_start '<li>';                
  27.     if(!isset($blog_item_end)) $blog_item_end '</li>';
  28.     # This is the class of for the selected blog link:
  29.     if(!isset($blog_selected_link_class)) $blog_selected_link_class '';
  30.     # This is the class of for the other blog links:
  31.     if(!isset($blog_other_link_class)) $blog_other_link_class '';
  32.     # This is additionnal markup before and after the selected blog name
  33.     if(!isset($blog_selected_name_before)) $blog_selected_name_before '<strong>';                
  34.     if(!isset($blog_selected_name_after)) $blog_selected_name_after '</strong>';
  35.     # This is additionnal markup before and after the other blog names
  36.     if(!isset($blog_other_name_before)) $blog_other_name_before '';                
  37.     if(!isset($blog_other_name_after)) $blog_other_name_after '';
  38.     # This is the blogparam that will be displayed as the name:
  39.     if(!isset($blog_name_param)) $blog_name_param 'name';
  40.     # This is the blogparam that will be displayed as the link title:
  41.     if(!isset($blog_title_param)) $blog_title_param 'shortdesc';
  42.     
  43.     /**
  44.      * We now call the default bloglist handler...
  45.      * However you can replace this file with the full handler (in /blogs) and customize it!
  46.      */
  47.     require get_path('skins').'/_bloglist.php';
  48.  
  49. ?>

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