mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user