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

http://laibcomsthemes.googlecode.com/ · PHP · 46 lines · 23 code · 2 blank · 21 comment · 1 complexity · c143f0bba7dad5fd75363febadfc9ff5 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 pixel
  12. */
  13. if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14. ?>
  15. <div id="sidebar_full">
  16. <ul>
  17. <?php
  18. // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
  19. // Display container contents:
  20. skin_container( NT_('Sidebar-w-1'), array(
  21. // The following (optional) params will be used as defaults for widgets included in this container:
  22. // This will enclose each widget in a block:
  23. 'block_start' => '<li id="$wi_ID$" class="$wi_class$"><div class="sidebarbox">',
  24. 'block_end' => '</div> <!-- end of class="sidebarbox" --></li>',
  25. // This will enclose the title of each widget:
  26. 'block_title_start' => '<h2>',
  27. 'block_title_end' => '</h2>',
  28. // If a widget displays a list, this will enclose that list:
  29. 'list_start' => '<ul>',
  30. 'list_end' => '</ul>',
  31. // This will enclose each item in a list:
  32. 'item_start' => '<li>',
  33. 'item_end' => '</li>',
  34. // This will enclose sub-lists in a list:
  35. 'group_start' => '<ul>',
  36. 'group_end' => '</ul>',
  37. // This will enclose (foot)notes:
  38. 'notes_start' => '<div class="notes">',
  39. 'notes_end' => '</div> <!-- end of class="notes" -->',
  40. ) );
  41. // ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
  42. ?>
  43. </ul>
  44. </div> <!-- end of id="sidebar_full" -->