[LON-CAPA-cvs] cvs: loncom /homework edit.pm insertlist.xml
kruse
kruse at source.lon-capa.org
Tue Jun 25 11:07:30 EDT 2013
kruse Tue Jun 25 15:07:30 2013 EDT
Modified files:
/loncom/homework insertlist.xml edit.pm
Log:
Added "external reponse" to "insert" dropdown-list in colourful-editor
Index: loncom/homework/insertlist.xml
diff -u loncom/homework/insertlist.xml:1.32 loncom/homework/insertlist.xml:1.33
--- loncom/homework/insertlist.xml:1.32 Tue Jun 11 14:12:51 2013
+++ loncom/homework/insertlist.xml Tue Jun 25 15:07:30 2013
@@ -170,7 +170,7 @@
<color>#77DD55</color>
<insert_sub>insert_externalresponse</insert_sub>
<allow>hintgroup,textline,textfield</allow>
- <show>no</show>
+ <show>yes</show>
<help>
<file>Authoring_ExternalResponse</file>
<description>How to write external responses</description>
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.144 loncom/homework/edit.pm:1.145
--- loncom/homework/edit.pm:1.144 Mon May 6 16:07:29 2013
+++ loncom/homework/edit.pm Tue Jun 25 15:07:30 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.144 2013/05/06 16:07:29 bisitz Exp $
+# $Id: edit.pm,v 1.145 2013/06/25 15:07:30 kruse Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -488,6 +488,13 @@
</numericalresponse>';
}
+sub insert_externalresponse {
+ return '
+<externalresponse url="" answer="" answerdisplay="" form="">
+ <textfield spellcheck="none" />
+</externalresponse>';
+}
+
sub insert_customresponse {
return '
<customresponse>
More information about the LON-CAPA-cvs
mailing list