aboutsummaryrefslogtreecommitdiffstats
path: root/BSF/plugins/event_tracer/tracer_admin.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'BSF/plugins/event_tracer/tracer_admin.tpl')
-rw-r--r--BSF/plugins/event_tracer/tracer_admin.tpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/BSF/plugins/event_tracer/tracer_admin.tpl b/BSF/plugins/event_tracer/tracer_admin.tpl
new file mode 100644
index 000000000..17d7e2b01
--- /dev/null
+++ b/BSF/plugins/event_tracer/tracer_admin.tpl
@@ -0,0 +1,29 @@
+{* $Id$ *}
+<div class="titrePage">
+ <h2>Event Tracer</h2>
+</div>
+
+<p>
+The event tracer is a developer tool that logs in the footer of the window all calls to trigger_event method.
+You can use this plugin to see what events is Piwigo calling.
+<b>Note that $conf['show_queries'] must be true.</b>
+</p>
+<form method="post" action="" class="general">
+<fieldset>
+ <legend>Event Tracer</legend>
+
+<label>Show event argument
+ <input type="checkbox" name="eventTracer_show_args" {$EVENT_TRACER_SHOW_ARGS} />
+</label>
+<br/>
+<label>Fill below a list of regular expressions (one per line).
+An event will be logged if its name matches at least one expression in the list.
+ <textarea name="eventTracer_filters" id="eventTracer_filters"rows="10" cols="80">{$EVENT_TRACER_FILTERS}</textarea>
+</label>
+
+</fieldset>
+
+<p><input class="submit" type="submit" value="Submit" /></p>
+
+<p><a href="{$U_LIST_EVENTS}">Click here to see a complete list of actions and events trigered by this PWG version</a>.</p>
+</form>