mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* new account.login view for tibiacom template
* added new indicator icons for create account, create character and change character name * attempt to fix incorrect views counter behavior (its resetting to 0 in some cases) * moved check_* functions to class Validator * from now all validators ajax requests will fire onblur instead of onkeyup * ajax requests returns now json instead of xml * added 404 response when file is not found * fixed gallery
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
defined('MYAAC') or die('Direct access not allowed!');
|
||||
$title = 'Characters';
|
||||
|
||||
require(SYSTEM . 'item.php');
|
||||
require_once(SYSTEM . 'item.php');
|
||||
|
||||
$groups = new OTS_Groups_List();
|
||||
function generate_search_form($autofocus = false)
|
||||
{
|
||||
@@ -213,7 +214,7 @@ if($player->isLoaded() && !$player->isDeleted())
|
||||
|
||||
for($i = 1; $i < 11; $i++)
|
||||
{
|
||||
if(check_number($equipment[$i]))
|
||||
if(Validator::number($equipment[$i]))
|
||||
$equipment[$i] = getItemImage($equipment[$i]);
|
||||
else
|
||||
$equipment[$i] = '<img src="images/items/' . $equipment[$i] . '.gif" width="32" height="32" border="0" alt=" ' . $equipment[$i] . '" />';
|
||||
|
Reference in New Issue
Block a user