page.tpl.php

File

page.tpl.php
View source
  1. <div id="page-wrapper">
  2. <div id="header" class='reverse'><div class='limiter clearfix'>
  3. <?php if (isset($logo)): ?>
  4. <div class="logo">
  5. <a href="<?php print $front_page; ?>"><img src="<?php print $svg_logo; ?>" onerror="this.src='<?php print $logo; ?>'" /></a>
  6. </div>
  7. <?php endif; ?>
  8. <?php if ($site_name): ?><div class='site-name'><?php print $site_name ?></div><?php endif; ?>
  9. </div></div><!-- /header -->
  10. <div id='navigation' class='reverse'><div class='limiter clearfix'>
  11. <?php if ($breadcrumb) print $breadcrumb; ?>
  12. <?php if ($main_menu): ?>
  13. <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'inline', 'clearfix')))); ?>
  14. <?php endif; ?>
  15. </div></div>
  16. <?php if ($messages): ?>
  17. <div id="console" class='reverse'><div class='limiter clearfix'>
  18. <?php if ($messages): print $messages; endif; ?>
  19. </div></div>
  20. <?php endif; ?>
  21. <div id='header-region'><div class='limiter clearfix'>
  22. <?php print render($page['header']); ?>
  23. <?php print render($title_prefix); ?>
  24. <?php if ($title): ?><h2 class='page-title'><?php print $title ?></h2><?php endif; ?>
  25. <?php print render($title_suffix); ?>
  26. <?php if ($tabs): ?><?php print render($tabs); ?><?php endif; ?>
  27. </div></div>
  28. <div id='page'><div class='limiter clearfix'>
  29. <?php if ($tabs2): ?><?php print render($tabs2); ?><?php endif; ?>
  30. <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
  31. <div id='main'>
  32. <div class='page-content'>
  33. <?php print render($page['help']); ?>
  34. <?php print render($page['content']); ?>
  35. <?php print render($page['content_bottom']); ?>
  36. <?php print $feed_icons ?>
  37. </div>
  38. </div><!-- /main -->
  39. <?php
  40. $sidebar = render($page['sidebar_first']) . render($page['sidebar_second']); ?>
  41. <?php if (!empty($sidebar)): ?>
  42. <div id="right" class="sidebar"><?php print $sidebar; ?></div>
  43. <?php endif; ?>
  44. </div></div>
  45. <div id="footer" class='reverse'><div class='limiter'>
  46. <?php print render($page['footer']); ?>
  47. <?php if ($secondary_menu): ?>
  48. <?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline')))); ?>
  49. <?php endif; ?>
  50. </div></div>
  51. </div> <!-- /#page-wrapper -->