当前位置: 首页>>代码示例>>PHP>>正文


PHP ynExpander函数代码示例

本文整理汇总了PHP中ynExpander函数的典型用法代码示例。如果您正苦于以下问题:PHP ynExpander函数的具体用法?PHP ynExpander怎么用?PHP ynExpander使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ynExpander函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ynExpander

                                ?>
												</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/>
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:expenses_manage_edit.php

示例2: getYearGroupsFromIDList

         $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 {
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:rubrics.php

示例3: _

                                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>
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:install.php

示例4: _

         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>";
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:module_manage.php

示例5: number_format

											<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>
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:expenses_manage_approve.php

示例6: _

    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=''/>
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:in_archive.php

示例7: _

$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"] . "',";
}
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:resources_addQuick_ajax.php

示例8: getYearGroupsFromIDList

         $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>";
开发者ID:GibbonEdu,项目名称:module-visualAssessment,代码行数:31,代码来源:guides_manage.php

示例9: _

                    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>";
            }
        }
    }
}
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:gradeScales_manage_edit.php

示例10: _

            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>";
    }
}
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:role_manage.php

示例11: ynExpander

								<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;
开发者ID:dpredster,项目名称:core,代码行数:31,代码来源:courseEnrolment_manage_byPerson_edit_edit.php

示例12: ynExpander

?>
</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'>
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:preferences.php

示例13: _

                $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>";
    }
}
开发者ID:actcattest001,项目名称:core,代码行数:31,代码来源:externalAssessments_manage.php


注:本文中的ynExpander函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。