piwigo/plugins/event_tracer/tracer_admin.tpl
rvelices 3326f742fe merge rev 2771,2772 from branch 2.0
- 2771 event tracer improvement: option to show all registered event handlers for every page
- 2772 php optims (small): remove/replace preg_xxx with faster simple string functions

git-svn-id: http://piwigo.org/svn/trunk@2773 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-18 01:08:58 +00:00

37 lines
1.1 KiB
Smarty

{* $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 arguments
<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>
<br/>
<label>Show all registered handlers
<input type="checkbox" name="eventTracer_show_registered" {$EVENT_TRACER_SHOW_REGISTERED} />
</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>