koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/acqui.simple additem.pl [dev_week]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/acqui.simple additem.pl [dev_week]
Date: Fri, 06 Oct 2006 03:10:34 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Joshua Ferraro <kados>  06/10/06 03:10:34

Modified files:
        acqui.simple   : additem.pl 

Log message:
        fix for bug 1188: Edit biblio, edit item screens should show title of 
record being edited                                   
                                                                                
                                                            
                                                                                
                                                                                
                                                                                
                                        There is now a top-leve template var 
called 'title'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/acqui.simple/additem.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.27.2.19.2.5&r2=1.27.2.19.2.6

Patches:
Index: additem.pl
===================================================================
RCS file: /sources/koha/koha/acqui.simple/Attic/additem.pl,v
retrieving revision 1.27.2.19.2.5
retrieving revision 1.27.2.19.2.6
diff -u -b -r1.27.2.19.2.5 -r1.27.2.19.2.6
--- additem.pl  3 Oct 2006 15:46:23 -0000       1.27.2.19.2.5
+++ additem.pl  6 Oct 2006 03:10:34 -0000       1.27.2.19.2.6
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: additem.pl,v 1.27.2.19.2.5 2006/10/03 15:46:23 kados Exp $
+# $Id: additem.pl,v 1.27.2.19.2.6 2006/10/06 03:10:34 kados Exp $
 #
 # Copyright 2000-2002 Katipo Communications
 #
@@ -359,6 +359,7 @@
 }
 
 # what's the next op ? it's what we are not in : an add if we're editing, 
otherwise, and edit.
+$template->param( title => $record->title() ) if ($record ne "-1");
 $template->param(item_loop => address@hidden,
                                                item_header_loop => 
address@hidden,
                                                bibid => $bibid,
@@ -378,6 +379,7 @@
 foreach my $error (@errors) {
        $template->param($error => 1);
 }
+
 output_html_with_http_headers $input, $cookie, $template->output;
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]