Changeset 293 for dev/templates
- Timestamp:
- 12/19/07 14:57:52 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/templates/kill_detail.tpl
r292 r293 63 63 <div class="block-header">Ship details</div> 64 64 <table class="kb-table" width="360" border="0" cellspacing="1"> 65 {foreach from=$ destroyeditem=slot key=slotindex}65 {foreach from=$slots item=slot key=slotindex} 66 66 {* set to true to show empty slots *} 67 {if $ slot.items or $dropped.$slotindex.items}67 {if $destroyed.$slotindex or $dropped.$slotindex} 68 68 <tr class="kb-table-row-even"> 69 69 <td class="item-icon" width="32"><img width="32" height="32" src="{$img_url}/{$slot.img}" alt="{$slot.text}" border="0"></td> … … 73 73 {/if} 74 74 </tr> 75 {foreach from=$ slot.itemsitem=i}75 {foreach from=$destroyed.$slotindex item=i} 76 76 <tr class="kb-table-row-odd"> 77 77 <td class="item-icon" width="32" height="34" valign="top"><a href="?a=invtype&id={$i.itemID}">{$i.Icon}</a></td> … … 111 111 </tr> 112 112 {/if} 113 {foreachelse}114 <tr class="kb-table-row-odd">115 <td colspan="4" valign="top">No Items lost</td>116 </tr>117 113 {/foreach} 118 {foreach from=$dropped.$slotindex .itemsitem=i}114 {foreach from=$dropped.$slotindex item=i} 119 115 <tr class="kb-table-row-odd" style="background-color: green;"> 120 116 <td style="border: 1px solid green;" width="32" height="34" valign="top"><a href="?a=invtype&id={$i.itemID}">{$i.Icon}</a></td>