diff options
author | patdenice <patdenice@piwigo.org> | 2008-03-01 15:29:29 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2008-03-01 15:29:29 +0000 |
commit | 7bff25884c0da372fa672507dd80c8fab336ba88 (patch) | |
tree | 84381979feea00382a4e5652e813c524ac5f48c3 /profile.php | |
parent | 2ef8c58d3139ec931a75185a32ede7a7663c735f (diff) |
Merge from revision 2236.
801: add trigger in register_user function.
805: add 2 triggers in profile.php.
769: correct get_email_address_as_display_text function.
git-svn-id: http://piwigo.org/svn/trunk@2237 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'profile.php')
-rw-r--r-- | profile.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profile.php b/profile.php index 448fc2c5e..c7c112928 100644 --- a/profile.php +++ b/profile.php @@ -41,6 +41,8 @@ if (!defined('PHPWG_ROOT_PATH')) $userdata = $user; + trigger_action('loc_begin_profile'); + save_profile_from_post($userdata, $errors); $title= l10n('customize_page_title'); @@ -66,6 +68,7 @@ if (!defined('PHPWG_ROOT_PATH')) } } $template->set_filename('profile', 'profile.tpl'); + trigger_action('loc_end_profile'); $template->parse('profile'); include(PHPWG_ROOT_PATH.'include/page_tail.php'); } |