--- loncom/interface/lonmanagekeys.pm 2006/12/05 02:55:53 1.21
+++ loncom/interface/lonmanagekeys.pm 2009/10/29 14:23:23 1.25
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to manage course access keys
#
-# $Id: lonmanagekeys.pm,v 1.21 2006/12/05 02:55:53 albertel Exp $
+# $Id: lonmanagekeys.pm,v 1.25 2009/10/29 14:23:23 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -41,7 +41,13 @@ use Apache::lonlocal;
###############################################################
###############################################################
sub header {
- my $start_page=&Apache::loncommon::start_page('Access Key Management');
+ # Breadcrumbs
+ my $brcrum = [{'href' => '/adm/managekeys',
+ 'text' => 'Access Key Management'}];
+
+ my $start_page=&Apache::loncommon::start_page('Access Key Management',
+ undef,
+ {'bread_crumbs' => $brcrum,});
return(<
- Unused keys only
- Used keys only
+
+
ENDKEYMENU
@@ -272,15 +278,23 @@ ENDKEYMENU
&Apache::loncommon::content_type($r,'text/html');
$r->send_http_header;
$r->print(&header().&Apache::loncommon::coursebrowser_javascript());
- $r->print(
- &mt('Course ID of Key Authority').': ');
- $r->print(&mt('Domain').': '.&Apache::loncommon::select_dom_form(
- $env{'request.role.domain'},'domain'));
- $r->print(&Apache::loncommon::selectcourse_link(
- 'keyform','course','domain',
- undef,undef,undef,'Course'));
- $r->print('
');
- $r->print(''.&Apache::loncommon::end_page());
+ $r->print('
');
+ $r->print(&Apache::lonhtmlcommon::start_pick_box()
+ .&Apache::lonhtmlcommon::row_title(&mt('Course ID of Key Authority'))
+ .''
+ .' '.&Apache::loncommon::selectcourse_link(
+ 'keyform','course','domain',
+ undef,undef,undef,'Course')
+ .&Apache::lonhtmlcommon::row_closure()
+ .&Apache::lonhtmlcommon::row_title(&mt('Domain'))
+ .&Apache::loncommon::select_dom_form($env{'request.role.domain'},'domain')
+ .&Apache::lonhtmlcommon::row_closure(1)
+ .&Apache::lonhtmlcommon::end_pick_box()
+ );
+ $r->print(''
+ .''
+ .&Apache::loncommon::end_page()
+ );
}
return OK;
}