[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

bowersj2 lon-capa-cvs@mail.lon-capa.org
Tue, 15 Jul 2003 19:52:47 -0000


bowersj2		Tue Jul 15 15:52:47 2003 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  Modified londocs.pm to use the composite help files, and changed the 
  templated pages to a more targetted description.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.64 loncom/interface/londocs.pm:1.65
--- loncom/interface/londocs.pm:1.64	Wed Jul  9 06:05:15 2003
+++ loncom/interface/londocs.pm	Tue Jul 15 15:52:47 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.64 2003/07/09 10:05:15 www Exp $
+# $Id: londocs.pm,v 1.65 2003/07/15 19:52:47 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -376,10 +376,20 @@
   foreach ('Adding_Course_Doc','Main_Course_Documents',
            'Adding_External_Resource','Navigate_Content',
            'Adding_Folders','Docs_Overview',
-           'Creating_From_Template','Supplemental',
+           'Supplemental',
            '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');
+    
 
   if ($ENV{'form.verify'}) {
  
@@ -748,7 +758,7 @@
 value="Syllabus=/public/$coursedom/$coursenum/syllabus">
 <nobr>
 <input name="newsyl" type="submit" value="Syllabus" /> 
- $help{'Creating_From_Template'}
+ $help{'Syllabus'}
 </nobr>
 </form>
 <form action="/adm/coursedocs" method="post" name="newnav">
@@ -767,7 +777,7 @@
 <input type=hidden name="importdetail" value="">
 <nobr>
 <input name="newsmppg" type="button" value="Simple Page"
-onClick="javascript:makesmppage();" /> $help{'Creating_From_Template'}
+onClick="javascript:makesmppage();" /> $help{'Simple Page'}
 </nobr>
 </form>
 <form action="/adm/coursedocs" method="post" name="newsmpproblem">
@@ -776,7 +786,7 @@
 <input type=hidden name="importdetail" value="">
 <nobr>
 <input name="newsmpproblem" type="button" value="Simple Problem"
-onClick="javascript:makesmpproblem();" />$help{'Creating_From_Template'}
+onClick="javascript:makesmpproblem();" />$help{'Simple Problem'}
 </nobr>
 </form>
 <form action="/adm/coursedocs" method="post" name="newexamupload">
@@ -795,7 +805,7 @@
 <nobr>
 <input name="newbulletin" type="button" value="Bulletin Board"
 onClick="javascript:makebulboard();" />
-$help{'Creating_From_Template'}
+$help{'Bulletin Board'}
 </nobr>
 </form>
 <form action="/adm/coursedocs" method="post" name="newaboutme">
@@ -805,7 +815,7 @@
 value="$plainname=/adm/$udom/$uname/aboutme">
 <nobr>
 <input name="newaboutme" type="submit" value="My Personal Info" />
-$help{'Creating_From_Template'}
+$help{'My Personal Info'}
 </nobr>
 </form>
 </td></tr>
@@ -892,7 +902,7 @@
 value="Syllabus=/public/$coursedom/$coursenum/syllabus">
 <nobr>
 <input name="newsyl" type="submit" value="Syllabus" />
-$help{'Creating_From_Template'}
+$help{'Syllabus'}
 </nobr>
 </form>
 <form action="/adm/coursedocs" method="post" name="subnewaboutme">
@@ -902,7 +912,7 @@
 value="$plainname=/adm/$udom/$uname/aboutme">
 <nobr>
 <input name="newaboutme" type="submit" value="My Personal Info" />
-$help{'Creating_From_Template'}
+$help{'My Personal Info'}
 </nobr>
 </form>
 </td></tr>