[Koha-cvs] CVS: koha/search.marc search.pl,1.22.2.2,1.22.2.3

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


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

Modified Files:
      Tag: rel_2_2
	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: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/search.marc/search.pl,v
retrieving revision 1.22.2.2
retrieving revision 1.22.2.3
diff -C2 -r1.22.2.2 -r1.22.2.3
*** search.pl	25 Mar 2005 17:05:41 -0000	1.22.2.2
--- search.pl	28 Sep 2005 15:48:25 -0000	1.22.2.3
***************
*** 341,344 ****
--- 341,345 ----
  
  
+ 	$template->param('Disable_Dictionary'=>C4::Context->preference("Disable_Dictionary")) if (C4::Context->preference("Disable_Dictionary"));
  	$template->param("statements" => \@statements,
  			"nbstatements" => 3,





More information about the Koha-cvs mailing list