Project

General

Profile

1
<?php
2
/**
3
* @package   yoo_solar
4
* @author    YOOtheme http://www.yootheme.com
5
* @copyright Copyright (C) YOOtheme GmbH
6
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
7
*/
8
//AK:adding new layout, that contains just the content - not headers, widgets, modules, etc
9
// no direct access
10
defined('_JEXEC') or die('Restricted access');
11

    
12
 
13
/*
14
// include config	
15
include_once(dirname(__FILE__).'/config.php');
16

    
17
// get warp
18
$warp = Warp::getInstance();
19

    
20
// load main template file, located in /layouts/template.php
21
echo $warp['template']->render('modal');
22
*/
23
echo '<div class="tm-block-main uk-block-default tm-padding-around" id="tm-main">';
24
// get warp
25
$warp = require(__DIR__.'/warp.php');
26
// load main theme file, located in /layouts/theme.php
27
echo $warp['template']->render('modal');
28
echo '</div>';
(12-12/18)