Diff for /loncom/homework/structuretags.pm between versions 1.421 and 1.422

version 1.421, 2008/05/27 22:25:56 version 1.422, 2008/05/28 01:32:55
Line 451  $show_all Line 451  $show_all
 $show_all  $show_all
 ";  ";
     }      }
     my %langchoices=('' => '');  
     foreach (&Apache::loncommon::languageids()) {  
         if (&Apache::loncommon::supportedlanguagecode($_)) {  
             $langchoices{&Apache::loncommon::supportedlanguagecode($_)}  
                        = &Apache::loncommon::plainlanguagedescription($_);  
         }  
     }  
     $result.='      $result.='
        <span class="LC_nobreak">         <span class="LC_nobreak">
        '.&mt('Apply style file: ').'         '.&mt('Apply style file: ').'
          <input type="text" name="style_file" value="'.&HTML::Entities::encode($env{'construct.style'},'"<>&').'" />           <input type="text" name="style_file" value="'.&HTML::Entities::encode($env{'construct.style'},'"<>&').'" />
          <a href="javascript:openbrowser(\'lonhomework\',\'style_file\',\'sty\')">'.&mt('Select').'</a>           <a href="javascript:openbrowser(\'lonhomework\',\'style_file\',\'sty\')">'.&mt('Select').'</a>
        </span>         </span>
        </div><div class="LC_edit_problem_header_row1">       </div>
        <span class="LC_nobreak">'.       <div class="LC_edit_problem_header_row1">'.
        &mt('Language: ').         &Apache::lonxml::renderingoptions().'
        &Apache::loncommon::select_form($env{'form.languages'},'languages',  
                                                      %langchoices).'  
      </span>  
      <span class="LC_nobreak">'.  
        &mt('Math Rendering: ').  
        &Apache::loncommon::select_form($env{'form.texengine'},'texengine',  
                                                      ('' => '',  
                                                       'tth' => 'tth',  
                                                       'jsMath' => 'jsMath',  
                                                       'mimetex' => 'mimetex')).'  
      </span>  
      </div>       </div>
      <input type="submit" name="changeproblemmode" value="'.&mt("Change View").'" />       <input type="submit" name="changeproblemmode" value="'.&mt("Change View").'" />
      <input type="submit" name="clear_style_file" accesskey="d" value="'.&mt('Show Default View').'" />       <input type="submit" name="clear_style_file" accesskey="d" value="'.&mt('Show Default View').'" />

Removed from v.1.421  
changed lines
  Added in v.1.422


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