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


PHP LangUtil::getGeneralTerm方法代码示例

本文整理汇总了PHP中LangUtil::getGeneralTerm方法的典型用法代码示例。如果您正苦于以下问题:PHP LangUtil::getGeneralTerm方法的具体用法?PHP LangUtil::getGeneralTerm怎么用?PHP LangUtil::getGeneralTerm使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LangUtil的用法示例。


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

示例1:

					<td>
						<div id="quant_div"></div>
					</td>
				</tr>
                                <tr>
					<td>
						&nbsp;<?php 
echo LangUtil::$pageTerms['Quantity_Signed_Out'];
$page_elems->getAsterisk();
?>
					</td>
					<td></td>
					<td>
						<input type="text" name="quant_u" id="quant_u" class='uniform_width'/>
                                                <label class="error" for="quant_u" id="quant_u_error"><small><font color="red"><?php 
echo LangUtil::getGeneralTerm("MSG_REQDFIELD");
?>
</font></small></label>
                                                <label class="error" for="quant_u" id="quant_e_error"><small><font color="red"><?php 
echo "Exceeds available quantity";
?>
</font></small></label>
					</td>
				</tr>
				<tr>
					<td>
						&nbsp;<?php 
echo "Date of Usage";
$page_elems->getAsterisk();
?>
 
开发者ID:jfurlong,项目名称:BLIS,代码行数:30,代码来源:use_stock.php

示例2: PageElems

<?php

include "redirect.php";
include "includes/header.php";
LangUtil::setPageId("home");
$page_elems = new PageElems();
$profile_tip = LangUtil::getPageTerm("TIPS_PWD");
$page_elems->getSideTip(LangUtil::getGeneralTerm("TIPS"), $profile_tip);
# Enable JavaScript for recording user props and latency values
# Attaches record.js to this HTML
$script_elems->enableLatencyRecord();
?>

<br>
<span class='page_title'><?php 
echo LangUtil::getTitle();
?>
</span>
<br><br>

<?php 
echo LangUtil::getPageTerm("WELCOME") . ", " . $_SESSION['username'] . ".<br><br>";
echo LangUtil::getPageTerm("TIPS_BLISINTRO");
?>

<br><br>

<?php 
# If technician user, show lab workflow
if ($_SESSION['user_level'] == $LIS_TECH_RW || $_SESSION['user_level'] == $LIS_TECH_SHOWPNAME || $_SESSION['user_level'] == $LIS_TECH_RO) {
    //$page_elems->getLabConfigStatus($_SESSION['lab_config_id']);
开发者ID:nchopra,项目名称:C4G-BLIS,代码行数:31,代码来源:home.php

示例3: getSpecimenNamesSelector

	public function getSpecimenNamesSelector() {
		#Return table which includes dropdowns of specimens configured in all labs in the country
		echo "<table>";
		$count = 1;
		$siteList = get_site_list($_SESSION['user_id']);
		foreach($siteList as $labConfigId => $labName) {
			echo "<tr><td>".$labName."</td>";
			echo "<td><select id='specimenNameSelect$count'>";
			$specimenTypeList = get_specimen_types_by_site($labConfigId);
			foreach($specimenTypeList as $specimenType) {
				echo "<option value='$labConfigId:$specimenType->specimenTypeId'>".$specimenType->getName()."</option>";
			}
			echo "</select></td></tr>";
			$count++;
		}
		echo "<tr><td></td><td></td></tr>";
		echo "<tr>";
		echo "<td>Country Specimen Name:</td>"; ?>
		<td><input type="text" id="commonSpecimenName" size="50"></input>
		<div id='commonSpecimenNameError' style='display:none'>
			<label class="error" id="commonSpecimenNameErrorLabel"><small><font color="red"><?php echo LangUtil::getGeneralTerm("MSG_REQDFIELD"); ?></font></small></label>
		</div>
		</tr>
		<tr>
		<td></td>
		<td>
		<input type="button" id="submit" type="submit" onclick="submitSpecimenNames();" value="<?php echo LangUtil::$generalTerms['CMD_SUBMIT']; ?>" size="20" />
		</td>
	<?php
	}
开发者ID:jfurlong,项目名称:BLIS,代码行数:30,代码来源:page_elemsdff.php

示例4:

					<tr valign='top'>
						<td>
							<?php echo LangUtil::getGeneralTerm("USERNAME"); ?>
						</td>
						<td>
							<input type="text" name="username" id = "username" value="" size="20" class='uniform_width' />
							<label class="error" for="username" id="username_error"><small><font color="red"><?php echo LangUtil::getGeneralTerm("MSG_REQDFIELD"); ?></font></small></label> 
						</td>
					</tr>
					<tr valign='top'>
						<td>
							<?php echo LangUtil::getGeneralTerm("PWD"); ?>
						</td>
						<td>
							<input type="password" name="password" id = "password" value="" size="20" class='uniform_width' onkeypress="javascript:capLock(event);" onkeydown="javascript:capLock(event);" />
							<label class="error" for="password" id="password_error"><small><font color="red"><?php echo LangUtil::getGeneralTerm("MSG_REQDFIELD"); ?></font></small></label>
							<br>
							<div id="caps_lock_msg_div" style="display:none"><font color='red'><small><?php echo LangUtil::getPageTerm("MSG_CAPSLOCK"); ?></small></font></div>
						</td>
					</tr>					
					<tr>
						<td></td>
						<td>
							<input type="button" class="btn" id="login_button" value="<?php echo LangUtil::$generalTerms["CMD_LOGIN"]; ?>" onclick="check_input_boxes()"/>
						
						</td>
					</tr>
					<tr>
						<td>
						</td>
						<td>
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:login.php


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