--- loncom/interface/londocs.pm 2003/06/09 22:26:32 1.60 +++ loncom/interface/londocs.pm 2003/07/07 07:32:16 1.63 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.60 2003/06/09 22:26:32 albertel Exp $ +# $Id: londocs.pm,v 1.63 2003/07/07 07:32:16 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -571,6 +571,15 @@ function makenewext(targetname) { window.open('/adm/rat/extpickframe.html'); } +function makeexamupload() { + var title=prompt('Listed Title for the Uploaded Score'); + if (title) { + this.document.forms.newexamupload.importdetail.value= + title+'=/res/lib/templates/examupload.problem'; + this.document.forms.newexamupload.submit(); + } +} + function makesmppage() { var title=prompt('Listed Title for the Page'); if (title) { @@ -585,7 +594,7 @@ function makesmpproblem() { var title=prompt('Listed Title for the Problem'); if (title) { this.document.forms.newsmpproblem.importdetail.value= - title+'=/adm/wrapper/uploaded/$udom/$uname/$now.problem'; + title+'=/res/lib/templates/simpleproblem.problem'; this.document.forms.newsmpproblem.submit(); } } @@ -716,7 +725,7 @@ $help{'Importing_LON-CAPA_Resource'} +value="Select Map">

@@ -777,6 +786,15 @@ onClick="javascript:makesmppage();" /> $ onClick="javascript:makesmpproblem();" />$help{'Creating_From_Template'} +
+ + + + + + +
@@ -850,7 +868,7 @@ ENDFORM +value="Select Map">