root/dev/templates/standings.tpl @ 149

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

Changed custom ship values to also display unknown types.
Changed comment class to allow html code insertion.
Added pullout of externalids on killlists.
Fixed next week link.
Small change to the sql-inserter to remove the ';'.
Fixed the double http-link on rss feeds.
Fixed VictimAllianceURL on kill_details.
Fixed wrong links on standings page.

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&all_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.