aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-12-02 15:42:57 +0000
committergweltas <gweltas@piwigo.org>2004-12-02 15:42:57 +0000
commitb35dc19ab6da173cc663e49cb32389d7e6dbfdee (patch)
tree1f069c9dea705fd4a6b8c0e4ce8151027ba77433 /template
parent19be28e4150ea71c70be8d22f1decc6a38ccf110 (diff)
Update of the user preferences panel.
Deletion of some PREFIX_TABLE occurences git-svn-id: http://piwigo.org/svn/trunk@630 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/default/profile.tpl56
-rw-r--r--template/default/search.tpl1
2 files changed, 36 insertions, 21 deletions
diff --git a/template/default/profile.tpl b/template/default/profile.tpl
index a3045f795..1c0aa9edb 100644
--- a/template/default/profile.tpl
+++ b/template/default/profile.tpl
@@ -10,6 +10,32 @@
</div>
<!-- END errors -->
<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>
+ </tr>
+ <tr>
+ <td>{L_EMAIL}</td>
+ <td><input type="text" name="mail_address" value="{EMAIL}" /></td>
+ </tr>
+ <tr>
+ <td>{L_CURRENT_PASSWORD} : <br /><span class="small">{L_CURRENT_PASSWORD_HINT}</span></td>
+ <td><input type="password" name="password" value="" /></td>
+ </tr>
+ <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>
+ </tr>
+ <tr>
+ <td>{L_CONFIRM_PASSWORD} : <br /><span class="small">{L_CONFIRM_PASSWORD_HINT}</span></td>
+ <td><input type="password" name="passwordConf" value="" /></td>
+ </tr>
+ <tr class="admin">
+ <th colspan="2">{L_PREFERENCES}</th>
+ </tr>
<tr>
<td width="60%">{L_NB_IMAGE_LINE}</td>
<td width="40%"><input type="text" size="3" maxlength="2" name="nb_image_line" value="{NB_IMAGE_LINE}" /></td>
@@ -40,32 +66,22 @@
<td><input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
<input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO} />{L_NO}</td>
</tr>
- <!-- BEGIN text -->
- <tr>
- <td>{text.F_LABEL}</td>
- <td>
- <input type="text" name="{text.F_NAME}" value="{text.F_VALUE}" />
+ <tr>
+ <td>{L_MAXWIDTH}</td>
+ <td><input type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" />
</td>
</tr>
- <!-- END text -->
- <tr>
- <td colspan="2">&nbsp;</td>
- </tr>
- <tr>
- <td>{L_NEW} {L_PASSWORD} <input type="checkbox" name="use_new_pwd" value="1" /></td>
- <td><input type="password" name="password" value="" /></td>
- </tr>
- <tr>
- <td>{L_CONFIRM}</td>
- <td><input type="password" name="passwordConf" value="" /></td>
- </tr>
- <tr>
- <td colspan="2">&nbsp;</td>
+ <tr>
+ <td>{L_MAXHEIGHT}</td>
+ <td><input type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" />
+ </td>
</tr>
- <tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
</td>
</tr>
</table>
</form>
+<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
diff --git a/template/default/search.tpl b/template/default/search.tpl
index b93d4f758..6cdb0b924 100644
--- a/template/default/search.tpl
+++ b/template/default/search.tpl
@@ -1,5 +1,4 @@
<div class="titrePage">{L_SEARCH_TITLE}</div>
-<br />
<form method="post" name="post" action="{S_SEARCH_ACTION}">
<!-- BEGIN errors -->
<div class="errors">