]> git.koha-community.org Git - koha.git/commit
Bug 3516 [REVISED] Display picture of patrons in OPAC
authorOwen Leonard <oleonard@myacpl.org>
Thu, 16 Feb 2012 20:25:39 +0000 (15:25 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 5 Mar 2012 16:12:16 +0000 (17:12 +0100)
commitb5e27d047c528bb3d959c147ce69fc2bc4d7b832
tree0449809214fd30244cf016ce323ae22bc8b1cd6c
parent5716b69d16023544ca87ac88343716b2105ab047
Bug 3516 [REVISED] Display picture of patrons in OPAC

This patch adapts the patron image display script from the
self-checkout module to optionally display the image of the
logged-in user on their personal information page (opac-userupdate.pl).
The script changes the method choosing which image to display
from using a passed cardnumber to using the borrowernumber of
the logged-in user.

A system preference is added, OPACpatronimages, to control
whether these images are displayed.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Verified that patron image shows only when system preference is turned on
and that there are no display problems for patrons without patron image.
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt
opac/opac-patron-image.pl [new file with mode: 0755]
opac/opac-userupdate.pl