Ejemplo n.º 1
0
            //CUSTOM FIELDS
            $fields = unserialize($row["fields"]);
            $resultFields = getCustomFields($connection2, $guid, $student, $staff, $parent, $other);
            if ($resultFields->rowCount() > 0) {
                ?>
						<tr class='break'>
							<td colspan=2> 
								<h3><?php 
                print _('Custom Fields');
                ?>
</h3>
							</td>
						</tr>
						<?php 
                while ($rowFields = $resultFields->fetch()) {
                    print renderCustomFieldRow($connection2, $guid, $rowFields, @$fields[$rowFields["gibbonPersonFieldID"]]);
                }
            }
            ?>
						
					<tr>
						<td>
							<span style="font-size: 90%"><i>* <?php 
            print _("denotes a required field");
            ?>
</i><br/>
							<?php 
            print getMaxUpload(TRUE);
            ?>
							</span>
						</td>
Ejemplo n.º 2
0
                        ?>
								<tr class='break'>
									<td colspan=2> 
										<h3><?php 
                        print _('Custom Fields');
                        ?>
</h3>
									</td>
								</tr>
								<?php 
                        while ($rowFields = $resultFields->fetch()) {
                            $value = "";
                            if (isset($fields[$rowFields["gibbonPersonFieldID"]])) {
                                $value = $fields[$rowFields["gibbonPersonFieldID"]];
                            }
                            print renderCustomFieldRow($connection2, $guid, $rowFields, $value);
                        }
                    }
                    ?>
							
							<tr>
								<td>
									<span style="font-size: 90%"><i>* <?php 
                    print _("denotes a required field");
                    ?>
</i></span>
								</td>
								<td class="right">
									<?php 
                    if ($existing) {
                        print "<input type='hidden' name='existing' value='" . $row["gibbonPersonUpdateID"] . "'>";
Ejemplo n.º 3
0
													}
													else {
														$("#parent<?php 
                                print $i;
                                ?>
custom<?php 
                                print $rowFields["gibbonPersonFieldID"];
                                ?>
").removeAttr("disabled");
													}
												 });
											});
										</script>
										<?php 
                            } else {
                                print renderCustomFieldRow($connection2, $guid, $rowFields, $parent1fields[$rowFields["gibbonPersonFieldID"]], "parent1");
                            }
                        }
                    }
                }
            } else {
                ?>
						<input type="hidden" name="gibbonFamily" value="TRUE">
						<tr class='break'>
							<td colspan=2>
								<h3><?php 
                print _('Family');
                ?>
</h3>
							</td>
						</tr>
Ejemplo n.º 4
0
											} 
											else {
												$("#parent<?php 
                        print $i;
                        ?>
custom<?php 
                        print $rowFields["gibbonPersonFieldID"];
                        ?>
").removeAttr("disabled");
											}
										 });
									});
								</script>
								<?php 
                    } else {
                        print renderCustomFieldRow($connection2, $guid, $rowFields, "", "parent1");
                    }
                }
            }
        }
    } else {
        ?>
				<input type="hidden" name="gibbonFamily" value="TRUE">
				<tr class='break'>
					<td colspan=2> 
						<h3><?php 
        print _('Family');
        ?>
</h3>
						<p><?php 
        print _('Choose the family you wish to associate this application with.');