Changeset 157 for dev/templates

Show
Ignore:
Timestamp:
12/16/06 03:19:06 (15 years ago)
Author:
exi
Message:

Added option to show a link to the pod killmail instead of a pod picture on the battle summary.
Battle summaries will now be sorted by shippoints, shipname, pilotname.
Added option to disable mailposting without having to change the password.
Fixed a typo on the standingslist.

Location:
dev/templates
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/templates/battle_overview.tpl

    r154 r157  
    2121      </td> 
    2222{if podded($pilot) and $i.ship != 'Capsule'} 
     23{if $config->getConfig('bs_podlink')} 
     24      <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} 
     26      </td> 
     27{else} 
    2328      <td class="kb-table-cell" style="background-image: url({$podpic}); background-repeat: no-repeat; background-position: right;"> 
    2429        <b>{$i.name}</b><br/>{$i.ship} 
    2530      </td> 
     31{/if} 
    2632{else} 
    2733      <td class="kb-table-cell"><b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b><br/>{$i.ship}</td> 
     
    5056      </td> 
    5157{if podded($pilot) and $i.ship != 'Capsule'} 
     58{if $config->getConfig('bs_podlink')} 
     59      <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} 
     61      </td> 
     62{else} 
    5263      <td class="kb-table-cell" style="background-image: url({$podpic}); background-repeat: no-repeat; background-position: right;"> 
    5364        <b>{$i.name}</b><br/>{$i.ship} 
    5465      </td> 
     66{/if} 
    5567{else} 
    5668      <td class="kb-table-cell"><b><a href="?a=pilot_detail&amp;plt_id={$pilot}">{$i.name}</a></b><br/>{$i.ship}</td> 
  • dev/templates/standings.tpl

    r149 r157  
    1010{else} 
    1111    <td width="32" height="34" valign="top" align="right" style="background-image: url(?a=corpportrait&size=32&id={$standings[opt].list[idx].id});"><img src="img/sta_{$standings[opt].list[idx].icon}.png"/></td> 
    12     <td><b><a href="?a=corp_detail&all_id={$standings[opt].list[idx].id}">{$standings[opt].list[idx].text}</a></b>{$standings[opt].list[idx].descr}</td> 
     12    <td><b><a href="?a=corp_detail&crp_id={$standings[opt].list[idx].id}">{$standings[opt].list[idx].text}</a></b>{$standings[opt].list[idx].descr}</td> 
    1313{/if} 
    1414    <td align="right">{$standings[opt].list[idx].value}</td>