[Koha-cvs] CVS: koha/opac opac-detail.pl,1.1.2.2,1.1.2.3 opac-main.pl,1.1.2.1,1.1.2.2 opac-search.pl,1.1.2.2,1.1.2.3 opac-searchresults.pl,1.1.2.2,1.1.2.3 opac-user.pl,1.1.2.2,1.1.2.3 opac-userupdate.pl,1.1.2.1,1.1.2.2
Finlay Thompson
finlayt at users.sourceforge.net
Wed Oct 2 02:50:18 CEST 2002
Update of /cvsroot/koha/koha/opac
In directory usw-pr-cvs1:/tmp/cvs-serv7233
Modified Files:
Tag: rel-1-2
opac-detail.pl opac-main.pl opac-search.pl
opac-searchresults.pl opac-user.pl opac-userupdate.pl
Log Message:
Making sure that the logged in user is loaded into the template.
Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-detail.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** opac-detail.pl 18 Sep 2002 07:53:42 -0000 1.1.2.2
--- opac-detail.pl 2 Oct 2002 00:50:16 -0000 1.1.2.3
***************
*** 13,16 ****
--- 13,18 ----
my $template = gettemplate ("opac-detail.tmpl", "opac");
+ $template->param(loggedinuser => $loggedinuser);
+
my $biblionumber=$query->param('bib');
Index: opac-main.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-main.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** opac-main.pl 18 Sep 2002 06:25:55 -0000 1.1.2.1
--- opac-main.pl 2 Oct 2002 00:50:16 -0000 1.1.2.2
***************
*** 13,15 ****
--- 13,17 ----
my $template = gettemplate("opac-main.tmpl", "opac");
+ $template->param(loggedinuser => $loggedinuser);
+
print "Content-Type: text/html\n\n", $template->output;
Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-search.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** opac-search.pl 18 Sep 2002 07:53:42 -0000 1.1.2.2
--- opac-search.pl 2 Oct 2002 00:50:16 -0000 1.1.2.3
***************
*** 12,14 ****
--- 12,16 ----
my $template = gettemplate("opac-search.tmpl", "opac");
+ $template->param(loggedinuser => $loggedinuser);
+
print "Content-Type: text/html\n\n", $template->output;
Index: opac-searchresults.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-searchresults.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** opac-searchresults.pl 18 Sep 2002 07:53:42 -0000 1.1.2.2
--- opac-searchresults.pl 2 Oct 2002 00:50:16 -0000 1.1.2.3
***************
*** 106,109 ****
--- 106,110 ----
$template->param(numbers => $numbers);
+ $template->param(loggedinuser => $loggedinuser);
print $query->header(-cookie => $cookie), $template->output;
Index: opac-user.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-user.pl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** opac-user.pl 1 Oct 2002 10:56:08 -0000 1.1.2.2
--- opac-user.pl 2 Oct 2002 00:50:16 -0000 1.1.2.3
***************
*** 86,88 ****
--- 86,89 ----
$template->param(waiting_count => $wcount);
+ $template->param(loggedinuser => $loggedinuser);
print "Content-Type: text/html\n\n", $template->output;
Index: opac-userupdate.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-userupdate.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** opac-userupdate.pl 2 Oct 2002 00:43:17 -0000 1.1.2.1
--- opac-userupdate.pl 2 Oct 2002 00:50:16 -0000 1.1.2.2
***************
*** 66,68 ****
--- 66,70 ----
+ $template->param(loggedinuser => $loggedinuser);
+
print "Content-Type: text/html\n\n", $template->output;
More information about the Koha-cvs
mailing list