[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

www lon-capa-cvs@mail.lon-capa.org
Fri, 02 Jul 2004 00:59:55 -0000


www		Thu Jul  1 20:59:55 2004 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  Better screen output for authorspace selection: name included, no "home_"
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.132 loncom/interface/londocs.pm:1.133
--- loncom/interface/londocs.pm:1.132	Thu Jul  1 17:54:24 2004
+++ loncom/interface/londocs.pm	Thu Jul  1 20:59:55 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.132 2004/07/01 21:54:24 www Exp $
+# $Id: londocs.pm,v 1.133 2004/07/02 00:59:55 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -201,7 +201,8 @@
 		    $r->print(
 		  '<input type="hidden" name="authorspace" value="'.$1.'" />');
 		} else {
-		    $r->print('<option value="'.$1.'">'.$_.'</option>');
+		    $r->print('<option value="'.$1.'">'.$1.' - '.
+			      &Apache::loncommon::plainname(split(/\@/,$1)).'</option>');
 		}
 	    }
 	}