[11462] | 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 | |
---|
[11499] | 7 | |
---|
[11462] | 8 | <fieldset > |
---|
[11484] | 9 | <legend class="cluetip" title="{'s_pl_action'|@translate}" > |
---|
[11462] | 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}"> |
---|
[11499] | 22 | {$smarty.foreach.plugins_loop.total}</label>] |
---|
[11497] | 23 | {include file=$SET_PLUGINS_PATH_ABS|@cat:'template/menu.tpl'} |
---|
[11462] | 24 | <p> |
---|
[11484] | 25 | {/if} |
---|
[11499] | 26 | <div class="pluginBox plugin_list" id="{$plugin.NAME}"> |
---|
| 27 | <table width="100%" > <tr> |
---|
[11462] | 28 | <td width="50%" align="left" name="plugins_name" rel="actif" class="pluginBoxNameCell" > |
---|
[11499] | 29 | {if $plugin.STATE == 'active'} |
---|
| 30 | <span style="color: {$plugin.COLOR}" > {$plugin.NAME} |
---|
| 31 | </span> |
---|
| 32 | |
---|
| 33 | {/if} |
---|
| 34 | </td> |
---|
[11462] | 35 | |
---|
| 36 | <td width="50%" align="left" name="plugins_name" rel="inactif" class="pluginBoxNameCell"> |
---|
[11499] | 37 | {if $plugin.STATE == 'inactive'} |
---|
| 38 | {$plugin.NAME} |
---|
| 39 | {else} |
---|
| 40 | {/if} |
---|
[11462] | 41 | |
---|
[11499] | 42 | </td> |
---|
| 43 | </tr> |
---|
| 44 | <tr> |
---|
| 45 | |
---|
[11462] | 46 | <td width="50%" align="left" rel="actif"> |
---|
| 47 | {if $plugin.STATE == 'active'} |
---|
| 48 | <a href="{$plugin.U_ACTION}&action=deactivate"> |
---|
| 49 | {'Deactivate'|@translate}</a> |
---|
| 50 | {else} {/if} |
---|
| 51 | </td> |
---|
| 52 | <td width="50%" align="left" rel="inactif"> |
---|
| 53 | {if $plugin.STATE == 'inactive'} |
---|
[11499] | 54 | <a href="{$plugin.U_ACTION}&action=activate" >{'Activate'|@translate}</a> |
---|
| 55 | |
---|
[11462] | 56 | {else} {/if} |
---|
[11499] | 57 | |
---|
[11462] | 58 | </td> |
---|
[11499] | 59 | </tr> </table> |
---|
| 60 | </div> |
---|
[11462] | 61 | {/foreach} |
---|
| 62 | |
---|
| 63 | {if $smarty.foreach.plugins_name.total==0} |
---|
| 64 | [{$smarty.foreach.plugins_name.total}/{$nb_plugins}] |
---|
[11497] | 65 | {include file=$SET_PLUGINS_PATH_ABS|@cat:'template/menu.tpl'} |
---|
[11462] | 66 | <p> |
---|
[11499] | 67 | {/if} |
---|
| 68 | </p> |
---|
| 69 | </form> |
---|
[11497] | 70 | </fieldset> |
---|