[Openupload-svn-update] SF.net SVN: openupload:[23] trunk/templates/default/modules/admin
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2008-10-16 11:18:56
|
Revision: 23
http://openupload.svn.sourceforge.net/openupload/?rev=23&view=rev
Author: tsdogs
Date: 2008-10-16 11:18:52 +0000 (Thu, 16 Oct 2008)
Log Message:
-----------
Add administration of: groups, rights, plugins and a settings display page
Added Paths:
-----------
trunk/templates/default/modules/admin/groups.tpl
trunk/templates/default/modules/admin/pluginedit.tpl
Added: trunk/templates/default/modules/admin/groups.tpl
===================================================================
--- trunk/templates/default/modules/admin/groups.tpl (rev 0)
+++ trunk/templates/default/modules/admin/groups.tpl 2008-10-16 11:18:52 UTC (rev 23)
@@ -0,0 +1,25 @@
+{include file="default/modules/admin/adminmenu.tpl"}
+<div id="toolbar">
+<a href="{$script}?action={$action}&step=2&id={$u.id}"><img src="{$page.template}/img/admin/tadd_group.png"></a>
+<img src="{$page.template}/img/admin/tdelete_group.png">
+</div>
+<br>
+<table border="0" id="dbtable">
+<tr>
+ <th width="10">S</th>
+ <th width="100">Name</th>
+ <th width="200">Description</th>
+ <th width="100">Actions</th>
+</tr>
+{foreach from=$groups item=g}
+<tr>
+ <td id="row1"><input type="checkbox" name="group_{$g.name}" value="1"></td>
+ <td id="row1" style="text-align:left"><a href="{$script}?action=admingroups&step=3&id={$g.name}">{$g.name}</a></td>
+ <td id="row1">{$g.description}</td>
+ <td id="row1">
+ <a href="{$script}?action={$action}&step=3&id={$g.name}"><img src="{$page.template}/img/admin/edit_group.png"></a>
+
+ <a href="{$script}?action={$action}&step=4&id={$g.name}"><img src="{$page.template}/img/admin/delete_group.png"></a></td>
+</tr>
+{/foreach}
+</table>
\ No newline at end of file
Added: trunk/templates/default/modules/admin/pluginedit.tpl
===================================================================
--- trunk/templates/default/modules/admin/pluginedit.tpl (rev 0)
+++ trunk/templates/default/modules/admin/pluginedit.tpl 2008-10-16 11:18:52 UTC (rev 23)
@@ -0,0 +1,28 @@
+{include file="default/modules/admin/adminmenu.tpl"}
+
+<form action="{$script}" method="post">
+<input type="hidden" name="action" value="{$action}">
+<input type="hidden" name="step" value="{$step}">
+<input type="hidden" name="editpluginid" value="{$plugin.id}">
+<table border="0">
+<tr><td>{tr}Plugin{/tr}:</td><td>
+<select name="editpluginplugin">
+{foreach from=$pluginslist item=p}
+<option value="{$p}" {if $p==$plugin.plugin}selected{/if}>{$p}</option>
+{/foreach}
+</select></td></tr>
+<tr><td>{tr}Group{/tr}:</td><td>
+<select name="editplugingroup">
+{foreach from=$groups item=g}
+<option value="{$g.name}" {if $g.name==$plugin.group_id}selected{/if}>{$g.name}</option>
+{/foreach}
+</select></td></tr>
+<tr><td>{tr}Access{/tr}:</td><td>
+<select name="editpluginaccess">
+{foreach from=$access item=a key=k}
+<option value="{$k}" {if $k==$plugin.access}selected{/if}>{$a}</option>
+{/foreach}
+</select></td></tr>
+<tr><td colspan="2" align=right><input type="submit" class="submit" value="{tr}Confirm{/tr}"></td></tr>
+</table>
+</form>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|