Diff for /loncom/interface/lonhelp.pm between versions 1.42 and 1.45

version 1.42, 2013/12/18 01:23:21 version 1.45, 2016/08/20 14:28:52
Line 102  HEADER Line 102  HEADER
     </fieldset>      </fieldset>
     </form>      </form>
     </div>      </div>
     <div class=""LC_left_float">      <div class="LC_left_float">
     </div>      </div>
     <div style="padding:0;clear:both;margin:0;border:0"></div>      <div style="padding:0;clear:both;margin:0;border:0"></div>
 $bugs  $bugs
Line 150  sub render { Line 150  sub render {
              '\\begin{html}<a href="/adm/help/'.               '\\begin{html}<a href="/adm/help/'.
               $label .                $label .
               $ext .                 $ext . 
              '"><img src="'.$icon.'" border="0" /></a>' .               '"><img src="'.$icon.'" border="0" alt="'.&mt('Help').'" /></a>' .
              '\\end{html}'               '\\end{html}'
              |gxe;               |gxe;
   
Line 172  sub render { Line 172  sub render {
     # Fix the pretty quotes      # Fix the pretty quotes
     $tex =~ s/('')|(``)/&quot;/g; #" to get emacs syntax highlighter happy      $tex =~ s/('')|(``)/&quot;/g; #" to get emacs syntax highlighter happy
   
       $tex =~ s/`/'/g;
   
     # For some reason all captions come out as "Figure 0:", so      # For some reason all captions come out as "Figure 0:", so
     # just duck the issue...      # just duck the issue...
   
Line 228  sub handler { Line 230  sub handler {
      if ($env{'form.searchterm'}=~/\w/) {       if ($env{'form.searchterm'}=~/\w/) {
         $caller = 'search';          $caller = 'search';
      }       }
      my $starthash = {  
            only_body   => 1,  
            add_entries => {  
                             'onload' => "javascript:expand_div('$caller');",  
                           },  
      };  
   
        my $starthash;
   
        if ($env{'browser.mobile'}) {
            $starthash = {
                           only_body   => 1,
                           add_entries => {
                                            'onload' => "javascript:expand_div('$caller');",
                                          },
                         };
        } else {
            $starthash = {
                           only_body   => 1,
                         };
        }
      my $firstfile;       my $firstfile;
      my $start_page=       my $start_page=
  &Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash);   &Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash);

Removed from v.1.42  
changed lines
  Added in v.1.45


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