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

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