/b2evolution/firebug/_body_header.inc.php

http://laibcomsthemes.googlecode.com/ · PHP · 96 lines · 63 code · 11 blank · 22 comment · 2 complexity · d01f09e513dc5851eba903623709e5e2 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 firebug
  12. */
  13. if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14. ?>
  15. <div id="wrapper">
  16. <div id="header">
  17. <div id="logo">
  18. <?php
  19. // ------------------------- "Header" CONTAINER EMBEDDED HERE --------------------------
  20. // Display container and contents:
  21. skin_container( NT_('Header'), array(
  22. // The following params will be used as defaults for widgets included in this container:
  23. 'block_start' => '<span class="$wi_class$">',
  24. 'block_end' => '</span>',
  25. 'block_title_start' => '<h1>',
  26. 'block_title_end' => '</h1>',
  27. ) );
  28. // ----------------------------- END OF "Header" CONTAINER -----------------------------
  29. ?>
  30. </div> <!-- end of id="logo" -->
  31. <div class="floatright">
  32. <div id="pagetop">
  33. <?php
  34. // Display container and contents:
  35. skin_container( NT_('Page Top'), array(
  36. // The following params will be used as defaults for widgets included in this container:
  37. 'block_start' => '<div class="$wi_class$">',
  38. 'block_end' => '</div>',
  39. 'block_display_title' => false,
  40. 'list_start' => '<ul>',
  41. 'list_end' => '</ul>',
  42. 'item_start' => '<li>',
  43. 'item_end' => '</li>',
  44. ) );
  45. ?>
  46. </div> <!-- end of id="pagetop" -->
  47. <div id="topsearch">
  48. <form action="<?php $Blog->gen_blogurl() ?>" method="get" id="searchform" class="search">
  49. <input type="text" value="" name="s" id="s" class="swap_value" />
  50. <input type="image" src="rsc/img/go.gif" id="go" alt="Search" title="Search" />
  51. </form>
  52. </div> <!-- end of id="topsearch" -->
  53. </div> <!-- end of class="floatright" -->
  54. <div class="clear"></div>
  55. </div> <!-- end of id="header" -->
  56. <div id="nav">
  57. <ul>
  58. <?php
  59. // ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
  60. // Display container and contents:
  61. skin_container( NT_('Menu'), array(
  62. // The following params will be used as defaults for widgets included in this container:
  63. 'block_start' => '',
  64. 'block_end' => '',
  65. 'block_display_title' => false,
  66. 'list_start' => '',
  67. 'list_end' => '',
  68. 'item_start' => '<li>',
  69. 'item_end' => '</li>',
  70. ) );
  71. // ----------------------------- END OF "Menu" CONTAINER -----------------------------
  72. ?>
  73. <li class="date">
  74. <?php
  75. $format = $Skin->get_setting('date_format');
  76. if (empty ($format))
  77. {
  78. $format = locale_datefmt();
  79. }
  80. echo(mysql2date($format, date("Y-m-d h:i:s",time())));
  81. //$format = locale_datefmt();
  82. ?>
  83. <!--<script src="rsc/js/date.js"></script>--></li>
  84. </ul>
  85. </div> <!-- end of id="nav" -->