mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-03 16:32:22 +02:00
feature 2747: Add triggers on all main pages
git-svn-id: http://piwigo.org/svn/trunk@18063 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user