forked from cod3cow/Blank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent.php
executable file
·39 lines (33 loc) · 1.86 KB
/
component.php
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
34
35
36
37
38
39
<?php
/*------------------------------------------------------------------------
# author your name or company
# copyright Copyright (C) 2011 example.com. All rights reserved.
# @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website http://www.example.com
-------------------------------------------------------------------------*/
defined( '_JEXEC' ) or die;
// variables
$tpath = $this->baseurl.'/templates/'.$this->template;
$this->setGenerator(null);
?><!doctype html>
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?php echo $this->language; ?>"> <!--<![endif]-->
<head>
<jdoc:include type="head" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- mobile viewport optimized -->
<link rel="apple-touch-icon-precomposed" href="<?php echo $tpath; ?>/apple-touch-icon-57x57.png"> <!-- iphone, ipod, android -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $tpath; ?>/apple-touch-icon-72x72.png"> <!-- ipad -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $tpath; ?>/apple-touch-icon-114x114.png"> <!-- iphone retina -->
<link href="<?php echo $tpath; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <!-- favicon -->
<link href="<?php echo $tpath; ?>/css/print.css?v=1" rel="stylesheet" type="text/css" /> <!-- stylesheet -->
<script src="<?php echo $tpath; ?>/js/modernizr.js"></script> <!-- modernizr -->
</head>
<body id="print">
<div id="overall">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
<?php if ($_GET['print'] == '1') echo '<script type="text/javascript">window.print();</script>'; ?>
</body>
</html>