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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 18 Nov 2005 16:54:02 -0000


albertel		Fri Nov 18 11:54:02 2005 EDT

  Modified files:              
    /loncom/html/adm/helper	newslot.helper 
  Log:
  - er no such thing as <message_text>
  
  
Index: loncom/html/adm/helper/newslot.helper
diff -u loncom/html/adm/helper/newslot.helper:1.10 loncom/html/adm/helper/newslot.helper:1.11
--- loncom/html/adm/helper/newslot.helper:1.10	Fri Nov 18 11:51:13 2005
+++ loncom/html/adm/helper/newslot.helper	Fri Nov 18 11:54:01 2005
@@ -27,9 +27,7 @@
       }
     </exec>
     <message nextstate="OPTIONAL">
-      <message_text>
-          Name: <br />&nbsp;&nbsp;&nbsp;
-      </message_text>  
+        Name: <br />&nbsp;&nbsp;&nbsp;
     </message>
     <string variable="name" size="30">
       <validator>
@@ -45,13 +43,11 @@
     <condition>
       <clause>$helper->{DATA}{copy}</clause>
       <message nextstate="OPTIONAL">
-        <message_text>
 	<p>Changing the Name will create a new slot with the new name, and not rename the existing slot.</p>
-        </message_text>  
       </message>
     </condition>
     <message>
-      <message_text><br />Start time:<br />&nbsp;&nbsp;&nbsp;</message_text>
+      <br />Start time:<br />&nbsp;&nbsp;&nbsp;
     </message>
     <date variable="starttime" hoursminutes="1">
       <defaultvalue>
@@ -59,7 +55,7 @@
       </defaultvalue>
     </date>
     <message>
-      <message_text><br />End time:<br />&nbsp;&nbsp;&nbsp;</message_text>
+      <br />End time:<br />&nbsp;&nbsp;&nbsp;
     </message>
     <date variable="endtime" hoursminutes="1">
       <defaultvalue>
@@ -67,7 +63,7 @@
       </defaultvalue>
     </date>
     <message>
-      <message_text><br />Type:</message_text>
+      <br />Type:
     </message>
     <choices variable="type">
       <choice computer='preassigned'>Instructor asssignable.</choice>
@@ -80,9 +76,7 @@
 
   <state name="OPTIONAL" title="Specify Optional Attributes">
     <message>
-      <message_text>
-          <p>Description:<br />&nbsp;&nbsp;&nbsp;
-      </message_text>
+        <p>Description:<br />&nbsp;&nbsp;&nbsp;
     </message>
     <string variable="description" size="60">
       <defaultvalue>
@@ -92,9 +86,7 @@
     <condition>
       <clause>$helper->{'VARS'}{'type'} eq 'schedulable_student'</clause>
       <message>
-        <message_text>
-            </p><p>Time students can start reserving:<br />&nbsp;&nbsp;&nbsp;
-        </message_text>
+        </p><p>Time students can start reserving:<br />&nbsp;&nbsp;&nbsp;
       </message>
       <date variable="startreserve" hoursminutes="1" anytime="1">
         <defaultvalue>
@@ -102,9 +94,7 @@
         </defaultvalue>
       </date>
       <message>
-        <message_text>
-            </p><p>Maxium number of students allowed in this slot:<br />&nbsp;&nbsp;&nbsp;
-        </message_text>
+         </p><p>Maxium number of students allowed in this slot:<br />&nbsp;&nbsp;&nbsp;
       </message>
       <string variable="maxspace" size="4">
         <validator>
@@ -116,9 +106,7 @@
         </defaultvalue>
       </string>
       <message>
-        <message_text>
-            </p><p>Period of time in which this slot is can only be uniquely chosen:<br />&nbsp;&nbsp;&nbsp;Start:
-        </message_text>
+         </p><p>Period of time in which this slot is can only be uniquely chosen:<br />&nbsp;&nbsp;&nbsp;Start:
       </message>
       <date variable="startunique" hoursminutes="1" anytime="1">
         <defaultvalue>
@@ -128,7 +116,7 @@
           return 'anytime';
         </defaultvalue>
       </date>
-      <message><message_text><br />&nbsp;&nbsp;&nbsp;End: </message_text></message>
+      <message><br />&nbsp;&nbsp;&nbsp;End: </message>
       <date variable="endunique" hoursminutes="1" anytime="1">
         <defaultvalue>
           my $default=&{$helper->{DATA}{origslot}}('uniqueperiod','anytime');
@@ -148,9 +136,7 @@
       </exec>
     </condition>
     <message>
-      <message_text>
-          </p><p>Secret word proctors use to checkin users:<br />&nbsp;&nbsp;&nbsp;
-      </message_text>
+      </p><p>Secret word proctors use to checkin users:<br />&nbsp;&nbsp;&nbsp;
     </message>
     <string variable="secret" size="12">
       <validator>
@@ -161,9 +147,7 @@
       </defaultvalue>
     </string>
     <message>
-      <message_text>
-          </p><p>Slot is:
-      </message_text>
+      </p><p>Slot is:
     </message>
     <choices variable="restricttosymb">
       <choice nextstate="PROCTOR" computer='any'>usable for any resource.</choice>
@@ -175,9 +159,9 @@
       </defaultvalue>
     </choices>
     <message>
-      <message_text> 
+       
 	</p><p>IP restrictions:<br />&nbsp;&nbsp;&nbsp;
-      </message_text>
+      
     </message>
     <string variable="ip" size="30">
       <validator>
@@ -187,7 +171,7 @@
         return &{$helper->{DATA}{origslot}}('ip');
       </defaultvalue>
     </string>
-    <message> <message_text> </p> </message_text> </message>
+    <message>  </p>  </message>
   </state>
   <state name="RESOURCESELECT" title="Specify Optional Attributes">
     <resource variable="symb">
@@ -214,7 +198,7 @@
     </student>
   </state>
   <state name="FINISH" title="Creating/Modfying Slot">
-	    <message> <message_text> Created Slot </message_text> </message>	
+	    <message> Created Slot  </message>	
     <final>
       <finalcode>
         my $result;