page.tpl.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php if ($page['help'] || ($show_messages && $messages)): ?>
  2. <div id='console'><div class='limiter clearfix'>
  3. <?php print render($page['help']); ?>
  4. <?php if ($show_messages && $messages): print $messages; endif; ?>
  5. </div></div>
  6. <?php endif; ?>
  7. <?php if ($page['header']): ?>
  8. <div id='header'><div class='limiter clearfix'>
  9. <?php print render($page['header']); ?>
  10. </div></div>
  11. <?php endif; ?>
  12. <div id='branding'><div class='limiter clearfix'>
  13. <?php if ($site_name): ?><h1 class='site-name'><?php print $site_name ?></h1><?php endif; ?>
  14. </div></div>
  15. <div id='navigation'><div class='limiter clearfix'>
  16. <?php if (isset($main_menu)) : ?>
  17. <?php print theme('links', array('links' => $main_menu, 'attributes' => array('class' => 'links main-menu'))) ?>
  18. <?php endif; ?>
  19. <?php if (isset($secondary_menu)) : ?>
  20. <?php print theme('links', array('links' => $secondary_menu, 'attributes' => array('class' => 'links secondary-menu'))) ?>
  21. <?php endif; ?>
  22. </div></div>
  23. <?php if ($page['highlighted']): ?>
  24. <div id='highlighted'><div class='limiter clearfix'>
  25. <?php print render($page['highlighted']); ?>
  26. </div></div>
  27. <?php endif; ?>
  28. <div id='page'><div class='limiter clearfix'>
  29. <?php if ($page['sidebar_first']): ?>
  30. <div id='left' class='clearfix'><?php print render($page['sidebar_first']) ?></div>
  31. <?php endif; ?>
  32. <div id='main-content' class='clearfix'>
  33. <?php if ($breadcrumb) print $breadcrumb; ?>
  34. <?php print render($title_prefix); ?>
  35. <?php if ($title): ?><h1 class='page-title'><?php print $title ?></h1><?php endif; ?>
  36. <?php print render($title_suffix); ?>
  37. <?php if ($primary_local_tasks): ?><ul class='links clearfix'><?php print render($primary_local_tasks) ?></ul><?php endif; ?>
  38. <?php if ($secondary_local_tasks): ?><ul class='links clearfix'><?php print render($secondary_local_tasks) ?></ul><?php endif; ?>
  39. <?php if ($action_links): ?><ul class='links clearfix'><?php print render($action_links); ?></ul><?php endif; ?>
  40. <div id='content' class='clearfix'><?php print render($page['content']) ?></div>
  41. </div>
  42. <?php if ($page['sidebar_second']): ?>
  43. <div id='right' class='clearfix'><?php print render($page['sidebar_second']) ?></div>
  44. <?php endif; ?>
  45. </div></div>
  46. <div id="footer"><div class='limiter clearfix'>
  47. <?php print $feed_icons ?>
  48. <?php print render($page['footer']) ?>
  49. </div></div>