From 4732c010856b031cdfddb47be5203ec9a5d95b3c Mon Sep 17 00:00:00 2001 From: Nicole Engard Date: Sun, 6 Sep 2009 13:45:06 -0400 Subject: [PATCH] Bug 1172: Added OPACPatronDetails system preference This patch allows library staff to disable the patron details tab on the OPAC. Signed-off-by: Galen Charlton --- installer/data/mysql/en/mandatory/sysprefs.sql | 1 + koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql b/installer/data/mysql/en/mandatory/sysprefs.sql index 3bb9d56ed7..c67332b5ea 100644 --- a/installer/data/mysql/en/mandatory/sysprefs.sql +++ b/installer/data/mysql/en/mandatory/sysprefs.sql @@ -263,3 +263,4 @@ INSERT INTO systempreferences (variable,value,options,explanation,type)VALUES('D INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowAllMessageDeletion','0','Allow any Library to delete any message','','YesNo'); INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES('ShowPatronImageInWebBasedSelfCheck', '0', 'If ON, displays patron image when a patron uses web-based self-checkout', '', 'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnableOpacSearchHistory', '1', 'Enable or disable opac search history', 'YesNo','') +INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACPatronDetails','1','If OFF the patron details tab in the OPAC is disabled.','','YesNo'); diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc b/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc index d4df7c22ad..a8fc320fcd 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc @@ -5,7 +5,9 @@
  • my fines
  • +
  • my personal details
  • +
  • my tags
  • -- 2.20.1