- Code: Select all
preg_replace('/\sof\s(the|)(\s|)(Frozen|Arcane|Fiery|Nature|Healing|Holy|Shadow|Spirit|Intellect|Strength|Stamina|Agility|Eagle|Whale|Owl|Monkey|Bear|Falcon|Wolf|Tiger|Gorilla|Boar|Power|Marksmanship|Defense|Concentration|Regeneration|(.*Resistance)).*$/','',$row['item_name'])
Place that code on line 148 of guildbank.php (it replaces the $row['item_name'] bit), so the file will read:
- Code: Select all
// Item texture and quantity column
echo ' <td class="'.$stripe_class.'"><div class="item">'."\n";
$itmlinktext = preg_replace('/\sof\s(the|)(\s|)(Frozen|Arcane|Fiery|Nature|Healing|Holy|Shadow|Spirit|Intellect|Strength|Stamina|Agility|Eagle|Whale|Owl|Monkey|Bear|Falcon|Wolf|Tiger|Gorilla|Boar|Power|Marksmanship|Defense|Concentration|Regeneration|(.*Resistance)).*$/','',$row['item_name']);
echo '<a href="'.$itemlink[$roster_conf['roster_lang']].urlencode(utf8_decode($itmlinktext)).'" target="_itemlink">'."\n".
' <img src="'.$roster_conf['interface_url'].$item_texture.'.'.$roster_conf['img_suffix'].'" class="icon"'.' alt="'.utf8_decode($row['item_name']).'" /></a>';
if( ($row['total_quantity'] > 1) && ($itemRow['item_parent'] != 'bags') )
echo '<span class="quant">'.$row['total_quantity'].'</span>';
Hopefully the developers will find a way to integrate this into the next release =)