/templates/atomic/index.php
PHP | 56 lines | 44 code | 6 blank | 6 comment | 3 complexity | e88f445e747ff7bca66015e9a9c301bc MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- <?php
- /**
- * @version $Id$
- * @package Joomla.Site
- * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE.txt
- */
- defined('_JEXEC') or die;
- JHTML::_('behavior.mootools');
- $app = JFactory::getApplication();
- ?>
- <?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
- <!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
- <head>
- <jdoc:include type="head" />
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/screen.css" type="text/css" media="screen, projection">
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/print.css" type="text/css" media="print">
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
- <!--[if lt IE 8]>
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/ie.css" type="text/css" media="screen, projection">
- <![endif]-->
- <!--[if IE]>
- <link type="text/css" rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_ie.css" />
- <![endif]-->
- <?php if($this->direction == 'rtl') : ?>
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/plugins/rtl/screen.css" type="text/css" />
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
- <?php endif; ?>
- <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/template.js"></script>
- </head>
- <body>
- <div id="main_container">
- <div id="head">
- <?php if($this->countModules('head')) : ?>
- <div id="feature">
- <jdoc:include type="modules" name="head" style="none" />
- </div>
- <?php endif; ?>
- </div>
- <div id="body">
- <jdoc:include type="message" />
- <jdoc:include type="component" />
- </div>
- <div id="footer">
- © <?php echo date('Y'); ?> <?php echo $app->getCfg('sitename'); ?>
- </div>
- </div>
- </body>
- </html>