koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4 Koha.pm


From: Antoine Farnault
Subject: [Koha-cvs] koha/C4 Koha.pm
Date: Thu, 10 Aug 2006 12:54:45 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     Antoine Farnault <toins>        06/08/10 12:54:45

Modified files:
        C4             : Koha.pm 

Log message:
        add a filter on text file.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Koha.pm?cvsroot=koha&r1=1.39&r2=1.40

Patches:
Index: Koha.pm
===================================================================
RCS file: /sources/koha/koha/C4/Koha.pm,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- Koha.pm     21 Jul 2006 10:15:25 -0000      1.39
+++ Koha.pm     10 Aug 2006 12:54:45 -0000      1.40
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Koha.pm,v 1.39 2006/07/21 10:15:25 toins Exp $
+# $Id: Koha.pm,v 1.40 2006/08/10 12:54:45 toins Exp $
 
 use strict;
 require Exporter;
@@ -25,7 +25,7 @@
 
 use vars qw($VERSION @ISA @EXPORT);
 
-$VERSION = do { my @v = '$Revision: 1.39 $' =~ /\d+/g; shift(@v) . "." . 
join("_", map {sprintf "%03d", $_ } @v); };
+$VERSION = do { my @v = '$Revision: 1.40 $' =~ /\d+/g; shift(@v) . "." . 
join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
 
@@ -619,6 +619,7 @@
                 next if $language=~ /css$/;
                 next if $language=~ /CVS$/;
                 next if $language=~ /itemtypeimg$/;
+               next if $language=~ /\.txt$/i; #Don't read the readme.txt !
                 push @languages, $language;
             }
             return sort @languages;
@@ -633,6 +634,7 @@
                     next if $language=~ /css$/;
                     next if $language=~ /CVS$/;
                     next if $language=~ /itemtypeimg$/;
+                   next if $language=~ /\.txt$/i; #Don't read the readme.txt !
                     $lang->{$language}=1;
                 }
             }
@@ -650,6 +652,7 @@
                 next if $language=~ /css$/;
                 next if $language=~ /CVS$/;
                 next if $language=~ /itemtypeimg$/;
+                next if $language=~ /\.txt$/i; #Don't read the readme.txt !
                 push @languages, $language;
             }
             return sort @languages;
@@ -664,6 +667,7 @@
                     next if $language=~ /css$/;
                     next if $language=~ /CVS$/;
                     next if $language=~ /itemtypeimg$/;
+                   next if $language=~ /\.txt$/i; #Don't read the readme.txt !
                     $lang->{$language}=1;
                 }
             }
@@ -682,6 +686,7 @@
                 next if $language=~ /css$/;
                 next if $language=~ /CVS$/;
                 next if $language=~ /itemtypeimg$/;
+               next if $language=~ /\.txt$/i; #Don't read the readme.txt !
                 $lang->{$language}=1;
             }
         }
@@ -695,6 +700,7 @@
             next if $language=~ /css$/;
             next if $language=~ /CVS$/;
             next if $language=~ /itemtypeimg$/;
+           next if $language=~ /\.txt$/i; #Don't read the readme.txt !
             $lang->{$language}=1;
             }
         }




reply via email to

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