page.tpl.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. // krumo($page);
  3. ?>
  4. <?php
  5. ?>
  6. <div id="branding" class="clearfix">
  7. <?php print $breadcrumb; ?>
  8. <?php print render($title_prefix); ?>
  9. <?php if ($title): ?>
  10. <h1 class="page-title"><?php print $title; ?></h1>
  11. <?php endif; ?>
  12. <?php print render($title_suffix); ?>
  13. <?php print render($primary_local_tasks); ?>
  14. </div>
  15. <div id="page">
  16. <div id="content" class="clearfix">
  17. <?php if($page['sidebar_first']): ?>
  18. <div id="sidebar-first" class="sidebar">
  19. <?php print render($page['sidebar_first']); ?>
  20. </div>
  21. <?php endif; ?>
  22. <?php if($page['sidebar_first'] || $page['sidebar_second']): ?>
  23. <div id="center">
  24. <?php endif; ?>
  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 ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
  35. <?php print render($page['content']); ?>
  36. <?php if($page['sidebar_first'] || $page['sidebar_second']): ?>
  37. </div><!-- // #center -->
  38. <?php endif; ?>
  39. <?php if($page['sidebar_second']): ?>
  40. <div id="sidebar-last" class="sidebar">
  41. <?php print render($page['sidebar_second']); ?>
  42. </div>
  43. <?php endif; ?>
  44. </div>
  45. <div id="footer">
  46. <?php print $feed_icons; ?>
  47. </div>
  48. </div>