aboutsummaryrefslogtreecommitdiffstats
path: root/profile.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-03-20 20:28:35 +0000
committerrvelices <rv-github@modusoptimus.com>2010-03-20 20:28:35 +0000
commit251eeb05aba7ddb79afafd4143a5435fc368b0e7 (patch)
tree2f640a810f3ac3dba678869d8e0e5a4215d2fccc /profile.php
parenta70352fae2bd61902a3505e923f7ccdaa7ac9d7a (diff)
less warnings + language fixes
git-svn-id: http://piwigo.org/svn/trunk@5206 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'profile.php')
-rw-r--r--profile.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile.php b/profile.php
index 4d7bfde96..4b3d03138 100644
--- a/profile.php
+++ b/profile.php
@@ -61,7 +61,7 @@ SELECT '.implode(',', $fields).'
save_profile_from_post($userdata, $errors);
- $title= l10n('Your Gallery Customization ');
+ $title= l10n('Your Gallery Customization');
$page['body_id'] = 'theProfilePage';
include(PHPWG_ROOT_PATH.'include/page_header.php');
@@ -163,7 +163,7 @@ function save_profile_from_post($userdata, &$errors)
WHERE '.$conf['user_fields']['id'].' = \''.$userdata['id'].'\'
;';
list($current_password) = pwg_db_fetch_row(pwg_query($query));
-
+
if ($conf['pass_convert']($_POST['password']) != $current_password)
{
$errors[] = l10n('Current password is wrong');
@@ -220,7 +220,7 @@ function save_profile_from_post($userdata, &$errors)
array($data));
trigger_action( 'save_profile_from_post', $userdata['id'] );
-
+
if (!empty($_POST['redirect']))
{
redirect($_POST['redirect']);
@@ -277,7 +277,7 @@ function load_profile_in_template($url_action, $url_redirect, $userdata)
// allow plugins to add their own form data to content
trigger_action( 'load_profile_in_template', $userdata );
-
+
$template->assign_var_from_handle('PROFILE_CONTENT', 'profile_content');
}
?>