aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/user_perm.tpl
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-03-20 00:52:37 +0000
committergweltas <gweltas@piwigo.org>2004-03-20 00:52:37 +0000
commit4128835db8d7b8e619951d4c31e23bd934758f09 (patch)
tree4fddd9ea03f3ebeeaba73c3a42f7130e29a54b58 /template/default/admin/user_perm.tpl
parent8850aabc34e524e1a7816c363657e3176502a708 (diff)
- Template migration
- Admin Control Panel migration - Language migration git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/admin/user_perm.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/template/default/admin/user_perm.tpl b/template/default/admin/user_perm.tpl
new file mode 100644
index 000000000..bd5bb43d2
--- /dev/null
+++ b/template/default/admin/user_perm.tpl
@@ -0,0 +1,26 @@
+<!-- BEGIN search -->
+<div class="admin">{L_SELECT_USERNAME}</div>
+<form method="post" name="post" action="{F_SEARCH_USER_ACTION}">
+ <input type="text" name="username" maxlength="50" size="20" />
+ <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS}
+ <input type="submit" name="submituser" value="{L_LOOKUP_USER}" class="bouton" />
+ <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpwgsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
+</form>
+<!-- END search -->
+<!-- BEGIN permission -->
+<div class="admin">{L_AUTH_USER}</div>
+<form action="{F_AUTH_ACTION}" method="POST">
+ <ul class="menu">
+ <!-- BEGIN category -->
+ <li> <a href="{permission.category.CAT_URL}"><span style="color:{#color}">{permission.category.CAT_NAME}</span></a>
+ <!-- BEGIN parent_forbidden -->
+ {L_PARENT_FORBIDDEN}&nbsp;-&nbsp;
+ <!-- END parent_forbidden -->
+ <input type="radio" name="{permission.category.CAT_ID}" value="0" {permission.category.AUTH_YES}/>{L_AUTHORIZED}
+ <input type="radio" name="{permission.category.CAT_ID}" value="1" {permission.category.AUTH_NO}/>{L_FORBIDDEN}
+ </li>
+ <!-- END category -->
+ </ul>
+ <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}"/>
+</form>
+<!-- END permission --> \ No newline at end of file