aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-09-20 12:16:45 +0000
committermistic100 <mistic@piwigo.org>2012-09-20 12:16:45 +0000
commitcbb971db3fa4664e4e27d031296b998defafb3fb (patch)
tree041f920bab19ad3d2552525efa4a995f4df702db /register.php
parent5c70d3b9715bdba98fb9b8ca0010c69984a6c082 (diff)
feature 2747: Add triggers on all main pages
git-svn-id: http://piwigo.org/svn/trunk@18063 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--register.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/register.php b/register.php
index afc0dfaec..11bedf05a 100644
--- a/register.php
+++ b/register.php
@@ -37,6 +37,8 @@ if (!$conf['allow_user_registration'])
page_forbidden('User registration closed');
}
+trigger_action('loc_begin_register');
+
if (isset($_POST['submit']))
{
if (!verify_ephemeral_key(@$_POST['key']))
@@ -128,6 +130,7 @@ if (!isset($themeconf['hide_menu_on']) OR !in_array('theRegisterPage', $themecon
}
include(PHPWG_ROOT_PATH.'include/page_header.php');
+trigger_action('loc_end_register');
include(PHPWG_ROOT_PATH.'include/page_messages.php');
$template->parse('register');
include(PHPWG_ROOT_PATH.'include/page_tail.php');