Diff for /loncom/interface/loncommon.pm between versions 1.1075.2.12 and 1.1075.2.13

version 1.1075.2.12, 2012/08/03 17:35:32 version 1.1075.2.13, 2012/08/07 13:15:28
Line 5052  sub bodytag { Line 5052  sub bodytag {
     $role = '<span class="LC_nobreak">('.$role.')</span>' if $role;      $role = '<span class="LC_nobreak">('.$role.')</span>' if $role;
     &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']);      &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']);
   
     unless ($env{'environment.remote'} eq 'on') {      if ($no_nav_bar || $env{'form.inhibitmenu'} eq 'yes') { 
         if ($no_nav_bar || $env{'form.inhibitmenu'} eq 'yes') {           return $bodytag; 
             return $bodytag;       }
         }   
   
         if ($env{'request.state'} eq 'construct') { $forcereg=1; }      if ($env{'request.state'} eq 'construct') { $forcereg=1; }
   
       unless ($env{'environment.remote'} eq 'on') {
   
         #    if ($env{'request.state'} eq 'construct') {          #    if ($env{'request.state'} eq 'construct') {
         #        $titleinfo = &CSTR_pageheader(); #FIXME: Will be removed once all scripts have their own calls          #        $titleinfo = &CSTR_pageheader(); #FIXME: Will be removed once all scripts have their own calls
Line 5135  sub bodytag { Line 5136  sub bodytag {
                        <li>$menu</li>                         <li>$menu</li>
                        </ol><div id="LC_realm"> $realm $dc_info</div>|;                         </ol><div id="LC_realm"> $realm $dc_info</div>|;
     }      }
       my $funclist;
       if ($env{'request.state'} eq 'construct') {
           if (!$public){
               if ($env{'request.state'} eq 'construct') {
                   $funclist = &Apache::lonhtmlcommon::scripttag(
                                   &Apache::lonmenu::utilityfunctions(), 'start').
                               &Apache::lonhtmlcommon::scripttag('','end').
                               &Apache::lonmenu::innerregister($forcereg,
                                                               $args->{'bread_crumbs'});
               }
           }
       }
     return(<<ENDBODY);      return(<<ENDBODY);
 $bodytag  $bodytag
 <table id="LC_title_bar" class="LC_with_remote">  <table id="LC_title_bar" class="LC_with_remote">
Line 5144  $bodytag Line 5157  $bodytag
 <tr><td>$titleinfo $dc_info $menu</td>  <tr><td>$titleinfo $dc_info $menu</td>
 </tr>  </tr>
 </table>  </table>
   $funclist
 ENDBODY  ENDBODY
 }  }
   

Removed from v.1.1075.2.12  
changed lines
  Added in v.1.1075.2.13


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