]> git.koha-community.org Git - koha.git/commit
Bug 7636 - error when trying to email cart when opacuserlogin set to don't allow
authorOwen Leonard <oleonard@myacpl.org>
Thu, 1 Mar 2012 20:06:25 +0000 (15:06 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 5 May 2012 12:12:55 +0000 (08:12 -0400)
commit6095d3cb830698f096a1939b9efc895d3a5c0182
tree46eb6821f7cfe0eedbed63df28bc7b35973d4ba3
parent96b41d4fbf71ceed691e581f2740917d7170d649
Bug 7636 - error when trying to email cart when opacuserlogin set to don't allow

This patch hides the "send cart" link if the opacuserlogin
preference is set to disallow. Other similar changes included:

- hide the "send list" link
- hide the "your lists" tab
- hide the "log in to create your own lists" link
- hide the "recent comments" link

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Tested with opacuserlogin set to both "Allow" and "Don't allow." With
opacuserlogin set to "Allow," the links showed up, and with opacuserlogin
set to "Don't allow," the links did not.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt