]> 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>
Tue, 8 May 2012 21:48:52 +0000 (17:48 -0400)
commit6e6c6a3b6fae68ea1e6514dd066c1b7d3f3b04b9
tree46eb6821f7cfe0eedbed63df28bc7b35973d4ba3
parent8cba84d33c1d96a369456cdb6a7ff0bb2cd1f2ff
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