-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcomponent.php
More file actions
33 lines (26 loc) · 813 Bytes
/
component.php
File metadata and controls
33 lines (26 loc) · 813 Bytes
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
/**
* J!Blank Template for Joomla by JBlank.pro (JBZoo.com)
*
* @package JBlank
* @author SmetDenis <admin@jbzoo.com>
* @copyright Copyright (c) JBlank.pro
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
* @link http://jblank.pro/ JBlank project page
*/
defined('_JEXEC') or die;
// init $tpl helper
require dirname(__FILE__) . '/php/init.php';
?><?php echo $tpl->renderHTML(); ?>
<head>
<jdoc:include type="head"/>
</head>
<body class="<?php echo $tpl->getBodyClasses(); ?>" id="page-print">
<div class="component-wrapper">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
<?php if ($tpl->request('print')): ?>
<script type="text/javascript">window.print();</script>
<?php endif; ?>
</body></html>