--- loncom/interface/lonmanagekeys.pm 2003/05/01 20:26:28 1.7 +++ loncom/interface/lonmanagekeys.pm 2003/05/02 13:00:19 1.8 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to manage course access keys # -# $Id: lonmanagekeys.pm,v 1.7 2003/05/01 20:26:28 www Exp $ +# $Id: lonmanagekeys.pm,v 1.8 2003/05/02 13:00:19 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -58,7 +58,7 @@ sub show_key_list { $comment=~s/\W/\./g; my %accesskeys=&Apache::lonnet::dump ('accesskeys',$cenv{'domain'},$cenv{'num'}); - $r->print(''); + $r->print('
KeyChecked OutComments/Remarks/Notes
'); foreach (keys %accesskeys) { if ($_=~/^error\:/) { $r->print(''); @@ -71,10 +71,13 @@ sub show_key_list { } $r->print("\n'); + join('
',split(/\s*\;\s*/,$com)). + ''); } } $r->print('
KeyChecked OutComments/Remarks/NotesEnter Additional Comments/Remarks/Notes
No keys have been generated yet.
".$_.''.($checkout? $checkout:'-').''. - join('
',split(/\s*\;\s*/,$com)).'
'); + $r->print(''); return ''; # # Junk below @@ -245,7 +248,7 @@ Comments/Remarks/Notes:
Unused keys only
-Used keys only
+ Used keys only
ENDKEYMENU $r->print('');