piwigo/plugins/event_tracer/tracer_admin.tpl
rub 618158aca4 Add comment tags in order to know tpl to migrate
# tag
for f in `find . -name \*.tpl`
do 
  echo $f
  mv $f $f.tmp
  echo '<!-- DEV TAG: not smarty migrated -->' > $f
  cat $f.tmp >> $f
  rm -f $f.tmp
done

#find file not migrated
for f in `find . -name \*.tpl`
do 
  grep -i '<!-- DEV TAG: not smarty migrated -->' $f > /dev/null && echo $f
done


git-svn-id: http://piwigo.org/svn/trunk@2222 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27 23:08:44 +00:00

29 lines
1 KiB
Go Template

<!-- DEV TAG: not smarty migrated -->
<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 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" {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>