mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
- added trigger_action in menubar and page_tail (begin and end)
- small cosmetic change in menubar to simplify life for some plugin features git-svn-id: http://piwigo.org/svn/trunk@1595 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
// +-----------------------------------------------------------------------+
|
||||
$template->set_filenames(array('tail'=>'footer.tpl'));
|
||||
|
||||
trigger_action('loc_begin_page_tail');
|
||||
|
||||
$template->assign_vars(
|
||||
array(
|
||||
'VERSION' => $conf['show_version'] ? PHPWG_VERSION : '',
|
||||
@@ -74,10 +76,10 @@ if ( !empty($debug_vars) )
|
||||
$template->assign_block_vars('debug',$debug_vars );
|
||||
}
|
||||
|
||||
trigger_action('loc_end_page_tail');
|
||||
//
|
||||
// Generate the page
|
||||
//
|
||||
|
||||
$template->parse('tail');
|
||||
|
||||
$template->p();
|
||||
|
||||
Reference in New Issue
Block a user