示例#1
0
                                ?>
												</i></span>
											</td>
											<td class="right">
												<select name="countAgainstBudget" id="countAgainstBudget" style="width: 302px">
													<?php 
                                $selected = "";
                                if ($row["countAgainstBudget"] == "Y") {
                                    $selected = "selected";
                                }
                                print "<option {$selected} value='Y'>" . ynExpander('Y') . "</option>";
                                $selected = "";
                                if ($row["countAgainstBudget"] == "N") {
                                    $selected = "selected";
                                }
                                print "<option {$selected} value='N'>" . ynExpander('N') . "</option>";
                                ?>
			
												</select>
											</td>
										</tr>

										<?php 
                                if ($row["countAgainstBudget"] == "Y") {
                                    ?>
											<tr>
												<td> 
													<b><?php 
                                    print _('Budget For Cycle');
                                    ?>
 *</b><br/>
示例#2
0
         $rowLearningAreas = $resultLearningArea->fetch();
         print "<span style='font-size: 75%; font-style: italic'>" . $rowLearningAreas["name"] . "</span>";
     }
 }
 print "</td>";
 print "<td>";
 print "<b>" . $row["category"] . "</b><br/>";
 print "</td>";
 print "<td>";
 print "<b>" . $row["name"] . "</b><br/>";
 print "</td>";
 print "<td>";
 print getYearGroupsFromIDList($connection2, $row["gibbonYearGroupIDList"]);
 print "</td>";
 print "<td>";
 print ynExpander($row["active"]);
 print "</td>";
 print "<td>";
 print "<script type='text/javascript'>";
 print "\$(document).ready(function(){";
 print "\$(\".description-{$count}\").hide();";
 print "\$(\".show_hide-{$count}\").fadeIn(1000);";
 print "\$(\".show_hide-{$count}\").click(function(){";
 print "\$(\".description-{$count}\").fadeToggle(1000);";
 print "});";
 print "});";
 print "</script>";
 if ($highestAction == "Manage Rubrics_viewEditAll") {
     print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/rubrics_edit.php&gibbonRubricID=" . $row["gibbonRubricID"] . "&sidebar=false&search={$search}&filter2={$filter2}'><img title='" . _('Edit') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/config.png'/></a> ";
     print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/rubrics_delete.php&gibbonRubricID=" . $row["gibbonRubricID"] . "&search={$search}&filter2={$filter2}'><img title='" . _('Delete') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/garbage.png'/></a> ";
 } else {
示例#3
0
                                print _($row["description"]);
                            }
                            ?>
</i></span>
																</td>
																<td class="right">
																	<select name="<?php 
                            print $row["name"];
                            ?>
" id="<?php 
                            print $row["name"];
                            ?>
" style="width: 302px">
																		<?php 
                            print "<option value='Y'>" . ynExpander('Y') . "</option>";
                            print "<option value='N'>" . ynExpander('N') . "</option>";
                            ?>
			
																	</select>
																</td>
															</tr>
		
															<tr class='break'>
																<td colspan=2> 
																	<h3><?php 
                            print _('Organisation Settings');
                            ?>
</h3>
																</td>
															</tr>
															<tr>
