');
+ $r->print('
');
# --------------------------------------------------------- Standard documents
my $savefolderpath;
my $active = 'style="display: none;"';
@@ -2925,7 +2951,12 @@ HIDDENFORM
}
my $postexec='';
if ($folder eq 'default') {
- $r->print('');
+ $r->print(''
+ );
} else {
#$postexec='self.close();';
}
@@ -2943,14 +2974,14 @@ HIDDENFORM
my $recoverform=(<
-
+
RFORM
my $imspform=(<
-
+
IMSPFORM
@@ -2971,7 +3002,7 @@ NNFORM
$help{'Simple Page'}
+ onclick="javascript:makesmppage();" /> $help{'Simple Page'}
NSPFORM
@@ -2982,7 +3013,7 @@ NSPFORM
$help{'Simple Problem'}
+ onclick="javascript:makesmpproblem();" />$help{'Simple Problem'}
@@ -2994,7 +3025,7 @@ NSPROBFORM
+ onclick="javascript:makedropbox();" />
NDBFORM
@@ -3005,7 +3036,7 @@ NDBFORM
+ onclick="javascript:makeexamupload();" />
$help{'Score_Upload_Form'}
@@ -3017,7 +3048,7 @@ NEXUFORM
+ onclick="javascript:makebulboard();" />
$help{'Bulletin Board'}
@@ -3041,7 +3072,7 @@ NAMFORM
+ onclick="javascript:makeabout();" />
NASOFORM
@@ -3071,7 +3102,7 @@ my $newfolderform;
$help{'Adding_Pages'}
@@ -3083,7 +3114,7 @@ NPFORM
$help{'Adding_Folders'}
@@ -3100,7 +3131,7 @@ NFFORM
NSYLFORM
-
+
my $newgroupfileform=(<
$uploadtag
@@ -3125,7 +3156,7 @@ if($env{'form.pagepath'}) {
}
my %orderhash = (
- 'aa' => ['New Document',$fileuploadform.'
'.$newfolderform],
+ 'aa' => ['Upload Document',$fileuploadform.'
'.$newfolderform],
'bb' => ['Published Documents',$simpleeditdefaultform],
'cc' => ['Special Documents',$specialdocumentsform],
'dd' => ['Tools',$extresourcesform.'
'.$imspform.'
'.$recoverform.'
'.&generate_admin_options($containertag,$uploadtag,\%help,\%env)],
@@ -3200,7 +3231,7 @@ SUPDOCFORM
$help{'Adding_Folders'}
@@ -3213,7 +3244,7 @@ SNFFORM
$help{'Adding_External_Resource'}
@@ -3246,7 +3277,7 @@ SNAMFORM
my %suporderhash = (
- 'ee' => ['New Document',$supupdocform.'
'.$supnewfolderform],
+ 'ee' => ['Upload Document',$supupdocform.'
'.$supnewfolderform],
'ff' => ['Special Documents',$supnewextform.'
'.$supnewsylform.'
'.$supnewaboutmeform],
'zz' => ['Hide all Options'],
);
@@ -3260,7 +3291,7 @@ my $error = &editor($r,$coursenum,$cours
$r->print(''.$error.'
');
}
$r->print('');
- }
+ }
$r->print('
');
if ($allowed) {
$r->print('
@@ -3283,7 +3314,7 @@ $r->print('
');
}
$r->print(&Apache::loncommon::end_page());
return OK;
-}
+}
sub generate_admin_options {
my ($containertag,$uploadtag,$help_ref,$env_ref) = @_;
@@ -3317,7 +3348,7 @@ sub generate_edit_table {
my %orderhash = %{$orderhash_ref};
my $form;
- $form = '
'.&mt($varcd).'
';
+ $form = '
'.&mt($varcd).'
';
$form .= '
';
foreach my $name (sort(keys(%orderhash))){
if($name eq 'zz'){
@@ -3334,7 +3365,7 @@ sub generate_edit_table {
}
}
$form .= '
';
-
+
return $form;
}