From b89587c2183cffb522357217ee8e6bef8f452df4 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Mon, 28 Oct 2002 22:29:08 +0000 Subject: [PATCH] Merging from rel-1-2 to trunk --- .../default/en/catalogue/detail-opac.tmpl | 2 +- .../default/en/catalogue/detail.tmpl | 2 +- .../default/en/catalogue/moredetail.tmpl | 112 ++++++++++++++++++ .../default/en/catalogue/subject.tmpl | 4 +- moredetail.pl | 11 ++ 5 files changed, 127 insertions(+), 4 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/default/en/catalogue/moredetail.tmpl diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail-opac.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail-opac.tmpl index f47ca05a57..8ad1c28b4c 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail-opac.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail-opac.tmpl @@ -28,7 +28,7 @@ Subtitle:
Author:
Additional Author:
-Series Title:
+Series Title:
Subject:
Copyright:
Notes:
diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl index 19091e41de..fb044328e8 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl @@ -49,7 +49,7 @@ border="0" src="/images/delete-mem.gif"> Author: >
Additional Author:
-Series Title:
+Series Title:
Subject:
Copyright:
Notes:
diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/moredetail.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/moredetail.tmpl new file mode 100644 index 0000000000..c291e1313f --- /dev/null +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/moredetail.tmpl @@ -0,0 +1,112 @@ + + + +

Logged in as: [Log Out]

+ +

Log In to Koha

+
+ +
+
+ + + +&type=intra> +()

+

+

+> +> + + + + + + + + +
GROUP -
+ + +
+ +Biblionumber:
+Item Type:
+URL:
+Loan Length:
+Rental Charge:
+Classification:
+ISBN:
+Publisher:
+Place:
+Date:
+Volume:
+Pages:
+Illus:
+Size:
+Notes:
+No. of Items: +
+
+
+
+ + + + + + + + + +
BARCODE +
+
+> +> +> + + +
+ +Home Branch:
+Last seen:
+Last borrowed:
+ +Last Borrower 1:
+Last Borrower 2:
+Current Branch:
+Replacement Price:
+Item lost:
+Paid for:
+Notes:
+Renewals:
+&biblio=&invoice=&catview=yes"> +Accession +Date:
+Cancelled:
+&bi=&itm=>Total +Issues:
+Group Number:
+Biblio number:
+ + + +
+
+ +
+ +

+ +

+ + diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/subject.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/subject.tmpl index 992fc8adb8..72cccdb35e 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/subject.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/subject.tmpl @@ -23,9 +23,9 @@ bgcolor=#99cccc background=/images/background-opac.gif background="/images/background-mem.gif">
- &startfrom=>Previous Records + &startfrom=>Previous Records - &startfrom=>Next Records + &startfrom=>Next Records
diff --git a/moredetail.pl b/moredetail.pl index 357169873b..8a7e0e271d 100755 --- a/moredetail.pl +++ b/moredetail.pl @@ -27,6 +27,8 @@ use CGI; use C4::Search; use C4::Catalogue; use C4::Output; # contains gettemplate +use C4::Auth; + my $query=new CGI; my $includes = C4::Context->config('includes') || @@ -41,6 +43,11 @@ if ($subject){ } else { $template = gettemplate("catalogue/moredetail.tmpl"); } +my $flagsrequired; +$flagsrequired->{catalogue}=1; +my ($loggedinuser, $cookie, $sessionID) = checkauth($query, 0, $flagsrequired); + +# get variables my $biblionumber=$query->param('bib'); my $title=$query->param('title'); @@ -65,6 +72,9 @@ my $count=@items; $data->{'count'}=$count; my ($order,$ordernum)=getorder($bi,$biblionumber); +my $env; +$env->{itemcount}=1; + $results[0]=$data; foreach my $item (@items){ @@ -92,5 +102,6 @@ foreach my $item (@items){ $template->param(includesdir => $includes); $template->param(BIBITEM_DATA => \@results); $template->param(ITEM_DATA => \@items); +$template->param(loggedinuser => $loggedinuser); print "Content-Type: text/html\n\n", $template->output; -- 2.39.5