forked from likrion/master3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponent.php
More file actions
29 lines (26 loc) · 853 Bytes
/
component.php
File metadata and controls
29 lines (26 loc) · 853 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
<?php
/**
* @package Joomla.Site
* @subpackage Templates.master3
* @copyright Copyright (C) Aleksey A. Morozov. All rights reserved.
* @license GNU General Public License version 3 or later; see http://www.gnu.org/licenses/gpl-3.0.txt
*/
defined('_JEXEC') or die;
JLoader::register('Master3Config', JPATH_LIBRARIES . '/master3/config.php');
$config = \Master3Config::getInstance();
$systemOutput = $config->getSystemOutput();
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head"/>
</head>
<body class="<?php echo $config->getBodyClasses(); ?>">
<jdoc:include type="message" />
<?php if ($systemOutput) { ?>
<main id="content">
<?php echo $systemOutput; ?>
</main>
<?php } ?>
</body>
</html>