[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn at source.lon-capa.org
Tue Aug 11 15:02:31 EDT 2020
raeburn Tue Aug 11 19:02:31 2020 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Blank Web Page (editable) available in "Other" category for Composite page.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.671 loncom/interface/londocs.pm:1.672
--- loncom/interface/londocs.pm:1.671 Wed Jul 1 20:08:53 2020
+++ loncom/interface/londocs.pm Tue Aug 11 19:02:31 2020
@@ -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.672 2020/08/11 19:02:31 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6585,13 +6585,19 @@
$help{'Group Portfolio'}
</form>
NGFFORM
- @specialdocumentsforma=(
+ if ($container eq 'page') {
+ @specialdocumentsforma=(
+ {'<img class="LC_noBorder LC_middle" src="/res/adm/pages/webpage.png" alt="'.$lt{webp}.'" onclick="javascript:makewebpage();" />'=>$newwebpageform},
+ );
+ } else {
+ @specialdocumentsforma=(
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/page.png" alt="'.$lt{newp}.'" onclick="javascript:makenewpage(document.newpage,\''.$pageseq.'\');" />'=>$newpageform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/syllabus.png" alt="'.$lt{syll}.'" onclick="javascript:makenew(document.newsyl);" />'=>$newsylform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/navigation.png" alt="'.$lt{navc}.'" onclick="javascript:makenew(document.newnav);" />'=>$newnavform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/simple.png" alt="'.$lt{sipa}.'" onclick="javascript:makesmppage();" />'=>$newsmppageform},
{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/webpage.png" alt="'.$lt{webp}.'" onclick="javascript:makewebpage();" />'=>$newwebpageform},
- );
+ );
+ }
$specialdocumentsform = &create_form_ul(&create_list_elements(@specialdocumentsforma));
my @external = (
@@ -6637,11 +6643,11 @@
'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;
More information about the LON-CAPA-cvs
mailing list