[11385] | 1 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
---|
| 2 | {footer_script } |
---|
[11249] | 3 | {combine_script id="field_set" load="footer" path=$SET_PLUGINS_PATH|@cat:"js/field_set.js" require="jquery"} |
---|
[11385] | 4 | {/footer_script} |
---|
[11249] | 5 | |
---|
[11385] | 6 | {foreach from=$list item=plugin_state}1 |
---|
| 7 | {$list} |
---|
| 8 | {/foreach} |
---|
[11249] | 9 | |
---|
[11100] | 10 | {if isset($liste_plugins)} |
---|
| 11 | {foreach from=$plugin_states item=plugin_state} |
---|
[11249] | 12 | {if $plugin_state==$state} |
---|
| 13 | <fieldset > |
---|
| 14 | <legend> |
---|
[11276] | 15 | {if $plugin_state == 'active'} |
---|
| 16 | {'Last '|@translate} {'Active Plugins'|@translate} |
---|
| 17 | {elseif $plugin_state == 'inactive'} |
---|
| 18 | {'Last '|@translate} {'Inactive Plugins'|@translate} |
---|
[11385] | 19 | {/if} [{$nb_list}] |
---|
[11276] | 20 | </legend> |
---|
[11249] | 21 | <form action="{$action}" method="post" name="form_set_plugins" id="form_set_plugins"> |
---|
[11385] | 22 | <input class="button" name="unset_plugins" type="submit" value="{'Deactivate'|@translate}" /> |
---|
| 23 | <input class="button" name="set_plugins" type="submit" value="{'Activate'|@translate}" /> |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | <label> {'nb'|@translate}:</label><input name="nb" type="text" value="{$nb}" size="5" /> |
---|
| 27 | <input name="list_visible" id="list_visible" type="hidden" value="{$list_visible}" /> |
---|
| 28 | |
---|
| 29 | <input name="add_plugins" type="hidden" id="add_plugins" value="{$add_plugins}" /> |
---|
| 30 | <input class="button" type="submit" name="init_plugins" value="{'init'|@translate}" /> |
---|
| 31 | <input type="hidden" id="set" name="set" value="{$set}" /> |
---|
| 32 | <p> |
---|
[11249] | 33 | |
---|
[11276] | 34 | {foreach from=$liste_plugins item=plugin name=plugins_loop} |
---|
| 35 | <div class="pluginBox" id="{$plugin.NAME}"> |
---|
| 36 | <table width="100%" > <tr> |
---|
| 37 | <td width="50%" align="left" name="plugins_name" rel="actif" class="pluginBoxNameCell" > |
---|
| 38 | {if $plugin.STATE == 'active'} |
---|
| 39 | {$plugin.NAME} |
---|
| 40 | {else} |
---|
| 41 | {/if} |
---|
| 42 | </td> |
---|
| 43 | |
---|
| 44 | <td width="50%" align="left" name="plugins_name" rel="inactif" class="pluginBoxNameCell"> |
---|
| 45 | {if $plugin.STATE == 'inactive'} |
---|
| 46 | {$plugin.NAME} |
---|
| 47 | {else} |
---|
| 48 | {/if} |
---|
[11385] | 49 | |
---|
[11276] | 50 | </td> |
---|
| 51 | </tr> |
---|
| 52 | <tr> |
---|
| 53 | |
---|
| 54 | <td width="50%" align="left" rel="actif"> |
---|
| 55 | {if $plugin.STATE == 'active'} |
---|
| 56 | <a href="{$plugin.U_ACTION}&action=deactivate"> |
---|
| 57 | {'Deactivate'|@translate}</a> |
---|
| 58 | {else} {/if} |
---|
| 59 | </td> |
---|
| 60 | <td width="50%" align="left" rel="inactif"> |
---|
| 61 | {if $plugin.STATE == 'inactive'} |
---|
| 62 | <a href="{$plugin.U_ACTION}&action=activate" >{'Activate'|@translate}</a> |
---|
| 63 | |
---|
| 64 | {else} {/if} |
---|
[11385] | 65 | |
---|
[11276] | 66 | </td> |
---|
[11385] | 67 | </tr> </table> |
---|
| 68 | </div> |
---|
| 69 | |
---|
[11100] | 70 | |
---|
[11276] | 71 | {/foreach} |
---|
| 72 | </p> |
---|
[11385] | 73 | </form> |
---|
[11100] | 74 | </fieldset> |
---|
| 75 | {/if} |
---|
[11074] | 76 | {/foreach} |
---|
[11072] | 77 | |
---|
[11249] | 78 | {/if} |
---|
[11100] | 79 | |
---|