[Koha-cvs] CVS: koha/opac opac-main.pl,1.11,1.12

Paul POULAIN tipaul at users.sourceforge.net
Fri May 28 10:29:47 CEST 2004


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

Modified Files:
	opac-main.pl 
Log Message:
adding suggestions in OPAC

Index: opac-main.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-main.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** opac-main.pl	10 May 2004 09:24:14 -0000	1.11
--- opac-main.pl	28 May 2004 08:29:43 -0000	1.12
***************
*** 27,30 ****
--- 27,31 ----
  			-multiple => 0 );
  $sth->finish;
+ 
  my ($template, $borrowernumber, $cookie)
      = get_template_and_user({template_name => "opac-main.tmpl",
***************
*** 34,39 ****
  			     flagsrequired => {borrow => 1},
  			 });
- 
  $template->param(CGIitemtype => $CGIitemtype,
  );
  output_html_with_http_headers $input, $cookie, $template->output;
--- 35,41 ----
  			     flagsrequired => {borrow => 1},
  			 });
  $template->param(CGIitemtype => $CGIitemtype,
+ 				suggestion => C4::Context->preference("suggestion"),
  );
+ warn "X : ".C4::Context->preference("suggestion");
  output_html_with_http_headers $input, $cookie, $template->output;





More information about the Koha-cvs mailing list