[Koha-cvs] CVS: koha bull-home.pl,1.1,1.2

Paul POULAIN tipaul at users.sourceforge.net
Thu Aug 5 18:37:09 CEST 2004


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

Modified Files:
	bull-home.pl 
Log Message:
reordering code & debugging

Index: bull-home.pl
===================================================================
RCS file: /cvsroot/koha/koha/bull-home.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** bull-home.pl	30 Jul 2004 14:01:01 -0000	1.1
--- bull-home.pl	5 Aug 2004 16:37:07 -0000	1.2
***************
*** 4,7 ****
--- 4,8 ----
  use CGI;
  use C4::Auth;
+ use C4::Bull;
  use C4::Output;
  use C4::Interface::CGI::Output;
***************
*** 10,13 ****
--- 11,17 ----
  
  my $query = new CGI;
+ my $title = $query->param('title');
+ my $ISSN = $query->param('ISSN');
+ my @subscriptions = getsubscriptions($title,$ISSN);
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "bull/bull-home.tmpl",
***************
*** 18,20 ****
--- 22,30 ----
  				debug => 1,
  				});
+ 
+ $template->param(
+ 	subscriptions => \@subscriptions,
+ 	title => $title,
+ 	ISSN => $ISSN,
+ 	);
  output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list