Diff for /loncom/interface/loncommon.pm between versions 1.813 and 1.814

version 1.813, 2009/05/14 16:59:21 version 1.814, 2009/05/14 17:28:23
Line 4215  Inputs: Line 4215  Inputs:
                       in the title box that appears, this text                        in the title box that appears, this text
                       is not auto translated like the $title is                        is not auto translated like the $title is
   
 =item * $notopbar, if true, keep the 'what is this' info but remove the  =item * $no_nav_bar, if true, keep the 'what is this' info but remove the
                    navigational links                       navigational links
   
 =item * $bgcolor, used to override the bgcolor on a webpage to a specific value  =item * $bgcolor, used to override the bgcolor on a webpage to a specific value
   
Line 4242  other decorations will be returned. Line 4242  other decorations will be returned.
   
 sub bodytag {  sub bodytag {
     my ($title,$function,$addentries,$bodyonly,$domain,$forcereg,$customtitle,      my ($title,$function,$addentries,$bodyonly,$domain,$forcereg,$customtitle,
  $notopbar,$bgcolor,$notitle,$no_inline_link,$args)=@_;          $no_nav_bar,$bgcolor,$notitle,$no_inline_link,$args)=@_;
   
     if (!$args->{'no_auto_mt_title'}) { $title = &mt($title); }      if (!$args->{'no_auto_mt_title'}) { $title = &mt($title); }
   
Line 4367  ENDROLE Line 4367  ENDROLE
                          "<tr><td> $titleinfo $dc_info</td>".$roleinfo.                           "<tr><td> $titleinfo $dc_info</td>".$roleinfo.
  '</tr></table>';   '</tr></table>';
  }   }
  if ($notopbar) {   if ($no_nav_bar) {
     $bodytag .= $titletable;      $bodytag .= $titletable;
  } else {   } else {
         $bodytag .= qq|<div id="LC_nav_bar">$name ($role)<br />          $bodytag .= qq|<div id="LC_nav_bar">$name ($role)<br />
Line 6467  $args - additional optional args support Line 6467  $args - additional optional args support
   
              only_body      -> is true will set &bodytag() onlybodytag               only_body      -> is true will set &bodytag() onlybodytag
                                     arg on                                      arg on
              no_nav_bar     -> is true will set &bodytag() notopbar arg on               no_nav_bar     -> is true will set &bodytag() no_nav_bar arg on
              add_entries    -> additional attributes to add to the  <body>               add_entries    -> additional attributes to add to the  <body>
              domain         -> force to color decorate a page for a                domain         -> force to color decorate a page for a 
                                     specific domain                                      specific domain

Removed from v.1.813  
changed lines
  Added in v.1.814


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