page.tpl.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. /**
  3. * @file
  4. * Main page template.
  5. */
  6. ?>
  7. <div id="branding" class="clearfix">
  8. <?php print $breadcrumb; ?>
  9. <?php print render($title_prefix); ?>
  10. <?php if ($title): ?>
  11. <h1 class="page-title"><?php print $title; ?></h1>
  12. <?php endif; ?>
  13. <?php print render($title_suffix); ?>
  14. </div>
  15. <div id="navigation">
  16. <?php if ($primary_local_tasks): ?>
  17. <?php print render($primary_local_tasks); ?>
  18. <?php endif; ?>
  19. <?php if ($secondary_local_tasks): ?>
  20. <div class="tabs-secondary clearfix"><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul></div>
  21. <?php endif; ?>
  22. </div>
  23. <div id="page">
  24. <div id="content" class="clearfix">
  25. <div class="element-invisible"><a id="main-content"></a></div>
  26. <?php if ($messages): ?>
  27. <div id="console" class="clearfix"><?php print $messages; ?></div>
  28. <?php endif; ?>
  29. <?php if ($page['help']): ?>
  30. <div id="help">
  31. <?php print render($page['help']); ?>
  32. </div>
  33. <?php endif; ?>
  34. <?php if (isset($page['content_before'])): ?>
  35. <div id="content-before">
  36. <?php print render($page['content_before']); ?>
  37. </div>
  38. <?php endif; ?>
  39. <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
  40. <div id="content-wrapper">
  41. <?php if (isset($page['sidebar_left'])): ?>
  42. <div id="sidebar-left">
  43. <?php print render($page['sidebar_left']); ?>
  44. </div>
  45. <?php endif; ?>
  46. <div id="main-content">
  47. <?php print render($page['content']); ?>
  48. </div>
  49. <?php if (isset($page['sidebar_right'])): ?>
  50. <div id="sidebar-right">
  51. <?php print render($page['sidebar_right']); ?>
  52. </div>
  53. <?php endif; ?>
  54. </div>
  55. <?php if (isset($page['content_after'])): ?>
  56. <div id="content-after">
  57. <?php print render($page['content_after']); ?>
  58. </div>
  59. <?php endif; ?>
  60. </div>
  61. <div id="footer">
  62. <?php print $feed_icons; ?>
  63. </div>
  64. </div>