--- loncom/interface/lonmanagekeys.pm 2006/04/26 14:52:22 1.19 +++ loncom/interface/lonmanagekeys.pm 2007/06/20 23:15:15 1.22 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to manage course access keys # -# $Id: lonmanagekeys.pm,v 1.19 2006/04/26 14:52:22 albertel Exp $ +# $Id: lonmanagekeys.pm,v 1.22 2007/06/20 23:15:15 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -193,7 +193,7 @@ sub handler { ($cenv{'domain'},$cenv{'num'})=split(/\_/,$env{'form.cid'}); $keytype='auth'; } elsif ($cenv{'keyauth'}) { - ($cenv{'num'},$cenv{'domain'})=split(/\W/,$cenv{'keyauth'}); + ($cenv{'num'},$cenv{'domain'})=split(/:/,$cenv{'keyauth'}); $keytype='auth'; } else { $keytype='course'; @@ -260,8 +260,8 @@ Comments/Remarks/Notes:
- Unused keys only
- Used keys only
+
+
ENDKEYMENU @@ -277,7 +277,8 @@ ENDKEYMENU $r->print(&mt('Domain').': '.&Apache::loncommon::select_dom_form( $env{'request.role.domain'},'domain')); $r->print(&Apache::loncommon::selectcourse_link( - 'keyform','course','domain')); + 'keyform','course','domain', + undef,undef,undef,'Course')); $r->print('
'); $r->print(''.&Apache::loncommon::end_page()); }