Bugzilla – Attachment 8577 Details for
Bug 7743
Use KohaDates TT plugin in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 7743: Update sco/sco-main.pl to use KohaDates TT plugin
SIGNED-OFF-Bug-7743-Update-scosco-mainpl-to-use-Ko.patch (text/plain), 2.64 KB, created by
Marijana Glavica
on 2012-03-23 10:43:57 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 7743: Update sco/sco-main.pl to use KohaDates TT plugin
Filename:
MIME Type:
Creator:
Marijana Glavica
Created:
2012-03-23 10:43:57 UTC
Size:
2.64 KB
patch
obsolete
>From 03b6dd9d7c2ad0fc882bac8c64e716794f0e4592 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 19 Mar 2012 14:49:36 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 7743: Update sco/sco-main.pl to use KohaDates TT plugin > >Signed-off-by: Marijana Glavica <mglavica@ffzg.hr> >--- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 4 +++- > opac/sco/sco-main.pl | 3 --- > 2 files changed, 3 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >index f7d2c4f..9f8f634 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >@@ -1,3 +1,5 @@ >+[% USE KohaDates %] >+ > [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self Checkout </title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> >@@ -210,7 +212,7 @@ Sorry, This Self-Checkout Station has lost authentication. Please contact the a > <td>[% UNLESS ( ISSUE.noitemlinks ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a>[% ELSE %]<strong>[% ISSUE.title |html %]</strong>[% END %]<span class="item-details"> > [% ISSUE.author %]</span> ([% ISSUE.barcode %])</td> > <td>[% ISSUE.itemcallnumber %]</td> >- [% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due_display %]</td>[% ELSE %]<td>[% ISSUE.date_due_display %]</td>[% END %] >+ [% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due | $KohaDates %]</td>[% ELSE %]<td>[% ISSUE.date_due | $KohaDates %]</td>[% END %] > <td> > <form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> > <input type="hidden" name="op" value="checkout" /> >diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl >index f0ca37e..243dddd 100755 >--- a/opac/sco/sco-main.pl >+++ b/opac/sco/sco-main.pl >@@ -39,12 +39,10 @@ use Digest::MD5 qw(md5_base64); > > use C4::Auth qw(get_template_and_user checkpw); > use C4::Koha; >-use C4::Dates qw/format_date/; > use C4::Circulation; > use C4::Reserves; > use C4::Output; > use C4::Members; >-use C4::Dates; > use C4::Biblio; > use C4::Items; > >@@ -218,7 +216,6 @@ if ($borrower->{cardnumber}) { > my @issues; > my ($issueslist) = GetPendingIssues( $borrower->{'borrowernumber'} ); > foreach my $it (@$issueslist) { >- $it->{date_due_display} = format_date($it->{date_due}); > my ($renewokay, $renewerror) = CanBookBeIssued( > $borrower, > $it->{'barcode'}, >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7743
:
8281
|
8282
|
8283
|
8284
|
8285
|
8286
|
8287
|
8288
|
8573
|
8574
|
8575
|
8576
|
8577
|
8578
|
8579
|
8580
|
8624
|
9038
|
9041