mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- 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:
@@ -1329,7 +1329,7 @@ class Util
|
||||
);
|
||||
$str = strtr($str, $accents);
|
||||
$str = trim($str);
|
||||
$str = preg_replace('/[^a-z0-9]/ig', '-', $str);
|
||||
$str = preg_replace('/[^a-z0-9]/i', '-', $str);
|
||||
|
||||
$str = str_replace('--', '-', $str);
|
||||
$str = str_replace('--', '-', $str);
|
||||
@@ -1337,7 +1337,7 @@ class Util
|
||||
$str = rtrim($str, '-');
|
||||
$str = strtolower($str);
|
||||
|
||||
return str;
|
||||
return $str;
|
||||
}
|
||||
|
||||
public static function isValidEmail($email)
|
||||
|
||||
Reference in New Issue
Block a user