misc fixes:

spell:
 - removed weired break from tooltips
 - fixed time units being omitted by intval and subsequent cast to int

achievement:
 - casting id to int to avoid string-comparison in mysql (sped up load a lot)

localization:
 - fixed malformed file

infobox:
 - show video-options only when logged in

filter:
 - allow underscores in search (icon search)

search:
 - really fixed prepended quality for items
This commit is contained in:
Sarjuuk
2013-03-26 20:52:32 +01:00
parent 77889459b5
commit a3f1f2b549
7 changed files with 38 additions and 34 deletions

View File

@@ -4,7 +4,7 @@ if(!defined('AOWOW_REVISION'))
abstract class Filter
{
private static $pattern = "/[^\p{L}0-9\s\-\'\?\*]/ui";// delete any char not in unicode, number, hyphen, single quote or common wildcard
private static $pattern = "/[^\p{L}0-9\s_\-\'\?\*]/ui";// delete any char not in unicode, number, hyphen, single quote or common wildcard
private static $wildcards = ['*' => '%', '?' => '_'];
private static $criteria = ['cr', 'crs', 'crv']; // [cr]iterium, [cr].[s]ign, [cr].[v]alue