- converted articles for MorePages to use STATIC_URL (also neutralized some self-references)

- added config-option to restrict available locales
- fixed opensearch suggestions by generating strict json
- include TalentCalc.css as lowerCase (fixes display under *nix)
- some minor formating
- Setup:
 * added some additional files to be generated (they required STATIC_URL or HOST_URL to be set)
 * moved class Locale from global.js to own template and generate it with CFG_LOCALES
 * changed urlParam (?build=script): may be empty (builds everything) or specific scriptNames chained together with ; (?build=script1;script2)

you are required to run the following command to regenerate files affected by these cahnges
?build=demo;power;realmMenu;searchboxBody;searchboxScript;searchplugin;locales
This commit is contained in:
Sarjuuk
2014-09-13 21:26:11 +02:00
parent 70f703b4b2
commit feaee59cd0
53 changed files with 1992 additions and 1895 deletions

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>/*$shortName*/</ShortName>
<Description>/*$name*/</Description>
<Url
type="text/html"
method="get"
template="/*HOST_URL*//?search={searchTerms}" />
<Url
type="application/x-suggestions+json"
method="get"
template="/*HOST_URL*//?search={searchTerms}&amp;opensearch" />
<Image height="16" width="16" type="image/vnd.microsoft.icon">/*STATIC_URL*//images/logos/favicon.ico</Image>
<Image height="16" width="16" type="image/gif">/*STATIC_URL*//images/icons/favicon.gif</Image>
</OpenSearchDescription>

View File

@@ -1,7 +0,0 @@
var mn_profiles = [/*setup:realms*/];
var mn_guilds = $.extend(true,[],mn_profiles);
var mn_arenateams = $.extend(true,[],mn_profiles);
Menu.fixUrls(mn_profiles,"?profiles=",{useSimpleIdsAfter:1});
Menu.fixUrls(mn_guilds,"?guilds=",{useSimpleIdsAfter:1});
Menu.fixUrls(mn_arenateams,"?arena-teams=",{useSimpleIdsAfter:1});