Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/logs.pref
Kyle M Hall aa356f47ea Bug 13948: Add ability to dump template toolkit variables to html comment
It would be incredibly helpful if we could easily enable Koha to dump
all Template Toolkit variables to a comment for debugging purposes.

Test Plan:
1) Apply this patch
2) Run updatedatabase
3) Enable the new system preferences DumpTemplateVarsIntranet and
   DumpTemplateVarsOpac
4) Load a page in the staff intranet, view the html source
5) Note the template toolkit variables are embedded in an html comment
6) Load a page in the opac, view the html source
7) Note the template toolkit variable are embedded in an html comment

NOTE: I had to cpan2deb Template::Plugin::Stash to test.
      This is not optimal. Additionally:
      http://www.template-toolkit.org/docs/modules/Template/Plugin/index.html
      does not contain Stash. I suspect this was how it was
      introduced initially by TT.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-07-28 10:29:43 -03:00

75 lines
2.3 KiB
Text

Logging:
Logging:
-
- pref: LetterLog
choices:
on: Log
off: "Don't log"
- when an automatic claim notice is sent.
-
- pref: BorrowersLog
choices:
on: Log
off: "Don't log"
- changes to patron records.
-
- pref: CataloguingLog
choices:
on: Log
off: "Don't log"
- any changes to bibliographic or item records. Since this occurs whenever a book is checked in or out as well, it is not advisable to turn this on.
-
- pref: AuthoritiesLog
choices:
on: Log
off: "Don't log"
- changes to authority records.
-
- pref: FinesLog
choices:
on: Log
off: "Don't log"
- when fines are charged, paid, or forgiven.
-
- pref: IssueLog
choices:
on: Log
off: "Don't log"
- when items are checked out.
-
- pref: ReturnLog
choices:
on: Log
off: "Don't log"
- when items are returned.
-
- pref: SubscriptionLog
choices:
on: Log
off: "Don't log"
- when serials are added, deleted or changed.
-
- pref: CronjobLog
choices:
on: Log
off: "Don't log"
- information from cron jobs.
-
- pref: ReportsLog
choices:
on: Log
off: "Don't log"
- when reports are added, deleted or changed.
Debugging:
-
- pref: DumpTemplateVarsIntranet
choices:
on: Do
off: "Don't"
- dump all Template Toolkit variable to a comment in the html source for the staff intranet.
-
- pref: DumpTemplateVarsOpac
choices:
on: Do
off: "Don't"
- dump all Template Toolkit variable to a comment in the html source for the OPAC.