Diff for /loncom/interface/loncommon.pm between versions 1.762 and 1.763

version 1.762, 2009/03/04 12:43:31 version 1.763, 2009/03/04 17:07:31
Line 924  sub help_open_topic { Line 924  sub help_open_topic {
   
     # Add the text      # Add the text
     if ($text ne "") {      if ($text ne "") {
  $template.="<span class=\"LC_nobreak\"><a class=\"LC_helptextbgcolor\" target=\"_top\" href=\"$link\"><span class=\"LC_helptextfontcolor\">$text</span></a>";   $template.='<span class="LC_help_open_topic">'
                     .'<a target="_top" href="'.$link.'">'
                     .$text.'</a>';
     }      }
   
     # Add the graphic      # (Always) Add the graphic
     my $title = &mt('Online Help');      my $title = &mt('Online Help');
     my $helpicon=&lonhttpdurl("/adm/help/help.png");      my $helpicon=&lonhttpdurl("/adm/help/help.png");
     $template .= <<"ENDTEMPLATE";      $template.=' <a target="_top" href="'.$link.'" title="'.$title.'">'
  <a target="_top" href="$link" title="$title"><img src="$helpicon" border="0" alt="(Help: $topic)" /></a></span>                .'<img src="'.$helpicon.'" border="0"'
 ENDTEMPLATE                .' alt="'.&mt('Help: [_1]',$topic).'"'
                     .' title="'.$title.'"'
                 .' /></a>';
       if ($text ne "") {
           $template.='</span>';
       }
     return $template;      return $template;
   
 }  }
Line 945  sub helpLatexCheatsheet { Line 951  sub helpLatexCheatsheet {
     my $out;      my $out;
     my $addOther = '';      my $addOther = '';
     if ($topic) {      if ($topic) {
  $addOther = &Apache::loncommon::help_open_topic($topic,$text,   $addOther = '<span>'.&Apache::loncommon::help_open_topic($topic,&mt($text),
        undef, undef, 600).         undef, undef, 600).
    '</td><td>';     '</span> ';
     }      }
     $out = '<table><tr><td>'.      $out = '<span>' # Start cheatsheet
    $addOther .    .$addOther
    &Apache::loncommon::help_open_topic("Greek_Symbols",&mt('Greek Symbols'),            .'<span>'
        undef,undef,600).    .&Apache::loncommon::help_open_topic('Greek_Symbols',&mt('Greek Symbols'),
    '</td><td>'.         undef,undef,600)
    &Apache::loncommon::help_open_topic("Other_Symbols",&mt('Other Symbols'),    .'</span> <span>'
        undef,undef,600).    .&Apache::loncommon::help_open_topic('Other_Symbols',&mt('Other Symbols'),
    '</td>';         undef,undef,600)
     .'</span>';
     unless ($not_author) {      unless ($not_author) {
         $out .= '<td>'.          $out .= ' <span>'
         &Apache::loncommon::help_open_topic("Authoring_Output_Tags",&mt('Output Tags'),         .&Apache::loncommon::help_open_topic('Authoring_Output_Tags',&mt('Output Tags'),
                                             undef,undef,600).                                              undef,undef,600)
         '</td>';         .'</span>';
     }      }
     $out .= '</tr></table>';      $out .= '</span>'; # End cheatsheet
     return $out;      return $out;
 }  }
   
Line 5594  p, .LC_ContentBox { Line 5601  p, .LC_ContentBox {
         cursor:pointer;          cursor:pointer;
         text-decoration:underline;          text-decoration:underline;
 }  }
 .LC_helptextbgcolor  
 {  .LC_help_open_topic {
  background-color:#5555FF;          color: #FFFFFF;
 }          background-color: #EEEEFF;
 .LC_helptextfontcolor          margin: 1px;
 {          padding: 4px;
  color:#FFFFFF;          border: 1px solid #000033;
           white-space: nowrap;
 }  }
   
 dl,ul,div,fieldset {  dl,ul,div,fieldset {

Removed from v.1.762  
changed lines
  Added in v.1.763


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