[Koha-cvs] koha/C4 Koha.pm [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Thu Oct 19 11:00:53 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/10/19 09:00:53

Modified files:
	C4             : Koha.pm 

Log message:
	itemtypes images are on the opac directory.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Koha.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.40.2.14&r2=1.40.2.15

Patches:
Index: Koha.pm
===================================================================
RCS file: /sources/koha/koha/C4/Koha.pm,v
retrieving revision 1.40.2.14
retrieving revision 1.40.2.15
diff -u -b -r1.40.2.14 -r1.40.2.15
--- Koha.pm	18 Oct 2006 14:27:00 -0000	1.40.2.14
+++ Koha.pm	19 Oct 2006 09:00:53 -0000	1.40.2.15
@@ -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.40.2.14 2006/10/18 14:27:00 toins Exp $
+# $Id: Koha.pm,v 1.40.2.15 2006/10/19 09:00:53 toins Exp $
 
 use strict;
 require Exporter;
@@ -25,7 +25,7 @@
 use C4::Output;
 use vars qw($VERSION @ISA @EXPORT);
 
-$VERSION = do { my @v = '$Revision: 1.40.2.14 $' =~ /\d+/g; shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
+$VERSION = do { my @v = '$Revision: 1.40.2.15 $' =~ /\d+/g; shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
 
@@ -589,7 +589,7 @@
 
 sub getitemtypeimagedir {
     return
-        C4::Context->intrahtdocs
+        C4::Context->opachtdocs
         .'/'.C4::Context->preference('template')
         .'/itemtypeimg'
         ;
@@ -597,7 +597,7 @@
 
 sub getitemtypeimagesrc {
     return
-        '/intranet-tmpl'
+        '/opac-tmpl'
         .'/'.C4::Context->preference('template')
         .'/itemtypeimg'
         ;





More information about the Koha-cvs mailing list