--- loncom/interface/londocs.pm 2020/07/01 20:08:53 1.671
+++ loncom/interface/londocs.pm 2020/08/27 16:21:35 1.673
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.671 2020/07/01 20:08:53 raeburn Exp $
+# $Id: londocs.pm,v 1.673 2020/08/27 16:21:35 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6585,13 +6585,19 @@ NSYLFORM
$help{'Group Portfolio'}
NGFFORM
- @specialdocumentsforma=(
+ if ($container eq 'page') {
+ @specialdocumentsforma=(
+ {'
'=>$newwebpageform},
+ );
+ } else {
+ @specialdocumentsforma=(
{'
'=>$newpageform},
{'
'=>$newsylform},
{'
'=>$newnavform},
{'
'=>$newsmppageform},
{'
'=>$newwebpageform},
- );
+ );
+ }
$specialdocumentsform = &create_form_ul(&create_list_elements(@specialdocumentsforma));
my @external = (
@@ -6637,11 +6643,11 @@ my %orderhash = (
'bb' => ['Import',$importpubform],
'cc' => ['External',$externalform],
'dd' => ['Grading',$gradingform],
+ 'ff' => ['Other',$specialdocumentsform],
);
unless ($container eq 'page') {
$orderhash{'00'} = ['Newfolder',$newfolderform];
$orderhash{'ee'} = ['Collaboration',$communityform];
- $orderhash{'ff'} = ['Other',$specialdocumentsform];
}
$hadchanges=0;