Changeset 164 for dev/templates

Show
Ignore:
Timestamp:
12/25/06 10:22:49 (15 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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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}