b2evolution PHP Cross Reference Blogging Systems

Source: /skins/evocamp/_sidebar_right.inc.php - 62 lines - 2001 bytes - Text - Print

Description: This is the sidebar include template.

   1  <?php
   2  /**
   3   * This is the sidebar include template.
   4   *
   5   * For a quick explanation of b2evo 2.0 skins, please start here:
   6   * {@link http://b2evolution.net/man/skin-structure}
   7   *
   8   * This is meant to be included in a page template.
   9   *
  10   * @package evoskins
  11   * @subpackage evocamp
  12   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  ?>
  15  
  16  <div id="contentright">
  17  
  18      <div id="sidebar">
  19          <ul>
  20          <?php
  21              // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
  22              // Display container contents:
  23              skin_container( NT_('Sidebar 2'), array(
  24                      // The following (optional) params will be used as defaults for widgets included in this container:
  25                      // This will enclose each widget in a block:
  26                      'block_start' => '<li class="$wi_class$">',
  27                      'block_end' => '</li>',
  28                      // This will enclose the title of each widget:
  29                      'block_title_start' => '<h2>',
  30                      'block_title_end' => '</h2>',
  31                      // If a widget displays a list, this will enclose that list:
  32                      'list_start' => '<ul>',
  33                      'list_end' => '</ul>',
  34                      // This will enclose each item in a list:
  35                      'item_start' => '<li>',
  36                      'item_end' => '</li>',
  37                      // This will enclose sub-lists in a list:
  38                      'group_start' => '<ul>',
  39                      'group_end' => '</ul>',
  40                      // This will enclose (foot)notes:
  41                      'notes_start' => '<div class="notes">',
  42                      'notes_end' => '</div>',
  43                      'author_link_text' => 'preferredname',
  44                  ) );
  45              // ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
  46          ?>
  47          </ul>
  48  
  49          <?php
  50              // Please help us promote b2evolution and leave this logo on your blog:
  51              powered_by( array(
  52                      'block_start' => '<div class="powered_by">',
  53                      'block_end'   => '</div>',
  54                      // Check /rsc/img/ for other possible images -- Don't forget to change or remove width & height too
  55                      'img_url'     => '$rsc$img/powered-by-b2evolution-120t.gif',
  56                      'img_width'   => 120,
  57                      'img_height'  => 32,
  58                  ) );
  59          ?>
  60      </div>
  61  
  62  </div>

title

Description

title

Description

title

Description

title

title

Body