--- loncom/interface/londocs.pm 2003/05/29 01:26:33 1.57 +++ 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.57 2003/05/29 01:26:33 www 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(); } } @@ -687,15 +696,18 @@ $ENV{'request.role'}.'" value="1" /> File:
- +
-Title:
+Title:
- $help{'Uploading_From_Harddrive'}
+ + $help{'Uploading_From_Harddrive'} + +
@@ -703,73 +715,106 @@ Title:
+ -$help{'Importing_LON-CAPA_Resource'}
+$help{'Importing_LON-CAPA_Resource'} +
+

+


+value="Select Map"> +

+ $help{'Adding_Folders'} +value="New Folder" />$help{'Adding_Folders'} +
+ $help{'Adding_External_Resource'} +
+ - $help{'Creating_From_Template'} + $help{'Creating_From_Template'} +
+
+ $help{'Navigate_Content'} +
+ $help{'Creating_From_Template'} +
+ $help{'Creating_From_Template'} +onClick="javascript:makesmpproblem();" />$help{'Creating_From_Template'} + +
+
+ + + + + +
+ -$help{'Creating_From_Template'} +$help{'Creating_From_Template'} +
+
+ -$help{'Creating_From_Template'} +$help{'Creating_From_Template'} +
+ ENDFORM @@ -796,15 +841,18 @@ ENDFORM
- +
Comment:
+ - $help{'Uploading_From_Harddrive'} + $help{'Uploading_From_Harddrive'} +
+
@@ -815,43 +863,55 @@ ENDFORM "javascript:document.forms.simpleedit.folder.value='$folder';groupsearch()" value="Search"> $help{'Importing_LON-CAPA_Resource'} -
+

+


+value="Select Map"> +

+ $help{'Adding_Folders'} +
+ $help{'Adding_External_Resource'} +
+ -$help{'Creating_From_Template'} +$help{'Creating_From_Template'} +
+
+ -$help{'Creating_From_Template'} +$help{'Creating_From_Template'} +
+ ENDSUPFORM