Changeset 279

Show
Ignore:
Timestamp:
12/10/07 23:16:23 (12 years ago)
Author:
ralle030583
Message:

- fix for not displayed dropped items when nothing was lost in same slot
- added percent value of Damage Done in kill_details
-fixed broken link in admin_kill_import

Location:
dev
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin/admin_kill_import.php

    r276 r279  
    177177        $html .= '<meta http-equiv="refresh" content="5; URL=?a=admin_kill_import" />'; 
    178178        $html .= 'Automatic refresh in 5s<br/>'; 
    179         $html .= '<a href="?a=admin_kill_import">Read next '.$_SESSION['kill_import']['num'].'</a>&nbsp;<a href="?a=kill_import&submit=Reset">Reset</a>'; 
     179        $html .= '<a href="?a=admin_kill_import">Read next '.$_SESSION['kill_import']['num'].'</a>&nbsp;<a href="?a=admin_kill_import&submit=Reset">Reset</a>'; 
    180180        $_SESSION['kill_import']['read'] += $read; 
    181181        $_SESSION['kill_import']['p_all'] += $p_all; 
  • dev/common/includes/globals.php

    r278 r279  
    11<?php 
    22// current subversion revision 
    3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 278 $', $match); 
     3preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 279 $', $match); 
    44define('SVN_REV', $match[1]); 
    55 
  • dev/templates/kill_detail.tpl

    r254 r279  
    3838                </tr> 
    3939                <tr class={cycle name=ccl}> 
    40                     <td colspan=2 class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">Damage done:</td><td class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">{$i.damageDone|number_format}</td> 
     40                    <td colspan=2 class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">Damage done:</td><td class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">{$i.damageDone|number_format} ({$i.damageDone/$VictimDamageTaken*100|number_format}%)</td> 
    4141                </tr> 
    4242{/foreach} 
     
    6565{foreach from=$destroyed item=slot key=slotindex} 
    6666{* set to true to show empty slots *} 
    67 {if $slot.items or $dropped.slotindex.items} 
     67{if $slot.items or $dropped.$slotindex.items} 
    6868                <tr class="kb-table-row-even"> 
    6969                    <td class="item-icon" width="32"><img width="32" height="32" src="{$img_url}/{$slot.img}" alt="{$slot.text}" border="0"></td>