aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-12 23:10:35 +0000
committerrub <rub@piwigo.org>2007-03-12 23:10:35 +0000
commit17246da0890c27a4598db4b808daba2362a48a4b (patch)
treea3845b41249f8cc968abe1dba536a21f67726210 /register.php
parent4577278acc361facfbd70c6172355ee12e1b80e4 (diff)
Add notification when a picture is loaded.
Change little translations. Improve mail sent. git-svn-id: http://piwigo.org/svn/trunk@1901 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--register.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/register.php b/register.php
index 68dd36da5..5d1e4e183 100644
--- a/register.php
+++ b/register.php
@@ -67,14 +67,13 @@ if (isset($_POST['submit']))
include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php');
$username = $_POST['login'];
$admin_url = get_absolute_root_url()
- .'admin.php?page=user_list&username='.$username;
+ .'admin.php?page=user_list&username='.$username;
$content =
- 'User: '.$username."\n"
+ 'User: '.$username."\n"
.'Mail: '.$_POST['mail_address']."\n"
- .'IP: '.$_SERVER['REMOTE_ADDR']."\n"
- .'Browser: '.$_SERVER['HTTP_USER_AGENT']."\n\n"
- .l10n('admin').': '.$admin_url;
+ .get_block_mail_admin_info()
+ .'Admin'.': '.$admin_url;
pwg_mail
(