source: trunk/template/yoga/admin/plugins_list.tpl @ 2293

Last change on this file since 2293 was 2293, checked in by rvelices, 16 years ago
  • added 2 icons for the active/inactive plugins in the plugin list
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1<div class="titrePage">
2  <h2>{'Plugins'|@translate}</h2>
3{$TABSHEET}
4</div>
5
6{'Sort order'|@translate} :
7  <select onchange="document.location = this.options[this.selectedIndex].value;" style="width:100px">
8        {html_options options=$order_options selected=$order_selected}
9  </select>
10
11{if isset($plugins)}
12<table class="table2">
13<thead>
14  <tr class="throw">
15    <td>{'Name'|@translate}</td>
16    <td>{'Version'|@translate}</td>
17    <td>{'Description'|@translate}</td>
18    <td>{'Actions'|@translate}</td>
19  </tr>
20</thead>
21{foreach from=$plugins item=plugin name=plugins_loop}
22        <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
23        <td style="padding-left:16px; {if not empty($plugin.STATE)}background: url({$ROOT_URL}{$themeconf.admin_icon_dir}/plugin_{$plugin.STATE}.gif) no-repeat center left{/if}">
24                {$plugin.NAME}
25        </td>
26        <td>{$plugin.VERSION}</td>
27        <td>{$plugin.DESCRIPTION}</td>
28        <td>
29        {foreach from=$plugin.actions item=action}
30                <a href="{$action.U_ACTION}"
31                {if isset($action.CONFIRM)} onclick="return confirm('{$action.CONFIRM|@escape:'javascript'}');"{/if}
32                {$TAG_INPUT_ENABLED}>{$action.L_ACTION}</a>
33        {/foreach}
34        </td>
35  </tr>
36{/foreach}
37</table>
38{/if}
Note: See TracBrowser for help on using the repository browser.