Drupal 5.x page.tpl.php template
Published in: PHP
This is a stipped-down version of the original page.tpl.php from Drupal 5.x's Bluemarine theme. Just add your own DIVs.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="
<?php print $language ?>" xml:lang="
<?php print $language ?>">
<head>
<title>
<?php print $head_title ?></title>
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
</head>
<body>
<!-- logo -->
<?php if ($logo) { ?><a href="
<?php print $base_path ?>" title="
<?php print t
('Home') ?>"><img src="
<?php print $logo ?>" alt="
<?php print t
('Home') ?>" /></a>
<?php } ?> <!-- site name -->
<?php if ($site_name) { ?><h1 class='site-name'><a href="
<?php print $base_path ?>" title="
<?php print t
('Home') ?>">
<?php print $site_name ?></a></h1>
<?php } ?> <!-- sloagan -->
<?php if ($site_slogan) { ?><?php print $site_slogan ?><?php } ?>
<!-- primary links -->
<?php if (isset($primary_links)) { ?><?php print theme
('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?> <!-- secondary links -->
<?php if (isset($secondary_links)) { ?><?php print theme
('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?>
<!-- search -->
<?php print $search_box ?>
<!-- header -->
<!-- mission -->
<?php if ($mission) { ?><?php print $mission ?><?php } ?>
<!-- breadcrumb -->
<?php print $breadcrumb ?>
<!-- content with headline and tabs -->
<h1 class="title">
<?php print $title ?></h1>
<div class="tabs">
<?php print $tabs ?></div>
<!-- sidebars -->
<?php if ($sidebar_left) { ?>
<?php print $sidebar_left ?> <?php } ?>
<?php if ($sidebar_right) { ?>
<?php print $sidebar_right ?> <?php } ?>
<!-- feed icon -->
<?php print $feed_icons;
?>
<!-- footer -->
<?php print $footer_message ?>
<!-- and finally close the document like this: -->
</body>
</html>
Report this snippet