in the file gbank.php, just after the line containing
- Code: Select all
// Show the Column Header for this Category
Add:
- Code: Select all
if (isset($itemsarray[$CategoryID]))
{
$anzahl = 0;
foreach($itemsarray[$CategoryID] as $myitem)
{
//print_r($myitem);
$anzahl+=$myitem['quantity'];
}
$num = " ($anzahl, ".sizeof($itemsarray[$CategoryID])." verschiedene)";
}
else
{
$num = "";
}
and change the next line to
- Code: Select all
$content .= "<tr><th colspan='".$row_columns."' class='membersHeader'>".$wordings[$roster_conf['roster_lang']]['bankitem_'.$CategoryID]."$num<
/th></tr>";
(add $num to output)
You could change "verschiedene" to "different" or something similar, regarding to your localization
Example output in my 1.72 beta roster:
http://helden2.deswahnsinns.de/roster/a ... =guildbank
Enjoy