Diff for /loncom/interface/loncommon.pm between versions 1.835 and 1.836

version 1.835, 2009/05/30 22:03:32 version 1.836, 2009/06/03 14:35:19
Line 4381  sub bodytag { Line 4381  sub bodytag {
  $name = &aboutmewrapper($name,$env{'user.name'},$env{'user.domain'});   $name = &aboutmewrapper($name,$env{'user.name'},$env{'user.domain'});
     }      }
           
     my $roleinfo=(<<ENDROLE);  
 <td class="LC_title_bar_who">  
 <div class="LC_title_bar_name">  
     $name  
     &nbsp;  
 </div>  
 <div class="LC_title_bar_role">  
 $role&nbsp;  
 </div>  
 <div class="LC_title_bar_realm">  
 $realm&nbsp;  
 </div>  
 </td>  
 ENDROLE  
   
     my $titleinfo = '<h1>'.$title.'</h1>';      my $titleinfo = '<h1>'.$title.'</h1>';
     #      #
     # Extra info if you are the DC      # Extra info if you are the DC
Line 4415  ENDROLE Line 4400  ENDROLE
     $forcereg=1;      $forcereg=1;
  }   }
   
     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
     }  #    }
   
         my $titletable = '<table id="LC_title_bar">'          my $titletable = '<table id="LC_title_bar">'
                         ."<tr><td> $titleinfo $dc_info</td>".$roleinfo                          ."<tr><td> $titleinfo $dc_info</td>"
                         .'</tr></table>';                          .'</tr></table>';
   
  if ($no_nav_bar) {   if ($no_nav_bar) {
Line 4460  $bodytag Line 4445  $bodytag
     <td>$messages&nbsp;</td>      <td>$messages&nbsp;</td>
 </tr>  </tr>
 <tr><td>$titleinfo $dc_info $menu</td>  <tr><td>$titleinfo $dc_info $menu</td>
 $roleinfo  
 </tr>  </tr>
 </table>  </table>
 ENDBODY  ENDBODY
Line 4743  table#LC_nav_location { Line 4727  table#LC_nav_location {
 table#LC_title_bar a {  table#LC_title_bar a {
   color: $fontmenu;    color: $fontmenu;
 }  }
       
 table#LC_title_bar {  table#LC_title_bar {
   clear: both;    clear: both;
   /*display: none;*/    display: none;
 }  }
   
 table#LC_title_bar,  table#LC_title_bar,
Line 4775  table#LC_title_bar td { Line 4759  table#LC_title_bar td {
   background: $tabbg;    background: $tabbg;
 }  }
   
 table#LC_title_bar .LC_title_bar_who {  
   background: $tabbg;  
   color: $fontmenu;  
   font: small;  
   text-align: right;  
   margin: 0;  
 }  
   
 table#LC_title_bar div.LC_title_bar_name {  
   margin: 0;  
 }  
   
 table#LC_title_bar div.LC_title_bar_role {  
   margin: 0;  
 }  
   
 table#LC_title_bar div.LC_title_bar_realm {  
   margin: 0;  
 }  
   
 table#LC_menubuttons img{  table#LC_menubuttons img{
   border: none;    border: none;
 }  }

Removed from v.1.835  
changed lines
  Added in v.1.836


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