當前位置: 首頁>>代碼示例>>PHP>>正文


PHP printInputText函數代碼示例

本文整理匯總了PHP中printInputText函數的典型用法代碼示例。如果您正苦於以下問題:PHP printInputText函數的具體用法?PHP printInputText怎麽用?PHP printInputText使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了printInputText函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("first_name", 30, 30, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("adminStaff_edit_formLogin");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("username", 20, 20, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("adminStaff_edit_formAuth");
?>
    </td>
    <td valign="top" class="primary">
      <input type="checkbox" name="circ_flg" value="CHECKED"
        <?php 
if (isset($postVars["circ_flg"])) {
    echo H($postVars["circ_flg"]);
}
開發者ID:Giordano-Bruno,項目名稱:GiordanoBruno,代碼行數:31,代碼來源:staff_edit_form.php

示例2: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("description", 40, 40, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <font class="small">*</font><?php 
echo $loc->getText("admin_materials_delImagefile");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("imageFile", 40, 128, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="  <?php 
echo $loc->getText("adminSubmit");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/materials_list.php'" value="  <?php 
echo $loc->getText("adminCancel");
?>
  " class="button">
    </td>
  </tr>
開發者ID:AevumDecessus,項目名稱:docker-openbiblio,代碼行數:31,代碼來源:materials_edit_form.php

示例3: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("code", 40, 40, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("Description:");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("description", 40, 40, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="  <?php 
echo $loc->getText("adminSubmit");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/copy_fields_list.php'" value="  <?php 
echo $loc->getText("adminCancel");
?>
  " class="button">
    </td>
  </tr>
開發者ID:AevumDecessus,項目名稱:docker-openbiblio,代碼行數:31,代碼來源:copy_fields_new_form.php

示例4: foreach

foreach ($locations as $location) {
    echo "<option value=\"" . H($location->getLocationid()) . "\"";
    if ($copy->getLocationid() == $location->getLocationid()) {
        echo " selected";
    }
    echo ">" . H($location->getAddressOne() . " - " . $location->getAddressTwo()) . "</option>\n";
}
echo "</select>\n";
?>
    </td>
  </tr>
<?php 
foreach ($customFields as $name => $title) {
    echo '<tr><td nowrap="true" class="primary" valign="top">' . H($title) . ':</td>';
    echo '<td valign="top" class="primary">';
    printInputText('custom_' . $name, 40, 40, $postVars, $pageErrors);
    echo '</td></tr>';
}
?>

  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
echo $loc->getText("biblioCopyEditFormStatus");
?>
:
    </td>
    <td valign="top" class="primary">

<?php 
#**************************************************************************
開發者ID:vishnu35,項目名稱:opencitylibrary,代碼行數:31,代碼來源:biblio_copy_edit_form.php

示例5: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("description", 40, 128, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
echo $loc->getText("mbrAccountAmount");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("amount", 12, 12, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="primary" valign="top" align="center">
      <input type="submit" value="  <?php 
echo $loc->getText("circAdd");
?>
  " class="button">
    </td>
  </tr>
</table>
<input type="hidden" name="mbrid" value="<?php 
echo H($mbrid);
?>
開發者ID:Giordano-Bruno,項目名稱:GiordanoBruno,代碼行數:31,代碼來源:mbr_account.php

示例6: printInputText

    <td valign="top" class="primary">
      &nbsp;
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("primaryLinkColor", 10, 20, $postVars, $pageErrors);
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("alt1LinkColor", 10, 20, $postVars, $pageErrors);
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("alt2LinkColor", 10, 20, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("adminTheme_Align");
?>
    </td>
    <td valign="top" class="primary">
      <select name="titleAlign">
        <option value="left"
          <?php 
if ($postVars["titleAlign"] == "left") {
    echo " selected";
開發者ID:vishnu35,項目名稱:Granthalay,代碼行數:31,代碼來源:theme_fields.php

示例7: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("description", 40, 40, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("Max. Fines:");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("max_fines", 10, 10, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="  <?php 
echo $loc->getText("adminSubmit");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/mbr_classify_list.php'" value="  <?php 
echo $loc->getText("adminCancel");
?>
  " class="button">
    </td>
  </tr>
開發者ID:Giordano-Bruno,項目名稱:GiordanoBruno,代碼行數:31,代碼來源:mbr_classify_new_form.php

示例8: H

?>
      <?php 
echo H($subfldDesc);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
echo $loc->getText("biblioMarcNewFormData");
?>
:
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("fieldData", 60, 256, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="<?php 
echo $loc->getText("catalogSubmit");
?>
" class="button">
      <input type="button" onClick="self.location='../catalog/biblio_marc_list.php?bibid=<?php 
echo HURL($bibid);
?>
'" value="<?php 
echo $loc->getText("catalogCancel");
?>
開發者ID:vishnu35,項目名稱:Granthalay,代碼行數:31,代碼來源:biblio_marc_fields.php

示例9: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("daysDueBack", 3, 3, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary"><?php 
echo $loc->getText("adminCollections_edit_formDailyLateFee");
?>
      <font class="small">*</font>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("dailyLateFee", 7, 7, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="  <?php 
echo $loc->getText("adminSubmit");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/collections_list.php'" value="  <?php 
echo $loc->getText("adminCancel");
?>
  " class="button">
    </td>
  </tr>
開發者ID:AevumDecessus,項目名稱:docker-openbiblio,代碼行數:31,代碼來源:collections_edit_form.php

示例10: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("charset", 20, 20, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("admin_settingsHTMLTagLangAttr");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("htmlLangAttr", 8, 8, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="  <?php 
echo $loc->getText("adminUpdate");
?>
  " class="button">
    </td>
  </tr>

</table>
      </form>
開發者ID:aimakun,項目名稱:odlib,代碼行數:30,代碼來源:settings_edit_form.php

示例11: getFontSelections

    </td>
    <td valign="top" class="primary">
      <?php 
echo getFontSelections('fontNormal', $postVars);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("admin_settingsFontSize");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
echo printInputText('fontSize', 2, 2, $postVars, $pageErrors);
?>
 <?php 
echo $loc->getText("pt");
?>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="2" class="primary">
      <input type="submit" value="  <?php 
echo $loc->getText("adminUpdate");
?>
  " class="button">
    </td>
  </tr>
開發者ID:Giordano-Bruno,項目名稱:GiordanoBruno,代碼行數:30,代碼來源:settings_edit_form.php

示例12: printInputText

      <sup>*</sup> <?php 
echo $loc->getText("biblioFieldsCallNmbr");
?>
:
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("callNmbr1", 20, 20, $postVars, $pageErrors);
?>
<br>
      <?php 
printInputText("callNmbr2", 20, 20, $postVars, $pageErrors);
?>
<br>
      <?php 
printInputText("callNmbr3", 20, 20, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
echo $loc->getText("biblioFieldsOpacFlg");
?>
:
    </td>
    <td valign="top" class="primary">
      <input type="checkbox" name="opacFlg" value="CHECKED"
        <?php 
if (isset($postVars["opacFlg"])) {
    echo H($postVars["opacFlg"]);
開發者ID:Giordano-Bruno,項目名稱:GiordanoBruno,代碼行數:31,代碼來源:biblio_fields.php

示例13: printInputText

    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("user", 10, 10, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <label for="pw"><?php 
echo $loc->getText("lookup_hostsPw");
?>
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("pw", 10, 10, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td><input type="hidden" id="mode" name="mode" value=""></td>
    <td><input type="hidden" id="id" name="id" value=""></td>
  </tr>
  <tfoot>
  <tr>
    <td colspan="1" class="primary" align="left">
			<input type="button" id="addBtn" value="Add" class="button" />
			<input type="button" id="updtBtn" value="Update" class="button" />
			<input type="button" id="cnclBtn" value="Cancel" class="button" />
    </td>
    <td colspan="1" class="primary" align="right">
開發者ID:Giordano-Bruno,項目名稱:GiordanoBruno,代碼行數:31,代碼來源:lookupHostsForm.php

示例14: printInputText

    <td valign="top" class="primary">
      <?php 
printInputText("barcodeNmbr", 20, 20, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
echo $loc->getText("biblioCopyNewDesc");
?>
:
    </td>
    <td valign="top" class="primary">
      <?php 
printInputText("copyDesc", 40, 40, $postVars, $pageErrors);
?>
    </td>
  </tr>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
echo $loc->getText("biblioCopyEditFormStatus");
?>
:
    </td>
    <td valign="top" class="primary">

<?php 
#**************************************************************************
#*  only show status codes for valid transitions
開發者ID:aimakun,項目名稱:odlib,代碼行數:31,代碼來源:biblio_copy_edit_form.php

示例15: printInputText

<form name="barcodesearch" method="POST" action="../circ/shelving_cart.php">
<table class="primary">
  <tr>
    <th valign="top" nowrap="yes" align="left">
      <?php 
echo $loc->getText("checkinFormHdr1");
?>
    </th>
  </tr>
  <tr>
    <td nowrap="true" class="primary">
      <?php 
echo $loc->getText("checkinFormBarcode");
?>
      <?php 
printInputText("barcodeNmbr", 18, 18, $postVars, $pageErrors);
?>
        <a href="javascript:popSecondaryLarge('../opac/index.php?lookup=Y')"><?php 
echo $loc->getText("indexSearch");
?>
</a>
      <input type="submit" value="<?php 
echo $loc->getText("checkinFormShelveButton");
?>
" class="button">
    </td>
  </tr>
</table>
</form>

<?php 
開發者ID:vishnu35,項目名稱:Granthalay,代碼行數:31,代碼來源:checkin_form.php


注:本文中的printInputText函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。