From: Nicole Engard <[email protected]>

on the patron attributes page if you have ExtendedPatronAttributes
turned off the error points you to the old sys prefs editor - this
patch fixes that

Signed-off-by: Chris Nighswonger <[email protected]>
---
 .../prog/en/modules/admin/patron-attr-types.tmpl   |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tmpl 
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tmpl
index 27c82c5..b445c41 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tmpl
@@ -68,10 +68,7 @@ function CheckAttributeTypeForm(f) {
     <div class="yui-b">
 
 <!-- TMPL_IF name="WARNING_extended_attributes_off" -->
-<div class="dialog message">Because the 'ExtendedPatronAttributes` system 
preference is currently OFF, extended patron attributes 
-cannot be given to patron records.  Go 
-<a 
href="/cgi-bin/koha/admin/systempreferences.pl?op=add_form&amp;searchfield=ExtendedPatronAttributes">here</a>
 if you wish to turn 
-this feature on.</div>
+<div class="dialog message">Because the 'ExtendedPatronAttributes` system 
preference is currently not enabled, extended patron attributes cannot be given 
to patron records.  Go <a 
href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ExtendedPatronAttributes">here</a>
 if you wish to enable this feature.</div>
 <!-- /TMPL_IF -->
 
 <!-- TMPL_IF name="attribute_type_form" -->
-- 
1.7.0.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to