/ 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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!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> <?php print $head ?> <?php print $styles ?> <?php print $scripts ?> <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 --> <!-- secondary links --> <!-- search --> <?php print $search_box ?> <!-- header --> <?php print $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> <?php print $help ?> <?php print $messages ?> <?php print $content; ?> <!-- 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: --> <?php print $closure ?> </body> </html>