Added more restrictions to which fields will be available if an
authorJoey Schulze <joey@infodrom.org>
Tue, 28 May 2002 21:39:34 +0000 (21:39 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 28 May 2002 21:39:34 +0000 (21:39 +0000)
address is indeed a list

src/LinuxTag/2002/projects/edit_person.wml

index a06df1d..c01256d 100644 (file)
                value="<? echo $row['comment']; ?>"
                >
 
+<? if ($row['list'] == 0) { ?>
 <row_radiobox  name=infomail
                title="<b>Infomail</b>"
                checked_0="<? if ($row['infomail']==0) { echo "checked";} ?>"
                checked_1="<? if ($row['infomail']==1) { echo "checked";} ?>"
                >
 
-<? if ($row['list'] == 0) { ?>
-
 <when <not <string-eq "$(INSURANCE)" "" />>>
 <row_radiobox  name=insurance
                title="<b>Insurance</b>"
                descr="Address is a mailing list"
                checked="<? if ($row['list'] == 1) { echo 'checked'; } ?>"
                >
+<? if ($row['list'] == 0) { ?>
 <row_checkbox  name=admin
                title="<b>Admin</b>"
                descr="Manages this project"
                checked="<? if ($project) { echo 'checked'; } ?>"
                >
 
+<? } ?>
+
 <when <not <string-eq "$(NILI)" "" />>>
 <? if ($row['list'] == 0) {