/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. */
  13. if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14. ?>
  15. <div id="sidebar-right" class="small-sidebar">
  16. <ul>
  17. <?php
  18. // ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
  19. // Display container contents:
  20. skin_container( NT_('Sidebar 2'), 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. <?php
  51. // Please help us promote b2evolution and leave this logo on your blog:
  52. powered_by( array(
  53. 'block_start' => '<div class="powered_by">',
  54. 'block_end' => '</div> <!-- end of class="powered_by" -->',
  55. // Check /rsc/img/ for other possible images -- Don't forget to change or remove width & height too
  56. 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif',
  57. 'img_width' => 120,
  58. 'img_height' => 32,
  59. ) );
  60. ?>
  61. </ul>
  62. </div> <!-- end of id="sidebar-right" -->