[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 12 May 2004 18:59:38 -0000


sakharuk		Wed May 12 14:59:38 2004 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Pictures from aboutme can be printed.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.214 loncom/xml/londefdef.pm:1.215
--- loncom/xml/londefdef.pm:1.214	Wed May 12 14:29:57 2004
+++ loncom/xml/londefdef.pm	Wed May 12 14:59:38 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.214 2004/05/12 18:29:57 sakharuk Exp $
+# $Id: londefdef.pm,v 1.215 2004/05/12 18:59:38 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -2271,6 +2271,8 @@
         #if uploaded restore the path
 	if ($src=~/^\/uploaded\/([^\/]+)\/([^\/]+)\/simplepage\/([^\/]+)$/) {
 	    $src=&Apache::loncommon::propath($1,$2).'/userfiles/simplepage/'.$3;
+	} elsif ($src=~/^\/uploaded\/([^\/]+)\/([^\/]+)\/aboutme\/([^\/]+)$/) {
+	    $src=&Apache::loncommon::propath($1,$2).'/userfiles/aboutme/'.$3;
 	}
 	#if original gif/jpg/png file exist do following:
 	if (-e $src) {