Fix
This commit is contained in:
parent
5b34e1e706
commit
ca91707466
2
main.php
2
main.php
@ -2675,7 +2675,7 @@ if (isset($_GET['edit'])) {
|
|||||||
|
|
||||||
if (!isset($groupNum[$row['prototype']])) {
|
if (!isset($groupNum[$row['prototype']])) {
|
||||||
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] = '<tr bgcolor="#C7C7C7"><td onclick="$(\'#items_' . ($row['prototype'] ? $row['prototype'] : $row['id']) . '\').slideToggle(\'fast\'); collapse(' . ($row['prototype'] ? $row['prototype'] : $row['id']) . ');" style="cursor: pointer; overflow: hidden; z-index: 0;">';
|
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] = '<tr bgcolor="#C7C7C7"><td onclick="$(\'#items_' . ($row['prototype'] ? $row['prototype'] : $row['id']) . '\').slideToggle(\'fast\'); collapse(' . ($row['prototype'] ? $row['prototype'] : $row['id']) . ');" style="cursor: pointer; overflow: hidden; z-index: 0;">';
|
||||||
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '<img src="i/icon/1plus.gif" title=""> <b>' . $row['name'] . ($row['upgrade'] > 0 ? " <font color=blue><b>[" . $row['upgrade'] . "]</b></font>" : "") . ' [' . $itemsCount . ']</b>';
|
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '➕ <b>' . $row['name'] . ($row['upgrade'] > 0 ? " <font color=blue><b>[" . $row['upgrade'] . "]</b></font>" : "") . ' [' . $itemsCount . ']</b>';
|
||||||
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '</td></tr><tr><td style="padding: 0px;">';
|
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '</td></tr><tr><td style="padding: 0px;">';
|
||||||
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '<div id="items_' . ($row['prototype'] ? $row['prototype'] : $row['id']) . '" style="display: none;"><table width="100%">';
|
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '<div id="items_' . ($row['prototype'] ? $row['prototype'] : $row['id']) . '" style="display: none;"><table width="100%">';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user