aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/profile.tpl
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-12-03 16:30:12 +0000
committergweltas <gweltas@piwigo.org>2004-12-03 16:30:12 +0000
commit6fa03e0cca6855e041de004d49e0dd1b03bd644f (patch)
treeae05c6a88f896de2ab4ffea8d98641f1996e2be3 /template/default/profile.tpl
parentb35dc19ab6da173cc663e49cb32389d7e6dbfdee (diff)
- User control panel update (user side)
- User control panel update (admin side) - Add of registration link on the main page - Minor bug correction for group management git-svn-id: http://piwigo.org/svn/trunk@631 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/profile.tpl')
-rw-r--r--template/default/profile.tpl46
1 files changed, 40 insertions, 6 deletions
diff --git a/template/default/profile.tpl b/template/default/profile.tpl
index 1c0aa9edb..b672e566f 100644
--- a/template/default/profile.tpl
+++ b/template/default/profile.tpl
@@ -1,30 +1,44 @@
+<!-- BEGIN select_user -->
+<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="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 select_user -->
+<!-- BEGIN modify -->
+<!-- BEGIN profile -->
<div class="titrePage">{L_TITLE}</div>
-<form method="post" action="{F_ACTION}">
+<!-- END profile -->
<!-- BEGIN errors -->
- <div class="errors">
+<div class="errors">
<ul>
<!-- BEGIN error -->
- <li>{errors.error.ERROR}</li>
+ <li>{modify.errors.error.ERROR}</li>
<!-- END error -->
</ul>
- </div>
+</div>
<!-- END errors -->
+<form method="post" action="{F_ACTION}">
<table width="70%" align="center">
<tr class="admin">
<th colspan="2">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
<td width="50%">{L_USERNAME}</td>
- <td><input type="text" name="username" value="{USERNAME}" /></td>
+ <td><input type="text" name="username" value="{USERNAME}" />
+ <input type="hidden" name="userid" value="{USERID}" /></td>
</tr>
<tr>
<td>{L_EMAIL}</td>
<td><input type="text" name="mail_address" value="{EMAIL}" /></td>
</tr>
+ <!-- BEGIN profile -->
<tr>
<td>{L_CURRENT_PASSWORD} : <br /><span class="small">{L_CURRENT_PASSWORD_HINT}</span></td>
<td><input type="password" name="password" value="" /></td>
</tr>
+ <!-- END profile -->
<tr>
<td>{L_NEW_PASSWORD} : <br /><span class="small">{L_NEW_PASSWORD_HINT}</span></td>
<td><input type="password" name="use_new_pwd" value="" /></td>
@@ -76,12 +90,32 @@
<td><input type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" />
</td>
</tr>
+<!-- BEGIN admin -->
+ <tr class="admin">
+ <th colspan="2">{modify.admin.L_ADMIN_USER}</th>
+ </tr>
+ <tr>
+ <td>{modify.admin.L_STATUS}</td>
+ <td>{modify.admin.STATUS}
+ </td>
+ </tr>
+ <tr>
+ <td>{modify.admin.L_DELETE}<br />
+ <span class="small">{modify.admin.L_DELETE_HINT}</span></td>
+ <td><input name="user_delete" type="checkbox" value="1">
+ </td>
+ </tr>
+<!-- END admin -->
+<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
</td>
</tr>
</table>
</form>
+<!-- BEGIN profile -->
<div style="text-align:center;margin:5px;">
<a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>
-</div> \ No newline at end of file
+</div>
+<!-- END profile -->
+<!-- END modify --> \ No newline at end of file