From 238b1e4412067dda6e8135ce7e18f6d3ac2681f3 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 1 Mar 2008 15:25:37 +0000 Subject: 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/branches/branch-1_7@2236 68402e56-0260-453c-a942-63ccdbb3a9ee --- profile.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'profile.php') diff --git a/profile.php b/profile.php index 26d73b5a9..d391d61f5 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'); } -- cgit v1.2.3