[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm structuretags.pm

www lon-capa-cvs@mail.lon-capa.org
Thu, 15 Jan 2004 03:44:01 -0000


www		Wed Jan 14 22:44:01 2004 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm structuretags.pm 
  Log:
  FAQ and bugs on problem editing
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.159 loncom/homework/lonhomework.pm:1.160
--- loncom/homework/lonhomework.pm:1.159	Mon Dec 22 17:15:27 2003
+++ loncom/homework/lonhomework.pm	Wed Jan 14 22:44:01 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.159 2003/12/22 22:15:27 www Exp $
+# $Id: lonhomework.pm,v 1.160 2004/01/15 03:44:01 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -524,8 +524,12 @@
 	&renderpage($request,$file);
     } else {
 	my ($rows,$cols) = &Apache::edit::textarea_sizes(\$problem);
-	my $xml_help = Apache::loncommon::helpLatexCheatsheet("Problem_Editor_XML_Index",
-							      "Problem Editing Help");
+	my $xml_help = '<table><tr><td>'.
+	    &Apache::loncommon::helpLatexCheatsheet("Problem_Editor_XML_Index",
+						    "Problem Editing Help").
+						    '</td><td>'.
+       &Apache::loncommon::help_open_faq(5).
+       &Apache::loncommon::help_open_bug('Authoring').'</td></tr></table>';
 	if ($cols > 80) { $cols = 80; }
 	if ($cols < 70) { $cols = 70; }
 	if ($rows < 20) { $rows = 20; }
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.228 loncom/homework/structuretags.pm:1.229
--- loncom/homework/structuretags.pm:1.228	Wed Jan 14 17:47:46 2004
+++ loncom/homework/structuretags.pm	Wed Jan 14 22:44:01 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.228 2004/01/14 22:47:46 www Exp $
+# $Id: structuretags.pm,v 1.229 2004/01/15 03:44:01 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -186,8 +186,11 @@
        <input type="submit" name="problemmode" value="'.&mt('EditXML').'" />
        <input type="submit" name="Undo" value="'.&mt('undo').'" /> <hr />
        <input type="submit" name="submit" value="'.&mt('Submit Changes and Edit').'" />
-       <input type="submit" name="submit" value="'.&mt('Submit Changes and View').'" /><br />'.
-       &Apache::loncommon::help_open_topic('Problem_Editor_XML_Index','Problem Editing Help').
+       <input type="submit" name="submit" value="'.&mt('Submit Changes and View').'" /><table><tr><td>'.
+       &Apache::loncommon::help_open_topic('Problem_Editor_XML_Index',
+					   'Problem Editing Help').'</td><td>'.
+       &Apache::loncommon::help_open_faq(5).
+       &Apache::loncommon::help_open_bug('Authoring').'</td></tr></table>'.
        '<table border="0"><tr><td bgcolor="#DDDDDD">';
 }