-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomponent.php
More file actions
33 lines (31 loc) · 1.28 KB
/
component.php
File metadata and controls
33 lines (31 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php defined('_JEXEC') or die;
/**
* @package Unified HTML5 Template Framework for Joomla!
* @author Cristina Solana http://nightshiftcreative.com
* @author Matt Thomas http://construct-framework.com | http://betweenbrain.com
* @copyright Copyright (C) 2009 - 2011 Matt Thomas. All rights reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*/
// Returns a reference to the global document object
$doc = JFactory::getDocument();
// Define relative shortcut for current template directory
$template = 'templates/'.$this->template;
?>
<!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" />
<?php
$doc->addStyleSheet($template.'/css/print.css','text/css','print');
if ($this->direction == 'rtl')
$doc->addStyleSheet($template.'/css/rtl.css','screen');
?>
</head>
<body class="contentpane">
<?php if ($this->countModules('print-popup')) : ?>
<jdoc:include type="modules" name="print-popup" style="raw" />
<?php endif; ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>