aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/event_tracer/tracer_admin.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-10-18 00:50:19 +0000
committerrvelices <rv-github@modusoptimus.com>2008-10-18 00:50:19 +0000
commit7a28366cba9fc1cb121df1f71f1bfe7b2dc835f0 (patch)
tree396cb7cb2960eea082e0b99ac41de3c46d55472a /plugins/event_tracer/tracer_admin.php
parent79d51b19c17138aef43f2c01a8e2f5230970bff1 (diff)
- event tracer improvement: option to show all registered event handlers for every page ...
git-svn-id: http://piwigo.org/svn/branches/2.0@2771 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/event_tracer/tracer_admin.php')
-rw-r--r--plugins/event_tracer/tracer_admin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/event_tracer/tracer_admin.php b/plugins/event_tracer/tracer_admin.php
index b17f2a301..6e5b864e0 100644
--- a/plugins/event_tracer/tracer_admin.php
+++ b/plugins/event_tracer/tracer_admin.php
@@ -17,6 +17,7 @@ if ( isset($_POST['eventTracer_filters']) )
else
$me->my_config['filters'] = array();
$me->my_config['show_args'] = isset($_POST['eventTracer_show_args']);
+ $me->my_config['show_registered'] = isset($_POST['eventTracer_show_registered']);
$me->save_config();
global $page;
array_push($page['infos'], 'event tracer options saved');
@@ -24,6 +25,7 @@ if ( isset($_POST['eventTracer_filters']) )
$template->assign('EVENT_TRACER_FILTERS', implode("\n", $me->my_config['filters'] ) );
$template->assign('EVENT_TRACER_SHOW_ARGS', $me->my_config['show_args'] ? 'checked="checked"' : '' );
$template->assign('U_LIST_EVENTS', get_admin_plugin_menu_link(dirname(__FILE__).'/event_list.php'));
+$template->assign('EVENT_TRACER_SHOW_REGISTERED', $me->my_config['show_registered'] ? 'checked="checked"' : '' );
//$template->assign_var('EVENT_TRACER_F_ACTION', $my_url);