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

droeschl droeschl at source.lon-capa.org
Sat May 16 19:29:17 EDT 2015


droeschl		Sat May 16 23:29:17 2015 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  XML editor: added menu entry for <part>
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.352 loncom/homework/lonhomework.pm:1.353
--- loncom/homework/lonhomework.pm:1.352	Fri Apr 17 12:33:56 2015
+++ loncom/homework/lonhomework.pm	Sat May 16 23:29:17 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.352 2015/04/17 12:33:56 droeschl Exp $
+# $Id: lonhomework.pm,v 1.353 2015/05/16 23:29:17 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1536,7 +1536,8 @@
         ["javascript:insertText(\'" . &convert_for_js(&HTML::Entities::encode(&Apache::edit::insert_script())) . "\')", &mt("Script Block"), undef],
         ["javascript:insertText(\'" . &convert_for_js(&HTML::Entities::encode(&default_xml_tag("allow"))) . "\')", &mt("File Dependencies"), undef],
         ["javascript:insertText(\'" . &convert_for_js(&HTML::Entities::encode(&default_xml_tag("import"))) . "\')", &mt("Import a File"), undef],
-        ["javascript:insertText(\'" . &convert_for_js(&HTML::Entities::encode(&Apache::londefdef::insert_meta())) . "\')", &mt("Custom Metadata"), undef]
+        ["javascript:insertText(\'" . &convert_for_js(&HTML::Entities::encode(&Apache::londefdef::insert_meta())) . "\')", &mt("Custom Metadata"), undef],
+        ["javascript:insertText(\'" . &convert_for_js(&HTML::Entities::encode(&default_xml_tag("part"))) . "\')", &mt("Problem Part"), undef]
     ];
 }
 




More information about the LON-CAPA-cvs mailing list