PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/b2evolution/corporatemag/_sidebar-w-1.inc.php

http://laibcomsthemes.googlecode.com/
PHP | 53 lines | 27 code | 2 blank | 24 comment | 1 complexity | 7a38bcbbd897607a0df0df91c7f6204a 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="primary">
17	<ul>
18		<?php
19			// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
20			// Display container contents:
21			skin_container( NT_('Sidebar-w-1'), 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	</ul>
52
53</div> <!-- end of id="primary" -->