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 [rel_2_2]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/acqui.simple additem.pl [rel_2_2]
Date: Tue, 21 Mar 2006 04:38:14 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 06/03/21 04:38:14

Modified files:
        acqui.simple   : additem.pl 

Log message:
        improved handling of visibility.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/acqui.simple/additem.pl.diff?only_with_tag=rel_2_2&tr1=1.27.2.17&tr2=1.27.2.18&r1=text&r2=text

Patches:
Index: koha/acqui.simple/additem.pl
diff -u koha/acqui.simple/additem.pl:1.27.2.17 
koha/acqui.simple/additem.pl:1.27.2.18
--- koha/acqui.simple/additem.pl:1.27.2.17      Mon Mar 20 15:16:08 2006
+++ koha/acqui.simple/additem.pl        Tue Mar 21 04:38:14 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: additem.pl,v 1.27.2.17 2006/03/20 15:16:08 tipaul Exp $
+# $Id: additem.pl,v 1.27.2.18 2006/03/21 04:38:14 kados Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -251,6 +251,7 @@
                $subfield_data{marc_lib}="<span 
id=\"error$i\">".$tagslib->{$tag}->{$subfield}->{lib}."</span>";
                
$subfield_data{mandatory}=$tagslib->{$tag}->{$subfield}->{mandatory};
                
$subfield_data{repeatable}=$tagslib->{$tag}->{$subfield}->{repeatable};
+               $subfield_data{hidden}= "display:none" if 
$tagslib->{$tag}->{$subfield}->{hidden};
                my ($x,$value);
                ($x,$value) = find_value($tag,$subfield,$itemrecord) if 
($itemrecord);
                $value =~ s/"/&quot;/g;




reply via email to

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