--- loncom/interface/londocs.pm 2003/07/07 07:32:16 1.63 +++ loncom/interface/londocs.pm 2003/07/16 19:36:02 1.67 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.63 2003/07/07 07:32:16 www Exp $ +# $Id: londocs.pm,v 1.67 2003/07/16 19:36:02 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -376,11 +376,21 @@ sub handler { foreach ('Adding_Course_Doc','Main_Course_Documents', 'Adding_External_Resource','Navigate_Content', 'Adding_Folders','Docs_Overview', - 'Creating_From_Template','Supplemental', + 'Supplemental', 'Score_Upload_Form', 'Importing_LON-CAPA_Resource','Uploading_From_Harddrive') { $help{$_}=&Apache::loncommon::help_open_topic('Docs_'.$_); } - + # Composite help files + $help{'Syllabus'} = &Apache::loncommon::help_open_topic( + 'Docs_About_Syllabus,Docs_Editing_Templated_Pages'); + $help{'Simple Page'} = &Apache::loncommon::help_open_topic( + 'Docs_About_Simple_Page,Docs_Editing_Templated_Pages'); + $help{'Bulletin Board'} = &Apache::loncommon::help_open_topic( + 'Docs_About_Bulletin_Board,Docs_Editing_Templated_Pages'); + $help{'My Personal Info'} = &Apache::loncommon::help_open_topic( + 'Docs_About_My_Personal_Info,Docs_Editing_Templated_Pages'); + $help{'Caching'} = &Apache::loncommon::help_open_topic('Caching'); + if ($ENV{'form.verify'}) { my $loaderror=&Apache::lonnet::overloaderror($r); @@ -539,13 +549,7 @@ ENDHEADERS $iconpath = $r->dir_config('lonIconsURL') . "/"; my $now=time; -# -# FIXME: hack to disable new problem -# - my $noeggforyou=''; - unless ($ENV{'user.debug'}) { - $noeggforyou='alert("Sorry, not implemented yet."); return 0;'; - } + # print screen $r->print(< @@ -590,7 +594,6 @@ function makesmppage() { } function makesmpproblem() { - $noeggforyou var title=prompt('Listed Title for the Problem'); if (title) { this.document.forms.newsmpproblem.importdetail.value= @@ -682,7 +685,8 @@ ENDCOURSEVERIFY ''. '
'. '

Changes will become active for your current session after , or the next time you log in.

'); +$ENV{'request.role'}.'" value="1" />, or the next time you log in.'. +$help{'Caching'}.''); } my $folderseq='/uploaded/'.$coursedom.'/'.$coursenum.'/default_'.time. '.sequence'; @@ -755,7 +759,7 @@ value="External Resource" /> $help{'Addi value="Syllabus=/public/$coursedom/$coursenum/syllabus"> - $help{'Creating_From_Template'} + $help{'Syllabus'}
@@ -774,7 +778,7 @@ $help{'Navigate_Content'} $help{'Creating_From_Template'} +onClick="javascript:makesmppage();" /> $help{'Simple Page'}
@@ -783,7 +787,7 @@ onClick="javascript:makesmppage();" /> $ $help{'Creating_From_Template'} +onClick="javascript:makesmpproblem();" />$help{'Simple Problem'}
@@ -793,6 +797,7 @@ onClick="javascript:makesmpproblem();" / +$help{'Score_Upload_Form'}
@@ -802,7 +807,7 @@ onClick="javascript:makeexamupload();" / -$help{'Creating_From_Template'} +$help{'Bulletin Board'}
@@ -812,7 +817,7 @@ $help{'Creating_From_Template'} value="$plainname=/adm/$udom/$uname/aboutme"> -$help{'Creating_From_Template'} +$help{'My Personal Info'}
@@ -899,7 +904,7 @@ value="External Resource" /> $help{'Addi value="Syllabus=/public/$coursedom/$coursenum/syllabus"> -$help{'Creating_From_Template'} +$help{'Syllabus'}
@@ -909,7 +914,7 @@ $help{'Creating_From_Template'} value="$plainname=/adm/$udom/$uname/aboutme"> -$help{'Creating_From_Template'} +$help{'My Personal Info'}