--- loncom/interface/londocs.pm 2006/01/12 22:28:03 1.217
+++ loncom/interface/londocs.pm 2006/02/24 22:52:41 1.222
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.217 2006/01/12 22:28:03 raeburn Exp $
+# $Id: londocs.pm,v 1.222 2006/02/24 22:52:41 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1400,6 +1400,7 @@ sub entryline {
&Apache::loncommon::plainname($2,$3).':
'.
$foldertitle;
}
+ $renametitle=~s/\\/\\\\/g;
$renametitle=~s/\"\;/\\\"/g;
my $line='
';
# Edit commands
@@ -1666,6 +1667,7 @@ sub tiehash {
sub untiehash {
if ($hashtied) { untie %hash; }
$hashtied=0;
+ return OK;
}
# --------------------------------------------------------------- check on this
@@ -2263,6 +2265,15 @@ function makesmpproblem() {
}
}
+function makedropbox() {
+ var title=prompt('Listed Title for the Drop Box');
+ if (title) {
+ this.document.forms.newdropbox.importdetail.value=
+ title+'=/res/lib/templates/DropBox.problem';
+ this.document.forms.newdropbox.submit();
+ }
+}
+
function makebulboard() {
var title=prompt('Listed Title for the Bulletin Board');
if (title) {
@@ -2478,6 +2489,7 @@ ENDNEWSCRIPT
'navc' => 'Navigate Contents',
'sipa' => 'Simple Page',
'sipr' => 'Simple Problem',
+ 'drbx' => 'Drop Box',
'scuf' => 'Score Upload Form',
'bull' => 'Bulletin Board',
'mypi' => 'My Personal Info',
@@ -2530,9 +2542,9 @@ $uploadtag
$help{'Check_Resource_Versions'}
$dumpbut
$exportbut
-
+
ENDCOURSEVERIFY
$r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc',
@@ -2696,6 +2708,14 @@ $uploadtag
onClick="javascript:makesmpproblem();" />$help{'Simple Problem'}
+