示例#4
0
         print "</td>";
     } else {
         print "<td colspan=7>";
         print _("Module error due to incorrect manifest file or folder name.");
         print "</td>";
     }
 }
 if ($installed) {
     print "<td>";
     print _($modulesSQL[$moduleName][0]["description"]);
     print "</td>";
     print "<td>";
     print _($modulesSQL[$moduleName][0]["type"]);
     print "</td>";
     print "<td>";
     print ynExpander($modulesSQL[$moduleName][0]["active"]);
     print "</td>";
     print "<td>";
     if ($modulesSQL[$moduleName][0]["type"] == "Additional") {
         print "v" . $modulesSQL[$moduleName][0]["version"];
     } else {
         print "v" . $version;
     }
     print "</td>";
     print "<td>";
     if ($row["url"] != "") {
         print "<a href='" . $modulesSQL[$moduleName][0]["url"] . "'>" . $modulesSQL[$moduleName][0]["author"] . "</a>";
     } else {
         print $modulesSQL[$moduleName][0]["author"];
     }
     print "</td>";
											<input readonly name="name" id="name" maxlength=60 value="<?php 
                            print number_format($row["cost"], 2, ".", ",");
                            ?>
" type="text" style="width: 300px">
										</td>
									</tr>
									<tr>
										<td> 
											<b><?php 
                            print _('Count Against Budget');
                            ?>
 *</b><br/>
										</td>
										<td class="right">
											<input readonly name="countAgainstBudget" id="countAgainstBudget" maxlength=60 value="<?php 
                            print ynExpander($row["countAgainstBudget"]);
                            ?>
" type="text" style="width: 300px">
										</td>
									</tr>
									<?php 
                            if ($row["countAgainstBudget"] == "Y") {
                                ?>
										<tr>
											<td> 
												<b><?php 
                                print _('Budget For Cycle');
                                ?>
 *</b><br/>
												<span style="font-size: 90%">
													<i>
示例#6
0
    print _('Delete Current Plans?');
    ?>
 *</b><br/>
					<span style="font-size: 90%"><i><?php 
    print _('Deletes Individual Education Plan fields only, not Individual Needs Status fields.');
    ?>
</i></span>
				</td>
				<td class="right">
					<select name="deleteCurrentPlans" id="deleteCurrentPlans" style="width: 302px">
						<option value="N"><?php 
    print ynExpander('N');
    ?>
</option>
						<option value="Y"><?php 
    print ynExpander('Y');
    ?>
</option>
					</select>
				</td>
			</tr>
			<tr>
				<td> 
					<b><?php 
    print _('Archive Title');
    ?>
 *</b><br/>
					<span style="font-size: 90%"><i></i></span>
				</td>
				<td class="right">
					<input type='text' maxlength=50 name="title" id="title" style="width: 300px" value=''/>
$output .= "</script>";
$output .= "<table cellspacing='0' style='width: 100%'>";
$output .= "<tr id='" . $id . "resourceQuick'>";
$output .= "<td colspan=2 style='border: none; padding-top: 0px'>";
$output .= "<div style='margin: 0px' class='linkTop'><a href='javascript:void(0)' onclick='formReset(); \$(\"." . $id . "resourceQuickSlider\").slideUp();'><img title='" . _('Close') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/iconCross.png'/></a></div>";
$output .= "<form id='" . $id . "ajaxForm'>";
$output .= "<table cellspacing='0' style='border: none; width: 100%'>";
$output .= "<tr>";
$output .= "<td>";
$output .= "<b>" . _("Insert Images As Links?") . "*</b><br/>";
$output .= "<span style=\"font-size: 90%\"><i>" . _('If not, they will be inserted as images.') . "</i></span>";
$output .= "</td>";
$output .= "<td class=\"right\">";
$output .= "<select name=\"imagesAsLinks\" id=\"imagesAsLinks\" style=\"width: 302px\">";
$output .= "<option value='Y'>" . ynExpander('Y') . "</option>";
$output .= "<option value='N'>" . ynExpander('N') . "</option>";
$output .= "</select>";
$output .= "</td>";
$output .= "</tr>";
//Get list of acceptable file extensions
try {
    $dataExt = array();
    $sqlExt = "SELECT * FROM gibbonFileExtension";
    $resultExt = $connection2->prepare($sqlExt);
    $resultExt->execute($dataExt);
} catch (PDOException $e) {
}
$ext = "";
while ($rowExt = $resultExt->fetch()) {
    $ext = $ext . "'." . $rowExt["extension"] . "',";
}
         $rowLearningAreas = $resultLearningArea->fetch();
         echo "<span style='font-size: 75%; font-style: italic'>" . $rowLearningAreas['name'] . '</span>';
     }
 }
 echo '</td>';
 echo '<td>';
 echo '<b>' . $row['category'] . '</b><br/>';
 echo '</td>';
 echo '<td>';
 echo '<b>' . $row['name'] . '</b><br/>';
 echo '</td>';
 echo '<td>';
 echo getYearGroupsFromIDList($guid, $connection2, $row['gibbonYearGroupIDList']);
 echo '</td>';
 echo '<td>';
 echo ynExpander($guid, $row['active']);
 echo '</td>';
 echo '<td>';
 echo "<script type='text/javascript'>";
 echo '$(document).ready(function(){';
 echo "\$(\".description-{$count}\").hide();";
 echo "\$(\".show_hide-{$count}\").fadeIn(1000);";
 echo "\$(\".show_hide-{$count}\").click(function(){";
 echo "\$(\".description-{$count}\").fadeToggle(1000);";
 echo '});';
 echo '});';
 echo '</script>';
 if ($highestAction == 'Manage Assessment Guides_all') {
     echo "<a href='" . $_SESSION[$guid]['absoluteURL'] . '/index.php?q=/modules/' . $_SESSION[$guid]['module'] . '/guides_manage_edit.php&visualAssessmentGuideID=' . $row['visualAssessmentGuideID'] . "&search={$search}&filter2={$filter2}'><img title='" . __($guid, 'Edit') . "' src='./themes/" . $_SESSION[$guid]['gibbonThemeName'] . "/img/config.png'/></a> ";
     echo "<a href='" . $_SESSION[$guid]['absoluteURL'] . '/index.php?q=/modules/' . $_SESSION[$guid]['module'] . '/guides_manage_delete.php&visualAssessmentGuideID=' . $row['visualAssessmentGuideID'] . "&search={$search}&filter2={$filter2}'><img title='" . __($guid, 'Delete') . "' src='./themes/" . $_SESSION[$guid]['gibbonThemeName'] . "/img/garbage.png'/></a> ";
     echo "<a href='" . $_SESSION[$guid]['absoluteURL'] . '/index.php?q=/modules/' . $_SESSION[$guid]['module'] . '/guides_manage_view.php&visualAssessmentGuideID=' . $row['visualAssessmentGuideID'] . "&sidebar=false&search={$search}&filter2={$filter2}'><img style='margin-left: 3px' title='" . __($guid, 'View') . "' src='./themes/" . $_SESSION[$guid]['gibbonThemeName'] . "/img/plus.png'/></a>";
                    if ($count % 2 == 0) {
                        $rowNum = "even";
                    } else {
                        $rowNum = "odd";
                    }
                    //COLOR ROW BY STATUS!
                    print "<tr class={$rowNum}>";
                    print "<td>";
                    print _($row["value"]);
                    print "</td>";
                    print "<td>";
                    print _($row["descriptor"]);
                    print "</td>";
                    print "<td>";
                    print $row["sequenceNumber"];
                    print "</td>";
                    print "<td>";
                    print ynExpander($row["isDefault"]);
                    print "</td>";
                    print "<td>";
                    print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/gradeScales_manage_edit_grade_edit.php&gibbonScaleGradeID=" . $row["gibbonScaleGradeID"] . "&gibbonScaleID={$gibbonScaleID}'><img title='" . _('Edit') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/config.png'/></a> ";
                    print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/gradeScales_manage_edit_grade_delete.php&gibbonScaleGradeID=" . $row["gibbonScaleGradeID"] . "&gibbonScaleID={$gibbonScaleID}'><img title='" . _('Delete') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/garbage.png'/></a> ";
                    print "</td>";
                    print "</tr>";
                    $count++;
                }
                print "</table>";
            }
        }
    }
}
示例#10
0
            print "<tr class={$rowNum}>";
            print "<td>";
            print _($row["category"]);
            print "</td>";
            print "<td>";
            print _($row["name"]);
            print "</td>";
            print "<td>";
            print _($row["nameShort"]);
            print "</td>";
            print "<td>";
            print _($row["description"]);
            print "</td>";
            print "<td>";
            print _($row["type"]);
            print "</td>";
            print "<td>";
            print ynExpander($row["nonCurrentYearLogin"]);
            print "</td>";
            print "<td>";
            print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/role_manage_edit.php&gibbonRoleID=" . $row["gibbonRoleID"] . "'><img title='" . _('Edit') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/config.png'/></a> ";
            if ($row["type"] == "Additional") {
                print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/role_manage_delete.php&gibbonRoleID=" . $row["gibbonRoleID"] . "'><img title='" . _('Delete') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/garbage.png'/></a>";
            }
            print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/role_manage_duplicate.php&gibbonRoleID=" . $row["gibbonRoleID"] . "'><img title='" . _('Duplicate') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/copy.png'/></a> ";
            print "</td>";
            print "</tr>";
        }
        print "</table>";
    }
}
								<option <?php 
            if ($row["reportable"] == "Y") {
                print "selected ";
            }
            ?>
