--- loncom/interface/lonmanagekeys.pm 2003/04/23 20:29:17 1.5 +++ loncom/interface/lonmanagekeys.pm 2003/05/01 20:26:28 1.7 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to manage course access keys # -# $Id: lonmanagekeys.pm,v 1.5 2003/04/23 20:29:17 www Exp $ +# $Id: lonmanagekeys.pm,v 1.7 2003/05/01 20:26:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -54,7 +54,32 @@ ENDHEAD # =================================================== Show student list to drop sub show_key_list { - my ($r,$mode,$linkto,$action,$statusmode,$classlist,$keylist)=@_; + my ($r,$comment,$newonly,$checkonly,%cenv)=@_; + $comment=~s/\W/\./g; + my %accesskeys=&Apache::lonnet::dump + ('accesskeys',$cenv{'domain'},$cenv{'num'}); + $r->print('
Key | Checked Out | Comments/Remarks/Notes |
---|---|---|
No keys have been generated yet. | ||
".$_.' | '.($checkout? + $checkout:'-').' | '.
+ join(' ',split(/\s*\;\s*/,$com)).' |