mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03: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:
parent
5c70d3b971
commit
cbb971db3f
8 changed files with 119 additions and 0 deletions
|
@ -30,6 +30,8 @@ include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
|
|||
// +-----------------------------------------------------------------------+
|
||||
check_status(ACCESS_FREE);
|
||||
|
||||
trigger_action('loc_begin_identification');
|
||||
|
||||
//-------------------------------------------------------------- identification
|
||||
$redirect_to = '';
|
||||
if ( !empty($_GET['redirect']) )
|
||||
|
@ -107,6 +109,7 @@ if (!$conf['gallery_locked'] && (!isset($themeconf['hide_menu_on']) OR !in_array
|
|||
|
||||
//----------------------------------------------------------- html code display
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
trigger_action('loc_end_identification');
|
||||
include(PHPWG_ROOT_PATH.'include/page_messages.php');
|
||||
$template->pparse('identification');
|
||||
include(PHPWG_ROOT_PATH.'include/page_tail.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue