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

@@ -70,7 +70,7 @@ if (!$smarty->loadCache($cacheKeyPage, $pageData))
'tab' => 0,
'type' => TYPE_CLASS,
'typeId' => $_id,
'reqJS' => ['static/js/swfobject.js'],
'reqJS' => [STATIC_URL.'/js/swfobject.js'],
'name' => $cl->getField('name', true),
'expansion' => Util::$expansionString[$cl->getField('expansion')],
'infobox' => '[ul][li]'.implode('[/li][li]', $infobox).'[/li][/ul]',