Diff for /loncom/interface/lonmanagekeys.pm between versions 1.23 and 1.25

version 1.23, 2009/02/19 22:11:53 version 1.25, 2009/10/29 14:23:23
Line 41  use Apache::lonlocal; Line 41  use Apache::lonlocal;
 ###############################################################  ###############################################################
 ###############################################################  ###############################################################
 sub header {  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(<<ENDHEAD);      return(<<ENDHEAD);
 $start_page  $start_page
 <form method="post" enctype="multipart/form-data"    <form method="post" enctype="multipart/form-data"  
Line 272  ENDKEYMENU Line 278  ENDKEYMENU
  &Apache::loncommon::content_type($r,'text/html');   &Apache::loncommon::content_type($r,'text/html');
  $r->send_http_header;   $r->send_http_header;
  $r->print(&header().&Apache::loncommon::coursebrowser_javascript());   $r->print(&header().&Apache::loncommon::coursebrowser_javascript());
         $r->print('<table><tr><td>'          $r->print('<br />');
    .&mt('Course ID of Key Authority').':</td><td> <input input type="text" size="25" name="course" value="" />');          $r->print(&Apache::lonhtmlcommon::start_pick_box()
         $r->print(&Apache::loncommon::selectcourse_link(                   .&Apache::lonhtmlcommon::row_title(&mt('Course ID of Key Authority'))
         'keyform','course','domain',                   .'<input input type="text" size="25" name="course" value="" />'
                                                 undef,undef,undef,'Course'));                   .' '.&Apache::loncommon::selectcourse_link(
         $r->print('</td></tr>');                            'keyform','course','domain',
         $r->print('<tr><td>'.&mt('Domain').':</td><td> '.&Apache::loncommon::select_dom_form(                            undef,undef,undef,'Course')
                $env{'request.role.domain'},'domain'));                   .&Apache::lonhtmlcommon::row_closure()
         $r->print('</td></tr></table><input type="submit" value="'.&mt('Next').'" />');                   .&Apache::lonhtmlcommon::row_title(&mt('Domain'))
  $r->print('</form>'.&Apache::loncommon::end_page());                   .&Apache::loncommon::select_dom_form($env{'request.role.domain'},'domain')
                    .&Apache::lonhtmlcommon::row_closure(1)
                    .&Apache::lonhtmlcommon::end_pick_box()
           );
           $r->print('<input type="submit" value="'.&mt('Next').'" />'
                   .'</form>'
                   .&Apache::loncommon::end_page()
           );
     }      }
     return OK;      return OK;
 }  }

Removed from v.1.23  
changed lines
  Added in v.1.25


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>