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)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 13 Mar 2012 13:54:32 +0000 (14:54 +0100)
commit594565cdafd4adc8fa7f7e501885f68547acdc1a
tree13966fde932c92d6fbfe049416e7e50f6d504e60
parentb1102502aa51ab3384cdfa94faf1237ce8208299
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>
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