b2evolution PHP Cross Reference Blogging Systems

Source: /skins/evopress/_sidebar.inc.php - 59 lines - 1957 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 evopress
  12   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  ?>
  16  <div id="sidebar" class="sidebar-<?php echo $Skin->get_setting( 'sidebar_position' ); ?>">
  17  
  18      <ul>
  19      <?php
  20          // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
  21          // Display container contents:
  22          skin_container( NT_('Sidebar'), array(
  23                  // The following (optional) params will be used as defaults for widgets included in this container:
  24                  // This will enclose each widget in a block:
  25                  'block_start' => '<li class="$wi_class$">',
  26                  'block_end' => '</li>',
  27                  // This will enclose the title of each widget:
  28                  'block_title_start' => '<h2>',
  29                  'block_title_end' => '</h2>',
  30                  // If a widget displays a list, this will enclose that list:
  31                  'list_start' => '<ul>',
  32                  'list_end' => '</ul>',
  33                  // This will enclose each item in a list:
  34                  'item_start' => '<li>',
  35                  'item_end' => '</li>',
  36                  // This will enclose sub-lists in a list:
  37                  'group_start' => '<ul>',
  38                  'group_end' => '</ul>',
  39                  // This will enclose (foot)notes:
  40                  'notes_start' => '<div class="notes">',
  41                  'notes_end' => '</div>',
  42              ) );
  43          // ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
  44      ?>
  45      </ul>
  46  
  47      <?php
  48          // Please help us promote b2evolution and leave this logo on your blog:
  49          powered_by( array(
  50                  'block_start' => '<div class="powered_by">',
  51                  'block_end'   => '</div>',
  52                  // Check /rsc/img/ for other possible images -- Don't forget to change or remove width & height too
  53                  'img_url'     => '$rsc$img/powered-by-b2evolution-120t.gif',
  54                  'img_width'   => 120,
  55                  'img_height'  => 32,
  56              ) );
  57      ?>
  58  
  59  </div>

title

Description

title

Description

title

Description

title

title

Body