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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 11 Oct 2005 21:12:48 -0000


albertel		Tue Oct 11 17:12:48 2005 EDT

  Modified files:              
    /loncom/html/adm/helper	newslot.helper 
  Log:
  - better order of elements I think
  
  
Index: loncom/html/adm/helper/newslot.helper
diff -u loncom/html/adm/helper/newslot.helper:1.1 loncom/html/adm/helper/newslot.helper:1.2
--- loncom/html/adm/helper/newslot.helper:1.1	Tue Oct 11 16:47:02 2005
+++ loncom/html/adm/helper/newslot.helper	Tue Oct 11 17:12:48 2005
@@ -35,26 +35,18 @@
   <state name="OPTIONAL" title="Specify Optional Attributes">
     <message>
       <message_text>
-          <p>Time students can start reserving:<br />&nbsp;&nbsp;&nbsp;
+          <p>Description:<br />&nbsp;&nbsp;&nbsp;
       </message_text>
     </message>
-    <date variable="startreserve" hoursminutes="1" anytime="1"></date>
+    <string variable="description" size="60"></string>
     <message>
       <message_text>
-          </p><p>IP restrictions:<br />&nbsp;&nbsp;&nbsp;
+          </p><p>Time students can start reserving:<br />&nbsp;&nbsp;&nbsp;
       </message_text>
     </message>
-    <string variable="ip" size="30">
-      <validator>
-          return undef;
-      </validator>
-    </string>
-    <message>
-      <message_text>
-          </p><p>Description:<br />&nbsp;&nbsp;&nbsp;
-      </message_text>
-    </message>
-    <string variable="description" size="60"></string>
+    <date variable="startreserve" hoursminutes="1" anytime="1">
+	<defaultvalue>'anytime'</defaultvalue>
+    </date>
     <message>
       <message_text>
           </p><p>Maxium number of students allowed in this slot:<br />&nbsp;&nbsp;&nbsp;
@@ -71,9 +63,13 @@
           </p><p>Period of time in which this slot is can only be uniquely chosen:<br />&nbsp;&nbsp;&nbsp;Start:
       </message_text>
     </message>
-    <date variable="startunique" hoursminutes="1" anytime="1"></date>
+    <date variable="startunique" hoursminutes="1" anytime="1">
+	<defaultvalue>'anytime'</defaultvalue>
+    </date>
     <message><message_text><br />&nbsp;&nbsp;&nbsp;End: </message_text></message>
-    <date variable="endunique" hoursminutes="1" anytime="1"></date>
+    <date variable="endunique" hoursminutes="1" anytime="1">
+	<defaultvalue>'anytime'</defaultvalue>
+    </date>
     <message>
       <message_text>
           </p><p>Slot is:
@@ -84,6 +80,16 @@
       <choice nextstate="RESOURCESELECT" computer='resource'>restricted to a specific resource.</choice>
       <defaultvalue>'any'</defaultvalue>
     </choices>
+    <message>
+      <message_text> 
+	</p><p>IP restrictions:<br />&nbsp;&nbsp;&nbsp;
+      </message_text>
+    </message>
+    <string variable="ip" size="30">
+      <validator>
+          return undef;
+      </validator>
+    </string>
     <message> <message_text> </p> </message_text> </message>
   </state>
   <state name="RESOURCESELECT" title="Specify Optional Attributes">