Cheetah
templates
tmpl_evo
scripts
ChTemplConfig.php
Go to the documentation of this file.
1
<?
php
2
8
require_once( CH_DIRECTORY_PATH_BASE .
'scripts/ChBaseConfig.php'
);
9
10
/***
11
template variables
12
***/
13
14
// path to the images used in the template
15
$site
[
'images'
] =
$site
[
'url'
] .
"templates/tmpl_{$GLOBALS['tmpl']}/images/"
;
16
$site
[
'zodiac'
] =
$site
[
'url'
] .
"templates/base/images/zodiac/"
;
17
$site
[
'icons'
] =
$site
[
'images'
] .
"icons/"
;
18
$site
[
'css_dir'
]=
"templates/tmpl_{$GLOBALS['tmpl']}/css/"
;
19
20
class
ChTemplConfig
extends
ChBaseConfig
21
{
22
function
__construct
(
$site
)
23
{
24
parent::__construct(
$site
);
25
26
$this->PageComposeColumnCalculation =
'%'
;
27
28
//--- Add default CSS ---//
29
$GLOBALS
[
'oSysTemplate'
]->addCssSystem(array(
30
'palette.css'
,
31
'general_phone.css'
,
32
'general_tablet.css'
,
33
'rrssb.css'
,
34
'top_menu_phone.css'
,
35
'top_menu_tablet.css'
36
));
37
38
//--- Add default JS ---//
39
$GLOBALS
[
'oSysTemplate'
]->addJsSystem(array(
40
'skrollr.min.js'
,
41
));
42
}
43
}
php
$site
$site['images']
Definition:
ChTemplConfig.php:15
ChTemplConfig\__construct
__construct($site)
Definition:
ChTemplConfig.php:22
ChTemplConfig
Definition:
ChTemplConfig.php:21
$GLOBALS
$GLOBALS['iAdminPage']
Definition:
advanced_settings.php:10
ChBaseConfig
Definition:
ChBaseConfig.php:9
Generated by
1.8.20