PageRenderTime 384ms CodeModel.GetById 201ms app.highlight 3ms RepoModel.GetById 178ms app.codeStats 0ms

/b2evolution/corporatemag/_sidebar-2.inc.php

http://laibcomsthemes.googlecode.com/
PHP | 65 lines | 36 code | 3 blank | 26 comment | 1 complexity | 5d0a935441c5aee2028e53be4fbe1be0 MD5 | raw file
 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://manual.b2evolution.net/Skins_2.0}
 7 *
 8 * This is meant to be included in a page template.
 9 *
10 * @package evoskins
11 * @subpackage nonzero
12 */
13if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
14?>
15
16<div id="sidebar-right" class="small-sidebar">
17	<ul>
18		<?php
19			// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
20			// Display container contents:
21			skin_container( NT_('Sidebar 2'), array(
22					// The following (optional) params will be used as defaults for widgets included in this container:
23					// This will enclose each widget in a block:
24					'block_start' => '<li id="$wi_ID$" class="widget $wi_class$">',
25					'block_end' => '</li>',
26					//
27					'block_display_title' => true,
28					// This will enclose the title of each widget:
29					'block_title_start' => '<h4 class="widget-title">',
30					'block_title_end' => '</h4>',
31					// This will enclose the content of the widget:
32					'block_content_start' => '<div class="widget-content">',
33					'block_content_end' => '</div> <!-- end of class="widget-content" -->',
34					// If a widget displays a list, this will enclose that list:
35					'list_start' => '<ul>',
36					'list_end' => '</ul>',
37					// This will enclose each item in a list:
38					'item_start' => '<li>',
39					'item_end' => '</li>',
40					//
41					'link_default_class' => 'default',
42					// This will enclose sub-lists in a list:
43					'group_start' => '<ul>',
44					'group_end' => '</ul>',
45					// This will enclose (foot)notes:
46					'notes_start' => '<div class="notes">',
47					'notes_end' => '</div> <!-- end of class="notes" -->',
48				) );
49			// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
50		?>
51
52		<?php
53			// Please help us promote b2evolution and leave this logo on your blog:
54			powered_by( array(
55					'block_start' => '<div class="powered_by">',
56					'block_end'   => '</div> <!-- end of class="powered_by" -->',
57					// Check /rsc/img/ for other possible images -- Don't forget to change or remove width & height too
58					'img_url'     => '$rsc$img/powered-by-b2evolution-120t.gif',
59					'img_width'   => 120,
60					'img_height'  => 32,
61				) );
62		?>
63	</ul>
64
65</div> <!-- end of id="sidebar-right" -->