source: extensions/set_plugins/template/admin.tpl @ 18477

Last change on this file since 18477 was 12404, checked in by cljosse, 13 years ago

[extensions] set_plugins rcompatibility wirh 2.3 and Firefox

File size: 2.3 KB
Line 
1{if $PHPWG_VERSION < 2.2 }
2{include file= $SET_PLUGINS_PATH_ABS|@cat:'template/header_2_1.tpl'}
3{else}
4{include file= $SET_PLUGINS_PATH_ABS|@cat:'template/header_2_2.tpl'}
5{/if}
6
7
8<fieldset >
9<legend class="cluetip" title="{'s_pl_action'|@translate}" > 
10    {if $state == 'active'}
11    {'Last'|@translate} {'action'|@translate} :{'Activate'|@translate}
12    {elseif $state == 'inactive'}
13    {'Last'|@translate} {'action'|@translate} :{'Inactivate'|@translate}
14    {/if}
15  {foreach from=$liste_plugins item=plugin name=plugins_name}
16  {if $smarty.foreach.plugins_name.first}
17      [<label class="cluetip" title="{'s_pl_action1'|@translate}">
18      {$smarty.foreach.plugins_name.total}</label>/
19      <label class="cluetip" title="{'s_pl_action2'|@translate}">
20      {$nb_plugins}</label>/
21      <label class="cluetip" title="{'s_pl_action3'|@translate}">
22      {$smarty.foreach.plugins_loop.total}</label>]
23      {include file=$SET_PLUGINS_PATH_ABS|@cat:'template/menu.tpl'}
24 <p>
25{/if}
26   <div class="pluginBox plugin_list" id="{$plugin.NAME}">
27 <table width="100%"  >    <tr>
28<td width="50%" align="left" name="plugins_name" rel="actif" class="pluginBoxNameCell" >
29    {if $plugin.STATE == 'active'}
30    <span style="color: {$plugin.COLOR}" > {$plugin.NAME}
31    </span>
32       
33{/if}
34</td>       
35
36        <td width="50%" align="left" name="plugins_name" rel="inactif"  class="pluginBoxNameCell">
37          {if $plugin.STATE == 'inactive'}
38              {$plugin.NAME}
39      {else}
40      {/if}
41
42</td> 
43</tr>
44<tr>
45
46        <td width="50%" align="left" rel="actif">
47          {if $plugin.STATE == 'active'}         
48            <a href="{$plugin.U_ACTION}&amp;action=deactivate">
49            {'Deactivate'|@translate}</a>
50          {else} {/if}
51        </td>
52        <td width="50%" align="left" rel="inactif">
53          {if $plugin.STATE == 'inactive'}
54            <a href="{$plugin.U_ACTION}&amp;action=activate" >{'Activate'|@translate}</a>
55           
56             {else}  {/if}
57 
58        </td>
59      </tr> </table>
60</div>     
61{/foreach}
62
63 {if $smarty.foreach.plugins_name.total==0}
64  [{$smarty.foreach.plugins_name.total}/{$nb_plugins}]
65  {include file=$SET_PLUGINS_PATH_ABS|@cat:'template/menu.tpl'}
66   <p>
67     {/if}
68  </p>
69      </form>
70  </fieldset>
Note: See TracBrowser for help on using the repository browser.