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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 15 Dec 2005 23:27:22 -0000


albertel		Thu Dec 15 18:27:22 2005 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - BUG#4469 - probvide copies of the SubmitChanges buttons at the bottom of the page too.
  
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.228 loncom/homework/lonhomework.pm:1.229
--- loncom/homework/lonhomework.pm:1.228	Thu Dec 15 18:23:48 2005
+++ loncom/homework/lonhomework.pm	Thu Dec 15 18:27:22 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.228 2005/12/15 23:23:48 albertel Exp $
+# $Id: lonhomework.pm,v 1.229 2005/12/15 23:27:22 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -772,7 +772,9 @@
             <hr />
             ' . $xml_help . '
             <textarea '.&Apache::edit::element_change_detection().' style="width:100%" rows="'.$rows.'" cols="'.$cols.'" name="editxmltext">'.
-	    &HTML::Entities::encode($problem,'<>&"').'</textarea>
+	    &HTML::Entities::encode($problem,'<>&"').'</textarea><br />
+            <input type="submit" name="submit" accesskey="s" value="'.&mt('Submit Changes').'" />
+            <input type="submit" name="submit" accesskey="v" value="'.&mt('Submit Changes and View').'" />
             </form></body></html>';
 	&Apache::lonxml::add_messages(\$result);
 	$request->print($result);