root/dev/templates/box.tpl @ 491

Revision 370, 0.9 KB (checked in by kovell, 12 years ago)

- SQL queries optimised for speed and error protection.
- feed syndication optimised
- front page includes optional clock and optional kill/loss display
- mysqli support added
- transaction protection of kills added where supported (mysqli and InnoDB)
- summary tables and contracts show total destroyed value instead of ship value
- html errors reduced
- related kill calculation improved
- query caching errors reduced
- minor bugfixes
- Smarty 2.6.25 added
- apoc fitting mod added and modded
- code optimisations
- code comments added (doxygen format)
- conflicting mods are now identified

Line 
1<!-- box.tpl -->
2<table class="kb-table" width="150" cellspacing="1">
3        <tr>
4                <td class="kb-table-header" align="center">{$title}</td>
5        </tr>
6        <tr class="kb-table-row-even">
7                <td align="left">
8          <div class="menu-wrapper">
9{foreach from=$items key=key item=i}
10                {strip}
11                        {if $i.type == "caption"}
12                                <div class="menu-caption">{$i.name}</div>
13                        {elseif $i.type == "link"}
14                                <div class="menu-item">
15                {if isset($icon)}
16                    <img src="{$icon}" border="0" alt="menu item">
17                {/if}
18                &nbsp;<a href="{$i.url}">{$i.name}</a><br/>
19                                </div>
20                        {elseif $i.type == "img"}
21                <img src="{$i.name}" border="0" alt="">
22            {elseif $i.type == "points"}
23                                <div class="kill-points">{$i.name}</div>
24                        {/if}
25                {/strip}
26{/foreach}
27          </div>
28        </td>
29        </tr>
30</table>
31<br>
32<!-- /box.tpl -->
Note: See TracBrowser for help on using the browser.