aboutsummaryrefslogtreecommitdiffstats
path: root/search.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 /search.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--search.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/search.php b/search.php
index f7db92269..233abca19 100644
--- a/search.php
+++ b/search.php
@@ -30,6 +30,8 @@ include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
// +-----------------------------------------------------------------------+
check_status(ACCESS_GUEST);
+triggr_action('loc_begin_search');
+
//------------------------------------------------------------------ form check
$search = array();
if (isset($_POST['submit']))
@@ -231,6 +233,7 @@ if (!isset($themeconf['hide_menu_on']) OR !in_array('theSearchPage', $themeconf[
//------------------------------------------------------------ html code display
include(PHPWG_ROOT_PATH.'include/page_header.php');
+trigger_action('loc_end_search');
include(PHPWG_ROOT_PATH.'include/page_messages.php');
$template->pparse('search');
include(PHPWG_ROOT_PATH.'include/page_tail.php');