aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-02-13 19:53:07 +0000
committerplegall <plg@piwigo.org>2005-02-13 19:53:07 +0000
commitb3aff324b9943e9f32e3f0a4e6be49d4cad0ee48 (patch)
treece8b99efd304406c484ce5fdc1d15976775a6f22 /template/default
parent72b4671ba9242ea2fd1ee48fcd68a9e3896bc3db (diff)
- ability to add users from administration panel
git-svn-id: http://piwigo.org/svn/trunk@741 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default')
-rw-r--r--template/default/profile.tpl28
1 files changed, 19 insertions, 9 deletions
diff --git a/template/default/profile.tpl b/template/default/profile.tpl
index 79f15764e..ad6619c37 100644
--- a/template/default/profile.tpl
+++ b/template/default/profile.tpl
@@ -1,3 +1,22 @@
+<!-- BEGIN errors -->
+<div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+</div>
+<!-- END errors -->
+
+<!-- BEGIN add_user -->
+<div class="admin">{L_GROUP_ADD_USER}</div>
+<form method="post" name="post" action="{add_user.F_ACTION}">
+ {L_USERNAME} <input type="text" name="login" maxlength="50" size="20" />
+ {L_PASSWORD} <input type="text" name="password" />
+ <input type="submit" name="submit_add" value="add" class="bouton" />
+</form>
+<!-- END add_user -->
+
<!-- BEGIN select_user -->
<div class="admin">{L_SELECT_USERNAME}</div>
<form method="post" name="post" action="{F_SEARCH_USER_ACTION}">
@@ -50,15 +69,6 @@
<!-- BEGIN profile -->
<div class="titrePage">{L_TITLE}</div>
<!-- END profile -->
-<!-- BEGIN errors -->
-<div class="errors">
- <ul>
- <!-- BEGIN error -->
- <li>{modify.errors.error.ERROR}</li>
- <!-- END error -->
- </ul>
-</div>
-<!-- END errors -->
<form method="post" action="{F_ACTION}">
<table width="70%" align="center">
<tr class="admin">