I have 3 changes for killboard. The main problem is KB update that revert my changes.
First, i created patches. Little bit easy to update, but i have 3-5 active killboards, so i waste more time than i want.
Unfortunately, i don't understand how to create changes properly, but may be you can help me with some things

1) First modification is "Colored ISK loss":
in common/includes/class.killlisttable.php i find
Code: Select all
$kll['victim'] = $kill->getVictimName();
$kll['victimiskloss'] = $kill->getISKLoss();
Code: Select all
// change color for victim isk loss
$kll['victimiskloss2'] = $kll['victimiskloss'];
Code: Select all
$kll['victimiskloss'] = sprintf("%.02fk", $kll['victimiskloss']/1000);
}
Code: Select all
// change color for victim isk loss
if ($kll['victimiskloss2'] > 5000000000)
{
$kll['victimiskloss'] = '<span style="color: #ff0000;">' . $kll['victimiskloss'] . '</span>';
}
else if ($kll['victimiskloss2'] > 500000000)
{
$kll['victimiskloss'] = '<span style="color: #ffff00;">' . $kll['victimiskloss'] . '</span>';
}
2) Second is "img link"
In themes/default/templates/killlisttable.tpl i change
Code: Select all
<tr class="kb-table-row-loss" onclick="window.location.href='{$k.urldetail}';">
Code: Select all
><tr class="kb-table-row-loss">
then a change
Code: Select all
<img src='{$k.victimshipimage}' style="width: 32px; height: 32px;" alt="" />
Code: Select all
<a href='{$k.urldetail}'><img src='{$k.victimshipimage}' style="width: 32px; height: 32px; vertical-align: middle;" alt="" /></a>
3) http://www.evekb.org/forum/viewtopic.php?f=1012&t=21908 ;]
Can i change someting without src modification?
Can i replace template for default theme with mod?
Probably easier to use patches

