[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-detail.pl [dev_week]
From: |
Owen Leonard |
Subject: |
[Koha-cvs] koha/opac opac-detail.pl [dev_week] |
Date: |
Tue, 19 Sep 2006 20:35:50 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Owen Leonard <oleonard> 06/09/19 20:35:50
Modified files:
opac : opac-detail.pl
Log message:
Making tabs on opac-detail function for javascript-disabled users
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.14.2.19.2.5&r2=1.14.2.19.2.6
Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.19.2.5
retrieving revision 1.14.2.19.2.6
diff -u -b -r1.14.2.19.2.5 -r1.14.2.19.2.6
--- opac-detail.pl 19 Sep 2006 04:46:31 -0000 1.14.2.19.2.5
+++ opac-detail.pl 19 Sep 2006 20:35:50 -0000 1.14.2.19.2.6
@@ -87,6 +87,18 @@
my address@hidden;
my address@hidden;
+ # set the default tab, etc.
+ my $displaytab = $query->param('display');
+ if ((!$displaytab) || ($displaytab eq 'holdings')) {
+ $template->param(showholdings => 1);
+ } elsif ($displaytab eq 'descriptions') {
+ $template->param(showdescriptions => 1);
+ } elsif ($displaytab eq 'serials') {
+ $template->param(showserials => 1);
+ } elsif ($displaytab eq 'reviews') {
+ $template->param(showreviews => 1);
+ }
+
$template->param(BIBLIO_RESULTS => $resultsarray,
ITEM_RESULTS => $itemsarray,
WEB_RESULTS => $webarray,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/opac opac-detail.pl [dev_week],
Owen Leonard <=