[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-627-g7e10f6f

Git repo owner gitmaster at git.koha-community.org
Fri May 24 16:43:51 CEST 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  7e10f6fb78ae7fa2dfc4f52a3791ac35082237ac (commit)
      from  98dae69c7176bbd7a962e36fb629fc09229d534c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7e10f6fb78ae7fa2dfc4f52a3791ac35082237ac
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Mon May 6 14:25:23 2013 -0400

    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 at bywatersolutions.com>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>


Summary of changes:
 Koha/Template/Plugin/{ItemTypes.pm => Koha.pm} |   32 +++++++++++++++---------
 1 files changed, 20 insertions(+), 12 deletions(-)
 copy Koha/Template/Plugin/{ItemTypes.pm => Koha.pm} (52%)

main Koha release repository

More information about the koha-commits mailing list