Changeset 164

Show
Ignore:
Timestamp:
12/25/06 10:22:49 (14 years ago)
Author:
exi
Message:

Set the lists which are used to generate the battle overview to be ordered by time.
Fixed a template issue on battle_overview.tpl, it should now show links to the pilots which got podded.

Location:
dev
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/common/kill_related.php

    r162 r164  
    7777 
    7878$kslist = new KillList(); 
     79$kslist->setOrdered(true); 
    7980$kslist->addSystem($system); 
    8081$kslist->setStartDate($firstts); 
     
    8687 
    8788$lslist = new KillList(); 
     89$lslist->setOrdered(true); 
    8890$lslist->addSystem($system); 
    8991$lslist->setStartDate($firstts); 
  • dev/templates/battle_overview.tpl

    r157 r164  
    2323{if $config->getConfig('bs_podlink')} 
    2424      <td class="kb-table-cell"> 
    25         <b>{$i.name}&nbsp;<a href="?a=kill_detail&amp;kll_id={$pod_kll_id}">[Pod]</a></b><br/>{$i.ship} 
     25        <b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a>&nbsp;<a href="?a=kill_detail&amp;kll_id={$pod_kll_id}">[Pod]</a></b><br/>{$i.ship} 
    2626      </td> 
    2727{else} 
    2828      <td class="kb-table-cell" style="background-image: url({$podpic}); background-repeat: no-repeat; background-position: right;"> 
    29         <b>{$i.name}</b><br/>{$i.ship} 
     29        <b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b><br/>{$i.ship} 
    3030      </td> 
    3131{/if} 
     
    5858{if $config->getConfig('bs_podlink')} 
    5959      <td class="kb-table-cell"> 
    60         <b>{$i.name}</b>&nbsp;<a href="?a=kill_detail&amp;kll_id={$pod_kll_id}">[Pod]</a><br/>{$i.ship} 
     60        <b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b>&nbsp;<a href="?a=kill_detail&amp;kll_id={$pod_kll_id}">[Pod]</a><br/>{$i.ship} 
    6161      </td> 
    6262{else} 
    6363      <td class="kb-table-cell" style="background-image: url({$podpic}); background-repeat: no-repeat; background-position: right;"> 
    64         <b>{$i.name}</b><br/>{$i.ship} 
     64        <b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b><br/>{$i.ship} 
    6565      </td> 
    6666{/if}