aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/event_tracer/tracer_admin.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-27 00:25:02 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-27 00:25:02 +0000
commit2b3bc579e4dcd4bf64c712eeca86f05e2d70fbf0 (patch)
tree56ac5c2009ab5fc7bb804e0c6f81edf1242472a8 /plugins/event_tracer/tracer_admin.tpl
parent5cce84ff1c62812e25f6252877ae46b1d3381b62 (diff)
- plugins can add now their page to the admin page
- new plugin (event_tracer) that demonstrate it and useful to see all calls to trigger_event git-svn-id: http://piwigo.org/svn/trunk@1580 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/event_tracer/tracer_admin.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/event_tracer/tracer_admin.tpl b/plugins/event_tracer/tracer_admin.tpl
new file mode 100644
index 000000000..38fbd2796
--- /dev/null
+++ b/plugins/event_tracer/tracer_admin.tpl
@@ -0,0 +1,22 @@
+<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 PhpWebGallery calling.
+<b>Note that $conf['show_queries'] must be true.</b>
+</p>
+<form method="post" action="{EVENT_TRACER_F_ACTION}" class="general">
+<fieldset>
+ <legend>Event Tracer</legend>
+
+<label>Show event argument
+ <input type="checkbox" name="eventTracer_show_args" value="{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 type="submit" value="Submit" /></p>
+</form>