aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-24 19:30:24 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-24 19:30:24 +0000
commit0a79e271552854aa920384fe45eec2359b95b8df (patch)
tree0d520da7cac8e0353912e1bef9c43ea32adfda25 /template
parent5d511623e574fe83dcc47dfd64dd4e002ead0d3f (diff)
The generation of mail address works back. Since the add of another form on
the same page, it didn't work, because, when adding a new user and no errors, the $_POST was cleaned, but made no differences between the 2 forms... git-svn-id: http://piwigo.org/svn/trunk@164 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/default/admin/user_list.vtp6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/default/admin/user_list.vtp b/template/default/admin/user_list.vtp
index 4a7f5fdd8..c50f1d99b 100644
--- a/template/default/admin/user_list.vtp
+++ b/template/default/admin/user_list.vtp
@@ -31,13 +31,13 @@
<span style="font-weight:bold;">{#title_add}</span> -&gt;
{#login} : <input type="text" name="username" value="{#f_username}" />
{#password} : <input type="text" name="password" value="{#f_password}" />
- <input type="submit" value="{#add}" name="submit" />
+ <input type="submit" value="{#add}" name="submit_add_user" />
</div>
</form>
<!--/VTP_add_user-->
<!--VTP_users-->
-<form method="post" action="{#form_action}" name="{#form_name}">
+<form method="post" action="{#form_action}">
<table width="100%">
<!--VTP_category-->
<tr>
@@ -90,7 +90,7 @@
<img src="../template/{#user_template}/admin/images/arrow_select.gif" alt="&lt;" />
<input type="button" value="{#listuser_button_all}" onClick="SelectAll(this.form)" style="margin-left:5px;margin-right:5px;" />
<input type="button" value="{#listuser_button_invert}" onClick="Inverser(this.form)" style="margin-left:5px;margin-right:5px;" />
- <input type="submit" value="{#listuser_button_create_address}" style="margin-left:5px;margin-right:5px;" />
+ <input type="submit" value="{#listuser_button_create_address}" name="submit_generate_mail" style="margin-left:5px;margin-right:5px;" />
<!--VTP_mail_link-->
<a href="mailto:{#mailto}">mailto:{#mail_address_start}...</a>
<!--/VTP_mail_link-->