Javascript:

- reviewed and used objects PageTemplate and Locale
- removed associated workarounds
- replaced ~12k tabs with ~48k spaces
- fixed some localization errors
- whoops, forgot to update some Util::$pageTemplate calls to $this
This commit is contained in:
Sarjuuk
2014-07-24 17:43:57 +02:00
parent fc589c5ebe
commit 6acee41e3d
89 changed files with 6564 additions and 6193 deletions

View File

@@ -54,7 +54,7 @@ class SearchPage extends GenericPage
['_searchFaction'], ['_searchSkill'], ['_searchPet'], ['_searchCreatureAbility'], ['_searchSpell'],
);
public function __construct($__, $pageParam)
public function __construct($pageCall, $pageParam)
{
$this->search = urlDecode(trim($pageParam));
$this->query = strtr($this->search, '?*', '_%');
@@ -109,7 +109,7 @@ class SearchPage extends GenericPage
$this->notFound();
}
parent::__construct($__, $pageParam); // just to set g_user and g_locale
parent::__construct($pageCall, $pageParam); // just to set g_user and g_locale
}
private function tokenizeQuery()