Css classes 'redalert', 'greenalert' removed. Removed old unused styles. Overall optimisations.
This commit is contained in:
+3
-3
@@ -1404,7 +1404,7 @@ function dropitem($slot)
|
||||
$wear_raw = db::c()->query('SELECT * FROM `inventory` where `owner` = ?i AND `dressed` = 1', $user['id']);
|
||||
while ($wear_list = $wear_raw->fetch_assoc()) {
|
||||
$wear_arr[] = $wear_list['prototype'];
|
||||
};
|
||||
}
|
||||
|
||||
$item['id'] = $user[$slot1];
|
||||
|
||||
@@ -1428,7 +1428,7 @@ function dropitem($slot)
|
||||
if ($check_proto != $get_pro['prototype']) {
|
||||
if (!in_array($check_proto, $wear_arr)) {
|
||||
$checker = 0;
|
||||
};
|
||||
}
|
||||
// echo("Checker=".$checker." at set #".$set_id." item #".$check_proto." Compare=".$get_pro['prototype']."<BR>");
|
||||
}
|
||||
//echo("Checker=".$checker." at set #".$set_id);
|
||||
@@ -1749,7 +1749,7 @@ function AddChatSystem($msg)
|
||||
|
||||
function err($t)
|
||||
{
|
||||
echo '<span class="redalert">' . $t . '</span>';
|
||||
echo '<span class="error">' . $t . '</span>';
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user