[LON-CAPA-cvs] cvs: loncom /html/adm/helper newslot.helper

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 18 Dec 2006 21:49:32 -0000


albertel		Mon Dec 18 16:49:32 2006 EDT

  Modified files:              
    /loncom/html/adm/helper	newslot.helper 
  Log:
  - using new state help="" attr
  
  
Index: loncom/html/adm/helper/newslot.helper
diff -u loncom/html/adm/helper/newslot.helper:1.21 loncom/html/adm/helper/newslot.helper:1.22
--- loncom/html/adm/helper/newslot.helper:1.21	Mon Dec 18 10:14:37 2006
+++ loncom/html/adm/helper/newslot.helper	Mon Dec 18 16:49:32 2006
@@ -1,5 +1,6 @@
 <helper title="Slot Creation" requiredpriv="mgq">
-  <state name="START" title="Specify Required Attributes">
+  <state name="START" title="Specify Required Attributes"
+         help="Slot_RequiredAttributes">
 
     <nextstate>OPTIONAL</nextstate>
 
@@ -29,12 +30,6 @@
 	  return $slot{$name}{$which};
       }
     </exec>
-	<message>
-	    Help on required attributes
-	</message>
-    <helpicon file="Slot_RequiredAttributes">
-         Required Attributes
-    </helpicon>
     <message>
         <br />Name: <br />&nbsp;&nbsp;&nbsp;
     </message>
@@ -90,14 +85,8 @@
   </state>
 
 
-  <state name="OPTIONAL" title="Specify Optional Attributes">
-	<message>
-	    Help on optional attributes
-	</message>
-    <helpicon file="Slot_OptionalAttributes">
-         Optional Attributes
-    </helpicon>
-  
+  <state name="OPTIONAL" title="Specify Optional Attributes"
+	 help="Slot_OptionalAttributes">
     <message>
         <p>Description:<br />&nbsp;&nbsp;&nbsp;
     </message>
@@ -198,9 +187,7 @@
     <message>
       </p><p>Slot is:
     </message>
-    <helpicon file="Slot_ChoosingResources">
-         Resource Restriction
-    </helpicon>
+    <helpicon file="Slot_ChoosingResources" />
 
     <choices variable="restricttosymb">
       <choice nextstate="PROCTOR" computer='any'>usable for any resource.</choice>
@@ -241,7 +228,8 @@
   </state>
 
 
-  <state name="PROCTOR" title="Specify Proctors">
+  <state name="PROCTOR" title="Specify Proctors"
+	 help="Slot_SpecifyProctors">
 
     <skip>
       <clause>$helper->{'VARS'}{'useproctor'} eq 'no'</clause>
@@ -249,12 +237,6 @@
     </skip>
 
     <nextstate>RESTRICTUSER</nextstate>
-	<message>
-	    Specifying Proctors
-	</message>
-    <helpicon file="Slot_SpecifyProctors">
-         Specifying Proctors
-    </helpicon>
 
     <student variable="proctor" multichoice="1" coursepersonnel="1"
              activeonly="1" emptyallowed="1">
@@ -270,7 +252,8 @@
   </state>
 
 
-  <state name="RESTRICTUSER" title="Restrict slot availability">
+  <state name="RESTRICTUSER" title="Restrict slot availability"
+	 help="Slot_RestrictAvailibility">
     <skip>
        <clause>$helper->{'VARS'}{'type'} ne 'schedulable_student'</clause>
        <nextstate>FINISH</nextstate>
@@ -280,9 +263,6 @@
     <message>
       <p>Slots are by default available to all users in a course, if you would like this slot to be restricted to a subset of users you can specify restrictions.</p>
     </message>
-    <helpicon file="Slot_RestrictAvailibility">
-         Restrict Availibility
-    </helpicon>
 
     <message>
       Select sections to limit slot availability to: <br />&nbsp;&nbsp;&nbsp;