[LON-CAPA-cvs] cvs: loncom /publisher lonpubdir.pm

bisitz bisitz@source.lon-capa.org
Tue, 19 May 2009 10:16:02 -0000


bisitz		Tue May 19 10:16:02 2009 EDT

  Modified files:              
    /loncom/publisher	lonpubdir.pm 
  Log:
  Consistent Wording:
  username:domain
  
  
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.119 loncom/publisher/lonpubdir.pm:1.120
--- loncom/publisher/lonpubdir.pm:1.119	Thu Feb 12 21:15:56 2009
+++ loncom/publisher/lonpubdir.pm	Tue May 19 10:16:02 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construction Space Directory Lister
 #
-# $Id: lonpubdir.pm,v 1.119 2009/02/12 21:15:56 schafran Exp $
+# $Id: lonpubdir.pm,v 1.120 2009/05/19 10:16:02 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -62,7 +62,7 @@
     &Apache::loncacc::constructaccess(
              $fn,$r->dir_config('lonDefDomain')); 
   unless (($uname) && ($udom)) {
-     $r->log_reason($uname.' at '.$udom.
+     $r->log_reason($uname.':'.$udom.
          ' trying to list directory '.$env{'form.filename'}.
          ' ('.$fn.') - not authorized', 
          $r->filename); 
@@ -74,7 +74,7 @@
   $fn=~s/\/$//;
 
   unless ($fn) { 
-     $r->log_reason($env{'user.name'}.' at '.$env{'user.domain'}.
+     $r->log_reason($env{'user.name'}.':'.$env{'user.domain'}.
          ' trying to list empty directory', $r->filename); 
      return HTTP_NOT_FOUND;
   } 
@@ -333,8 +333,7 @@
 
     if ((($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) &&
 	$env{'environment.remote'} ne 'off') {
-	$r->print('<h3>'.&mt('Co-Author').': '.$uname.' at '.$udom.
-		  '</h3>');
+        $r->print('<h3>'.&mt('Co-Author [_1]',$uname.':'.$udom).'</h3>');
     }
 }