diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-10-11 10:22:17 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-10-11 10:22:17 +0000 |
| commit | 79b2baa34ed96f3ef69ebf781b2be7aff51e107b (patch) | |
| tree | f837d65167c3e1af660a952327d35a7785fd91aa | |
| parent | 0ce9f67b7c26371e53c9f6d47f52c92f26ef2f64 (diff) | |
| download | nexus-79b2baa34ed96f3ef69ebf781b2be7aff51e107b.tar.gz nexus-79b2baa34ed96f3ef69ebf781b2be7aff51e107b.tar.bz2 nexus-79b2baa34ed96f3ef69ebf781b2be7aff51e107b.zip | |
add plugin selection part to admin screen
| -rw-r--r-- | templates/admin_nexus.tpl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/admin_nexus.tpl b/templates/admin_nexus.tpl index 5f6c501..36834a6 100644 --- a/templates/admin_nexus.tpl +++ b/templates/admin_nexus.tpl @@ -9,3 +9,39 @@ {/forminput} </div> {/legend} + +{form} + <input type="hidden" name="page" value="{$page}" /> + + <table class="panel"> + <caption>{tr}Nexus Plugins{/tr}</caption> + <tr> + <th style="width:70%;">{tr}Plugin{/tr}</th> + <th style="width:20%;">{tr}GUID{/tr}</th> + <th style="width:10%;">{tr}Active{/tr}</th> + </tr> + + {foreach from=$gNexusSystem->mPlugins item=plugin key=guid} + <tr class="{cycle values="odd,even"}"> + <td> + <h3>{$plugin.title|escape}</h3> + <label for="{$guid}"> + {$plugin.description|escape} + </label> + </td> + <td>{$guid}</td> + <td align="center"> + {if $plugin.is_active == 'x'} + {tr}Missing{/tr} + {else} + {html_checkboxes name="plugins[`$guid`]" values="y" checked=`$plugin.is_active` labels=false id=$guid} + {/if} + </td> + </tr> + {/foreach} + </table> + + <div class="row submit"> + <input type="submit" name="pluginsave" value="{tr}Save Plugin Settings{/tr}" /> + </div> +{/form} |
