Diff for /rat/lonpage.pm between versions 1.58 and 1.59

version 1.58, 2004/08/29 18:45:52 version 1.59, 2004/08/29 19:25:34
Line 351  sub handler { Line 351  sub handler {
                   unless ($contents) {                    unless ($contents) {
                       &Apache::loncommon::content_type($r,'text/html');                        &Apache::loncommon::content_type($r,'text/html');
                       $r->send_http_header;                        $r->send_http_header;
                       $r->print('<html><body>'.&mt('Empty page').'.</body></html>');                        $r->print('<html>'."\n".
                                   '<head>'."\n".
                                   &Apache::lonmenu::registerurl(1,undef)."\n".
                                   '</head>'."\n".
                                   '<body bgcolor="#FFFFFF" onLoad="'
                                   .&Apache::lonmenu::loadevents.
                                   '" onUnload="'.&Apache::lonmenu::unloadevents.'">'.
                                    &Apache::lonmenu::menubuttons(undef,$target,1)
                                  );
                         $r->print(&mt('This page is either empty or it only contains resources that are currently hidden').'. ');
                         $r->print('<br /><br />'.&mt('Please use the LON-CAPA navigation arrows to move to another item in the course').'.</body></html>');
                   } else {                    } else {
 # ------------------------------------------------------------------ Build page  # ------------------------------------------------------------------ Build page
   

Removed from v.1.58  
changed lines
  Added in v.1.59


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