value="Y"><?php 
            print ynExpander('Y');
            ?>
</option>
								<option <?php 
            if ($row["reportable"] == "N") {
                print "selected ";
            }
            ?>
value="N"><?php 
            print ynExpander('N');
            ?>
</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							<span style="font-size: 90%"><i>* <?php 
            print _("denotes a required field");
            ?>
</i></span>
						</td>
						<td class="right">
							<input name="gibbonPersonID" id="gibbonPersonID" value="<?php 
            print $gibbonPersonID;
示例#12
0
?>
</i></span>
			</td>
			<td class="right">
				<select name="receiveNoticiationEmails" id="receiveNoticiationEmails" style="width: 302px">
					<?php 
print "<option ";
if ($_SESSION[$guid]["receiveNoticiationEmails"] == "N") {
    print " selected ";
}
print "value='N'>" . ynExpander('N') . "</option>";
print "<option ";
if ($_SESSION[$guid]["receiveNoticiationEmails"] == "Y") {
    print " selected ";
}
print "value='Y'>" . ynExpander('Y') . "</option>";
?>
				
				</select>
			</td>
		</tr>
		
		
		<tr>
			<td>
				<span style="font-size: 90%"><i>* <?php 
print _("denotes a required field");
?>
</i></span>
			</td>
			<td class='right'>
                $rowNum = "even";
            } else {
                $rowNum = "odd";
            }
            if ($row["active"] == "N") {
                $rowNum = "error";
            }
            //COLOR ROW BY STATUS!
            print "<tr class={$rowNum}>";
            print "<td>";
            print "<b>" . _($row["name"]) . "</b><br/>";
            print "</td>";
            print "<td>";
            print _($row["description"]);
            print "</td>";
            print "<td>";
            print ynExpander($row["active"]);
            print "</td>";
            print "<td>";
            print ynExpander($row["allowFileUpload"]);
            print "</td>";
            print "<td>";
            print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/externalAssessments_manage_edit.php&gibbonExternalAssessmentID=" . $row["gibbonExternalAssessmentID"] . "'><img title='" . _('Edit') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/config.png'/></a> ";
            print "<a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . $_SESSION[$guid]["module"] . "/externalAssessments_manage_delete.php&gibbonExternalAssessmentID=" . $row["gibbonExternalAssessmentID"] . "'><img title='" . _('Delete') . "' src='./themes/" . $_SESSION[$guid]["gibbonThemeName"] . "/img/garbage.png'/></a> ";
            print "</td>";
            print "</tr>";
            $count++;
        }
        print "</table>";
    }
}