root/dev/templates/standings.tpl @ 157

Revision 157, 1.3 KB (checked in by exi, 14 years ago)

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.

Line 
1<table class="kb-table">
2{section name=opt loop=$standings}
3  <tr class="kb-table-header"><td colspan="5">{$standings[opt].name}</td></tr>
4  <tr class="kb-table-header"><td>&nbsp;</td><td>Name</td><td>Standing</td><td>Comment</td></tr>
5{section name=idx loop=$standings[opt].list}
6  <tr class="kb-table-row-even">
7{if $standings[opt].name=='Alliances'}
8    <td width="32" height="34" valign="top" align="right" style="background-image: url(?a=alliance_thumb&size=32&id={$standings[opt].list[idx].pid});"><img src="img/sta_{$standings[opt].list[idx].icon}.png"/></td>
9    <td><b><a href="?a=alliance_detail&all_id={$standings[opt].list[idx].id}">{$standings[opt].list[idx].text}</a></b>{$standings[opt].list[idx].descr}</td>
10{else}
11    <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&crp_id={$standings[opt].list[idx].id}">{$standings[opt].list[idx].text}</a></b>{$standings[opt].list[idx].descr}</td>
13{/if}
14    <td align="right">{$standings[opt].list[idx].value}</td>
15    <td align="center">{$standings[opt].list[idx].comment}</td>
16{/section}
17{sectionelse}
18  <tr><td>None.</td></tr>
19{/section}
20</table>
Note: See TracBrowser for help on using the browser.