[LON-CAPA-cvs] cvs: loncom /imspackages imsimport.pm
bisitz
bisitz@source.lon-capa.org
Thu, 23 Apr 2009 09:40:47 -0000
bisitz Thu Apr 23 09:40:47 2009 EDT
Modified files:
/loncom/imspackages imsimport.pm
Log:
Optimized Co-Author warning: XHTML, standard styles, &mt usage, consistent user:domain
Index: loncom/imspackages/imsimport.pm
diff -u loncom/imspackages/imsimport.pm:1.28 loncom/imspackages/imsimport.pm:1.29
--- loncom/imspackages/imsimport.pm:1.28 Sat Apr 4 21:45:53 2009
+++ loncom/imspackages/imsimport.pm Thu Apr 23 09:40:46 2009
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: imsimport.pm,v 1.28 2009/04/04 21:45:53 bisitz Exp $
+# $Id: imsimport.pm,v 1.29 2009/04/23 09:40:46 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -762,8 +762,10 @@
$r->print(&Apache::loncommon::start_page($title, $javascript));
if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) {
- $r->print('<h3><font color=red>'.&mt('Co-Author').': '.$uname.
- &mt(' at ').$udom.'</font></h3>');
+ $r->print('<h3><span class="LC_warning">'
+ .&mt('Co-Author [_1]:[_2]',$uname,$udom)
+ .'</span></h3>'
+ );
}
if ($env{'form.phase'} eq 'two') {
my $flag = &Apache::lonupload::phasetwo($r,$fn,$uname,$udom,'imsimport');