Diff for /loncom/homework/lonhomework.pm between versions 1.278 and 1.280

version 1.278, 2007/10/30 00:17:09 version 1.280, 2007/10/31 01:37:52
Line 944  sub editxmlmode { Line 944  sub editxmlmode {
     &HTML::Entities::encode($env{'request.uri'},'<>&"').'">'.      &HTML::Entities::encode($env{'request.uri'},'<>&"').'">'.
     &Apache::structuretags::remember_problem_state().'      &Apache::structuretags::remember_problem_state().'
             <div class="LC_edit_problem_editxml_header">              <div class="LC_edit_problem_editxml_header">
             <input type="hidden" name="problemmode" value="'.&mt('EditXML').'" />                <table class="LC_edit_problem_header_title"><tr><td>
             <input type="submit" name="problemmode" accesskey="d" value="'.&mt('Discard Edits and View').'" />                 '.&mt('Problem Editing').&Apache::loncommon::help_open_topic('Problem_Editor_XML_Index').'
             <input type="submit" '.&Apache::edit::submit_ask_anyway().'name="problemmode" accesskey="e" value="'.&mt('Edit').'" />                  </td><td align="right">
             <input type="submit" name="Undo" accesskey="u" value="'.&mt('undo').'" />                    '.&Apache::loncommon::helpLatexCheatsheet().'
             <hr class="LC_edit_problem_divide" />                  </td></tr>
             <input type="submit" name="submit" accesskey="s" value="'.&mt('Submit Changes').'" />                </table>
             <input type="submit" name="submit" accesskey="v" value="'.&mt('Submit Changes and View').'" />                <div class="LC_edit_problem_discards">
             <hr class="LC_edit_problem_divide" />                  <input type="hidden" name="problemmode" value="'.&mt('EditXML').'" />
                   <input type="submit" name="problemmode" accesskey="d" value="'.&mt('Discard Edits and View').'" />
                   <input type="submit" '.&Apache::edit::submit_ask_anyway().'name="problemmode" accesskey="e" value="'.&mt('Edit').'" />
                   <input type="submit" name="Undo" accesskey="u" value="'.&mt('undo').'" />
                 </div>
                 <div class="LC_edit_problem_saves">
                   <input type="submit" name="submit" accesskey="s" value="'.&mt('Save').'" />
                   <input type="submit" name="submit" accesskey="v" value="'.&mt('Save and View').'" />
                 </div>
                 <hr class="LC_edit_problem_divide" />
             </div>              </div>
             ' . $xml_help . '              '  . '
             <textarea '.&Apache::edit::element_change_detection().              <textarea '.&Apache::edit::element_change_detection().
               ' rows="'.$rows.'" cols="'.$cols.'" style="width:100%" '.                ' rows="'.$rows.'" cols="'.$cols.'" style="width:100%" '.
       ' name="editxmltext" id="LC_editxmltext">'.        ' name="editxmltext" id="LC_editxmltext">'.
       &HTML::Entities::encode($problem,'<>&"').'</textarea>        &HTML::Entities::encode($problem,'<>&"').'</textarea>
             <div id="LC_aftertextarea">              <div id="LC_aftertextarea">
                 <input type="submit" name="submit" accesskey="s" value="'.&mt('Submit Changes').'" />  
                 <input type="submit" name="submit" accesskey="v" value="'.&mt('Submit Changes and View').'" />  
             </div>              </div>
             </form>'.&Apache::loncommon::end_page();              </form>'.&Apache::loncommon::end_page();
  &Apache::lonxml::add_messages(\$result);   &Apache::lonxml::add_messages(\$result);

Removed from v.1.278  
changed lines
  Added in v.1.280


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