1. 4.7.x themes/pushbutton/page.tpl.php
  2. 4.7.x themes/bluemarine/page.tpl.php
  3. 5.x themes/bluemarine/page.tpl.php
  4. 5.x themes/garland/page.tpl.php
  5. 5.x themes/pushbutton/page.tpl.php
  6. 6.x modules/system/page.tpl.php
  7. 6.x themes/bluemarine/page.tpl.php
  8. 6.x themes/pushbutton/page.tpl.php
  9. 6.x themes/garland/page.tpl.php
  10. 7.x modules/block/tests/themes/block_test_theme/page.tpl.php
  11. 7.x themes/bartik/templates/page.tpl.php
  12. 7.x themes/garland/page.tpl.php
  13. 7.x themes/seven/page.tpl.php
  14. 7.x modules/system/page.tpl.php
1 theme call to page.tpl.php
system_element_info in modules/system/system.module
Implements hook_element_info().

File

themes/garland/page.tpl.php
View source
  1. <?php
  2. ?>
  3. <?php print render($page['header']); ?>
  4. <div id="wrapper">
  5. <div id="container" class="clearfix">
  6. <div id="header">
  7. <div id="logo-floater">
  8. <?php if ($logo || $site_title): ?>
  9. <?php if ($title): ?>
  10. <div id="branding"><strong><a href="<?php print $front_page ?>">
  11. <?php if ($logo): ?>
  12. <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" title="<?php print $site_name_and_slogan ?>" id="logo" />
  13. <?php endif; ?>
  14. <?php print $site_html ?>
  15. </a></strong></div>
  16. <?php else: /* Use h1 when the content title is empty */ ?>
  17. <h1 id="branding"><a href="<?php print $front_page ?>">
  18. <?php if ($logo): ?>
  19. <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" title="<?php print $site_name_and_slogan ?>" id="logo" />
  20. <?php endif; ?>
  21. <?php print $site_html ?>
  22. </a></h1>
  23. <?php endif; ?>
  24. <?php endif; ?>
  25. </div>
  26. <?php if ($primary_nav): print $primary_nav; endif; ?>
  27. <?php if ($secondary_nav): print $secondary_nav; endif; ?>
  28. </div> <!-- /#header -->
  29. <?php if ($page['sidebar_first']): ?>
  30. <div id="sidebar-first" class="sidebar">
  31. <?php print render($page['sidebar_first']); ?>
  32. </div>
  33. <?php endif; ?>
  34. <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
  35. <?php print $breadcrumb; ?>
  36. <?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
  37. <a id="main-content"></a>
  38. <?php if ($tabs): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
  39. <?php print render($title_prefix); ?>
  40. <?php if ($title): ?>
  41. <h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1>
  42. <?php endif; ?>
  43. <?php print render($title_suffix); ?>
  44. <?php if ($tabs): ?><?php print render($tabs); ?></div><?php endif; ?>
  45. <?php print render($tabs2); ?>
  46. <?php print $messages; ?>
  47. <?php print render($page['help']); ?>
  48. <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
  49. <div class="clearfix">
  50. <?php print render($page['content']); ?>
  51. </div>
  52. <?php print $feed_icons ?>
  53. <?php print render($page['footer']); ?>
  54. </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  55. <?php if ($page['sidebar_second']): ?>
  56. <div id="sidebar-second" class="sidebar">
  57. <?php print render($page['sidebar_second']); ?>
  58. </div>
  59. <?php endif; ?>
  60. </div> <!-- /#container -->
  61. </div> <!-- /#wrapper -->