Exemplo n.º 1
0
													</select>
													<?php 
                if ($occIndex !== false) {
                    ?>
														<input type="hidden" name="occindex" value="<?php 
                    echo $occIndex;
                    ?>
" />
														<?php 
                }
                ?>
													<input type="hidden" name="editedfields" value="" />
												</div>
												<?php 
            } else {
                $userChecklists = $occManager->getUserChecklists();
                if ($userChecklists) {
                    ?>
													<fieldset>
														<legend><b>Checklist Voucher</b></legend>
														Link Occurrence to Checklist: 
														<select name="clidvoucher">
															<option value="">No Checklist Selected</option>
															<option value="">---------------------------------------------</option>
															<?php 
                    foreach ($userChecklists as $clid => $clName) {
                        echo '<option value="' . $clid . '">' . $clName . '</option>';
                    }
                    ?>
														</select>
													</fieldset>