[Koha-cvs] CVS: koha/opac opac-search.pl,1.21.2.5,1.21.2.6

Henri-Damien LAURENT hdl at users.sourceforge.net
Wed Sep 28 17:48:27 CEST 2005


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10276/opac

Modified Files:
      Tag: rel_2_2
	opac-search.pl 
Log Message:
Adding a System Preference Management to hide the Dictionnary Buttons if needed.
system preference is called Disable_Dictionary YesNo type.


Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.21.2.5
retrieving revision 1.21.2.6
diff -C2 -r1.21.2.5 -r1.21.2.6
*** opac-search.pl	23 Sep 2005 10:11:02 -0000	1.21.2.5
--- opac-search.pl	28 Sep 2005 15:48:25 -0000	1.21.2.6
***************
*** 207,210 ****
--- 207,211 ----
  	$sth->finish;
      
+ 	$template->param('Disable_Dictionary'=>C4::Context->preference("Disable_Dictionary")) if (C4::Context->preference("Disable_Dictionary"));
  	$template->param(classlist => $classlist,
  					CGIitemtype => $CGIitemtype,





More information about the Koha-cvs mailing list