/b2evolution/nonzero/_body_header.inc.php

http://laibcomsthemes.googlecode.com/ · PHP · 72 lines · 46 code · 5 blank · 21 comment · 1 complexity · 9f0d7929105be888c58d442b455d2189 MD5 · raw file

  1. <?php
  2. /**
  3. * This is the BODY header 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="outer">
  16. <div id="header" onclick="location.href='<?php $Blog->disp('url') ?>';" style="cursor: pointer;">
  17. <div id="header_inner" class="widthstyle">
  18. <div id="pagetop">
  19. <?php
  20. // Display container and contents:
  21. skin_container( NT_('Page Top'), array(
  22. // The following params will be used as defaults for widgets included in this container:
  23. 'block_start' => '<div class="$wi_class$">',
  24. 'block_end' => '</div>',
  25. 'block_display_title' => false,
  26. 'list_start' => '<ul>',
  27. 'list_end' => '</ul>',
  28. 'item_start' => '<li>',
  29. 'item_end' => '</li>',
  30. ) );
  31. ?>
  32. </div> <!-- end of id="pagetop" -->
  33. <div id="logo">
  34. <?php
  35. // ------------------------- "Header" CONTAINER EMBEDDED HERE --------------------------
  36. // Display container and contents:
  37. skin_container( NT_('Header'), array(
  38. // The following params will be used as defaults for widgets included in this container:
  39. 'block_start' => '<span class="$wi_class$">',
  40. 'block_end' => '</span>',
  41. 'block_title_start' => '<h1>',
  42. 'block_title_end' => '</h1>',
  43. ) );
  44. // ----------------------------- END OF "Header" CONTAINER -----------------------------
  45. ?>
  46. </div> <!-- end of id="logo" -->
  47. <div id="menu">
  48. <ul>
  49. <?php
  50. // ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
  51. // Display container and contents:
  52. skin_container( NT_('Menu'), array(
  53. // The following params will be used as defaults for widgets included in this container:
  54. 'block_start' => '',
  55. 'block_end' => '',
  56. 'block_display_title' => false,
  57. 'list_start' => '',
  58. 'list_end' => '',
  59. 'item_start' => '<li>',
  60. 'item_end' => '</li>',
  61. ) );
  62. // ----------------------------- END OF "Menu" CONTAINER -----------------------------
  63. ?>
  64. </ul>
  65. </div> <!-- end of id="menu" -->
  66. </div> <!-- end of id="header_inner" -->
  67. </div> <!-- end of id="header" -->