static/ -> STATIC_URL

Spells: rephrased condition for relTab: Quests
Announcements: ..can now have a userGroup set to show to
This commit is contained in:
Sarjuuk
2014-04-15 23:51:46 +02:00
parent 23e831be25
commit d34838ea2c
26 changed files with 113 additions and 107 deletions

View File

@@ -252,14 +252,14 @@ if (!$smarty->loadCache($cacheKeyPage, $pageData))
BUTTON_VIEW3D => ['displayId' => $object->getField('displayId'), 'type' => TYPE_OBJECT, 'typeId' => $_id]
),
'reqCSS' => array(
$pageText ? ['path' => 'static/css/Book.css'] : null,
// ['path' => 'static/css/Mapper.css'],
// ['path' => 'static/css/Mapper_ie6.css', 'ieCond' => 'lte IE 6']
$pageText ? ['path' => STATIC_URL.'/css/Book.css'] : null,
// ['path' => STATIC_URL.'/css/Mapper.css'],
// ['path' => STATIC_URL.'/css/Mapper_ie6.css', 'ieCond' => 'lte IE 6']
),
'reqJS' => array(
$pageText ? 'static/js/Book.js' : null,
// 'static/js/Mapper.js',
'static/js/swfobject.js'
$pageText ? STATIC_URL.'/js/Book.js' : null,
// STATIC_URL.'/js/Mapper.js',
STATIC_URL.'/js/swfobject.js'
)
),
'relTabs' => []