Koha-clms/Koha/Template/Plugin
Kyle M Hall 7e10f6fb78 Bug 10206 - Add Koha TT Plugin - Koha.Preference
This plugin is meant to be a place to put general purpose TT functions
directly related to Koha. If a plugin is not a filter, and does not
have more than one subroutine, that subroutine most likely belongs
in this TT plugin.

This first and only function the plugin currently has is Preference,
which allows a template to get the value of a system preference without,
it needing to be passed in from a perl script.

For example, to use, first include the line '[% USE Koha %]' at the top
of the template to enable the plugin, then do something like this
to check the value of a system prefence in the template:

[% IF Koha.Preference( 'MyPreference ) == 'SettingA' %] ...

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-05-24 07:49:51 -07:00
..
AuthorisedValues.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Branches.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Cache.pm Follow-up Bug 7387 - Add Template::Toolkit plugin to allow caching of includes 2013-03-07 10:58:52 -05:00
ItemTypes.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Koha.pm Bug 10206 - Add Koha TT Plugin - Koha.Preference 2013-05-24 07:49:51 -07:00
KohaAuthorisedValues.pm Bug 4173: Followup: Document KohaAuthorisedValues plugin 2012-09-14 16:37:21 +02:00
KohaBranchName.pm Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
KohaDates.pm Bug 9479 follow-up: only set KohaDates as dynamic once 2013-03-30 23:35:55 -04:00