/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. */
  13. if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14. ?>
  15. <div id="primary">
  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="widget $wi_class$">',
  24. 'block_end' => '</li>',
  25. //
  26. 'block_display_title' => true,
  27. // This will enclose the title of each widget:
  28. 'block_title_start' => '<h4 class="widget-title">',
  29. 'block_title_end' => '</h4>',
  30. // This will enclose the content of the widget:
  31. 'block_content_start' => '<div class="widget-content">',
  32. 'block_content_end' => '</div> <!-- end of class="widget-content" -->',
  33. // If a widget displays a list, this will enclose that list:
  34. 'list_start' => '<ul>',
  35. 'list_end' => '</ul>',
  36. // This will enclose each item in a list:
  37. 'item_start' => '<li>',
  38. 'item_end' => '</li>',
  39. //
  40. 'link_default_class' => 'default',
  41. // This will enclose sub-lists in a list:
  42. 'group_start' => '<ul>',
  43. 'group_end' => '</ul>',
  44. // This will enclose (foot)notes:
  45. 'notes_start' => '<div class="notes">',
  46. 'notes_end' => '</div> <!-- end of class="notes" -->',
  47. ) );
  48. // ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
  49. ?>
  50. </ul>
  51. </div> <!-- end of id="primary" -->