Forked from
UNL Information Services / UNL-CMS
1064 commits behind the upstream repository.
-
Eric Rasmussen authored
changed unl_wdn to use raw template rather than Templates PEAR package - enables the inclusion of all Drupal's vars in every location they tuck them - and will make it easier to work with the new html/page tpl format; update gforge location; delete .htaccess and create .htaccess.sample git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@99 20a16fea-79d4-4915-8869-1ea9d5ebf173
Eric Rasmussen authoredchanged unl_wdn to use raw template rather than Templates PEAR package - enables the inclusion of all Drupal's vars in every location they tuck them - and will make it easier to work with the new html/page tpl format; update gforge location; delete .htaccess and create .htaccess.sample git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@99 20a16fea-79d4-4915-8869-1ea9d5ebf173
html.tpl.php 3.58 KiB
<?php
/**
* @file
* Default theme implementation to display the basic html structure of a single
* Drupal page.
*
* Variables:
* - $css: An array of CSS files for the current page.
* - $language: (object) The language the site is being displayed in.
* $language->language contains its textual representation.
* $language->dir contains the language direction. It will either be 'ltr' or 'rtl'.
* - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document.
* - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data.
* - $head_title: A modified version of the page title, for use in the TITLE tag.
* - $head: Markup for the HEAD section (including meta tags, keyword tags, and
* so on).
* - $styles: Style tags necessary to import all CSS files for the page.
* - $scripts: Script tags necessary to load the JavaScript files and settings
* for the page.
* - $page_top: Initial markup from any modules that have altered the
* page. This variable should always be output first, before all other dynamic
* content.
* - $page: The rendered page content.
* - $page_bottom: Final closing markup from any modules that have altered the
* page. This variable should always be output last, after all other dynamic
* content.
* - $classes String of classes that can be used to style contextually through
* CSS.
*
* @see template_preprocess()
* @see template_preprocess_html()
* @see template_process()
*/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"
<?php print $rdf_namespaces; ?>>
<head profile="<?php print $grddl_profile; ?>">
<!--
Membership and regular participation in the UNL Web Developer Network
is required to use the UNL templates. Visit the WDN site at
http://wdn.unl.edu/. Click the WDN Registry link to log in and
register your unl.edu site.
All UNL template code is the property of the UNL Web Developer Network.
The code seen in a source code view is not, and may not be used as, a
template. You may not use this code, a reverse-engineered version of
this code, or its associated visual presentation in whole or in part to
create a derivative work.
This message may not be removed from any pages based on the UNL site template.
$Id: php.fixed.dwt.php 536 2009-07-23 15:47:30Z bbieber2 $
-->
<link rel="stylesheet" type="text/css" media="screen" href="/wdn/templates_3.0/css/all.css" />
<link rel="stylesheet" type="text/css" media="print" href="/wdn/templates_3.0/css/print.css" />
<script type="text/javascript" src="/wdn/templates_3.0/scripts/all.js"></script>
<?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'].'/wdn/templates_3.0/includes/browserspecifics.html'); ?>
<?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'].'/wdn/templates_3.0/includes/metanfavico.html'); ?>
<!-- TemplateBeginEditable name="doctitle" -->
<title><?php print $head_title; ?></title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" -->
<!-- Place optional header elements here -->
<?php print $head; ?>
<?php print $styles; ?>
<?php print $scripts; ?>
<?php if (theme_get_setting('use_base')) : ?>
<base href="<?php echo url('<front>', array('absolute' => TRUE))?>" />
<?php endif; ?>
<!-- TemplateEndEditable -->
</head>
<body class="fixed <?php print $classes; ?>" <?php print $attributes;?>>
<?php print $page_top; ?>
<?php print $page; ?>
<?php print $page_bottom; ?>
</body>
</html>