Distribute a given limitation into the new form, useful for native
authorJoey Schulze <joey@infodrom.org>
Tue, 14 May 2002 22:24:03 +0000 (22:24 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 14 May 2002 22:24:03 +0000 (22:24 +0000)
handling and incremental limitations

src/LinuxTag/2002/supporter/availability.wml
src/LinuxTag/2002/supporter/jobs.wml

index 8fadbb0..75bfef7 100644 (file)
@@ -148,7 +148,7 @@ people working on certain tasks.</p>
 <row_checkbox  name="day_<? echo $key; ?>"
                title="<b>Days</b>"
                descr="<? echo $day; ?>"
-               checked="checked"
+               checked="<? echo (!isset ($limitation) || $GLOBALS["day_".$key] == 1)?"checked":''; ?>"
                >
 <?
     } else {
@@ -156,7 +156,7 @@ people working on certain tasks.</p>
 <row_checkbox  name="day_<? echo $key; ?>"
                title="&nbsp;"
                descr="<? echo $day; ?>"
-               checked="checked"
+               checked="<? echo (!isset ($limitation) || $GLOBALS["day_".$key] == 1)?"checked":''; ?>"
                >
 <?
     }
index e907f87..80a6c6b 100644 (file)
@@ -142,7 +142,7 @@ people working on certain tasks.</p>
 <row_checkbox  name="day_<? echo $key; ?>"
                title="<b>Days</b>"
                descr="<? echo $day; ?>"
-               checked="checked"
+               checked="<? echo (!isset ($limitation) || $GLOBALS["day_".$key] == 1)?"checked":''; ?>"
                >
 <?
     } else {
@@ -150,7 +150,7 @@ people working on certain tasks.</p>
 <row_checkbox  name="day_<? echo $key; ?>"
                title="&nbsp;"
                descr="<? echo $day; ?>"
-               checked="checked"
+               checked="<? echo (!isset ($limitation) || $GLOBALS["day_".$key] == 1)?"checked":''; ?>"
                >
 <?
     }