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