<?php

/**
 * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
 * CC-BY License - http://creativecommons.org/licenses/by/3.0/
 */

require_once( BX_DIRECTORY_PATH_BASE . 'scripts/BxBaseConfig.php' );

/***
 template variables
***/

// path to the images used in the template
$site['images']	= $site['url'] . "templates/tmpl_{$GLOBALS['tmpl']}/images/";
$site['icons']	= $site['images'] . "icons/";
$site['css_dir']= "templates/tmpl_{$GLOBALS['tmpl']}/css/";

class BxTemplConfig extends BxBaseConfig
{
    function BxTemplConfig($site)
    {
        BxBaseConfig::BxBaseConfig($site);

        $this->PageComposeColumnCalculation = '%';

		//--- Add default CSS ---//
		$GLOBALS ['oSysTemplate']->addCssSystem(array(
			'palette.css',
			'general_phone.css',
			'general_tablet.css',
			'rrssb.css',
			'top_menu_phone.css',
			'top_menu_tablet.css'
		));

		//--- Add default JS ---//
		$GLOBALS ['oSysTemplate']->addJsSystem(array(
			'skrollr.min.js',
		));
    }
}
