page.tpl.php

  1. 7.x drupal-7.x/modules/system/page.tpl.php
  2. 7.x drupal-7.x/themes/seven/page.tpl.php
  3. 7.x drupal-7.x/themes/garland/page.tpl.php
  4. 7.x drupal-7.x/themes/bartik/templates/page.tpl.php
  5. 7.x drupal-7.x/modules/block/tests/themes/block_test_theme/page.tpl.php
  6. 6.x drupal-6.x/modules/system/page.tpl.php
  7. 6.x drupal-6.x/themes/bluemarine/page.tpl.php
  8. 6.x drupal-6.x/themes/pushbutton/page.tpl.php
  9. 6.x drupal-6.x/themes/garland/page.tpl.php
4 theme calls to page.tpl.php
drupal_access_denied in drupal-6.x/includes/common.inc
Generates a 403 error if the request is not allowed.
drupal_not_found in drupal-6.x/includes/common.inc
Generates a 404 error if the request can not be handled.
index.php in drupal-6.x/index.php
The PHP page that serves all page requests on a Drupal installation.
system_batch_page in drupal-6.x/modules/system/system.admin.inc
Default page callback for batches.

File

drupal-6.x/themes/pushbutton/page.tpl.php
View source
  1. <?php
  2. ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  4. <head>
  5. <meta http-equiv="Content-Style-Type" content="text/css" />
  6. <?php print $head ?>
  7. <title><?php print $head_title ?></title>
  8. <?php print $styles ?>
  9. <?php print $scripts ?>
  10. </head>
  11. <body>
  12. <div class="hide"><a href="#content" title="<?php print t('Skip navigation') ?>." accesskey="2"><?php print t('Skip navigation') ?></a>.</div>
  13. <table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  14. <tr>
  15. <td id="home" width="10%">
  16. <?php if ($logo) : ?>
  17. <a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print($logo) ?>" alt="<?php print t('Home') ?>" border="0" /></a>
  18. <?php endif; ?>
  19. </td>
  20. <td id="site-info" width="20%">
  21. <?php if ($site_name) : ?>
  22. <div class='site-name'><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print($site_name) ?></a></div>
  23. <?php endif;?>
  24. <?php if ($site_slogan) : ?>
  25. <div class='site-slogan'><?php print($site_slogan) ?></div>
  26. <?php endif;?>
  27. </td>
  28. <td class="primary-links" width="70%" align="center" valign="middle">
  29. <?php print theme('links', $primary_links, array('class' => 'links', 'id' => 'navlist')) ?>
  30. </td>
  31. </tr>
  32. </table>
  33. <table id="secondary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  34. <tr>
  35. <td class="secondary-links" width="75%" align="center" valign="middle">
  36. <?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnavlist')) ?>
  37. </td>
  38. <td width="25%" align="center" valign="middle">
  39. <?php print $search_box ?>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td colspan="2"><div><?php print $header ?></div></td>
  44. </tr>
  45. </table>
  46. <table id="content" border="0" cellpadding="15" cellspacing="0" width="100%">
  47. <tr>
  48. <?php if ($left != ""): ?>
  49. <td id="sidebar-left">
  50. <?php print $left ?>
  51. </td>
  52. <?php endif; ?>
  53. <td valign="top">
  54. <?php if ($mission != ""): ?>
  55. <div id="mission"><?php print $mission ?></div>
  56. <?php endif; ?>
  57. <div id="main">
  58. <?php if ($title != ""): ?>
  59. <?php print $breadcrumb ?>
  60. <h1 class="title"><?php print $title ?></h1>
  61. <?php if ($tabs != ""): ?>
  62. <div class="tabs"><?php print $tabs ?></div>
  63. <?php endif; ?>
  64. <?php endif; ?>
  65. <?php if ($show_messages && $messages != ""): ?>
  66. <?php print $messages ?>
  67. <?php endif; ?>
  68. <?php if ($help != ""): ?>
  69. <div id="help"><?php print $help ?></div>
  70. <?php endif; ?>
  71. <!-- start main content -->
  72. <?php print $content; ?>
  73. <?php print $feed_icons; ?>
  74. <!-- end main content -->
  75. </div><!-- main -->
  76. </td>
  77. <?php if ($right != ""): ?>
  78. <td id="sidebar-right">
  79. <?php print $right ?>
  80. </td>
  81. <?php endif; ?>
  82. </tr>
  83. </table>
  84. <table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  85. <tr>
  86. <td align="center" valign="middle">
  87. <?php if (isset($primary_links)) : ?>
  88. <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
  89. <?php endif; ?>
  90. <?php if (isset($secondary_links)) : ?>
  91. <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
  92. <?php endif; ?>
  93. </td>
  94. </tr>
  95. </table>
  96. <?php if ($footer_message || $footer) : ?>
  97. <div id="footer-message">
  98. <?php print $footer_message . $footer;?>
  99. </div>
  100. <?php endif; ?>
  101. <?php print $closure;?>
  102. </body>
  103. </html>