Revision: 6484
Updated Code
at May 23, 2008 07:37 by panatlantica
Updated Code
<!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 --> <?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 --> <?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>
Revision: 6483
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 23, 2008 07:35 by panatlantica
Initial Code
<!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 --> <?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 --> <?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>
Initial URL
Initial Description
This is a stipped-down version of the original page.tpl.php from Drupal 5.x's Bluemarine theme. Just add your own DIVs.
Initial Title
Drupal 5.x page.tpl.php template
Initial Tags
textmate, template, drupal
Initial Language
PHP