本文整理汇总了PHP中inoform::l_text_field方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::l_text_field方法的具体用法?PHP inoform::l_text_field怎么用?PHP inoform::l_text_field使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::l_text_field方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
</span>
<div id="tabsHeader"><?php
$f = new inoform();
?>
<ul class="tabMain">
<li><a href="#tabsHeader-1"><?php
echo gettext('Basic Info');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field('reference_table', $reference_table_h, '', 'reference_table', '', '', 1);
?>
</li>
<li><?php
$f->l_text_field('reference_id', $reference_id_h, '', 'reference_id', '', '', 1);
?>
</li>
<li><?php
$f->l_select_field_from_object('sys_catalog_header_id', sys_catalog_header::find_all(), 'sys_catalog_header_id', 'catalog', $sys_catalog_header_id_h, 'sys_catalog_header_id', '', 1);
?>
<a name="show2" href="form.php?class_name=sys_catalog_value&<?php
echo "mode={$mode}";
?>
" class="show2 document_id sys_catalog_header_id"><i class="fa fa-refresh"></i></a> </li>
</ul>
</div>
示例2:
<li><a href="#tabsLine-1">User Login</a></li>
<li><a href="#tabsLine-2">New Account</a></li>
<li><a href="#tabsLine-3">Password Reset</a></li>
<li><a href="#tabsLine-4">Role Request</a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<div class="col-md-8">
<form name="user_login" action="<?php
echo HOME_URL;
?>
extensions/user/user_login.php" method="post" id="user_login">
<ul class="single-column">
<li><?php
$f->l_text_field('username', $user->username, '', 'username', '', 1, '', 'Sachin.God');
?>
</li>
<li><label>Password</label>
<input type="password" name="password" maxlength="50" size="30" id="password" required placeholder="example : uVrt@%35"
value="<?php
echo $user->password;
?>
" >
</li>
<li><?php
$f->l_select_field_from_object('user_language', user::all_languages(), 'option_line_code', 'description', $user->user_language, 'user_language');
?>
</li>
<li><label></label><input type="submit" name="submitLogin" class="button btn btn-success" value="Log in"> </li>
</ul>
示例3: gettext
?>
<a name="show" href="form.php?class_name=inv_interorg_transfer_header&<?php
echo "mode={$mode}";
?>
" class="show document_id inv_interorg_transfer_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_select_field_from_object('from_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->from_org_id, 'from_org_id', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('to_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->to_org_id, 'to_org_id', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_text_field('order_number', ${$class}->order_number, '', 'order_number', 'primary_column2', '', $readonly1);
?>
</li>
<li><label><?php
echo gettext('Date');
?>
</label><?php
echo $f->date_fieldFromToday_d('transaction_date', ino_date(${$class}->transaction_date), $readonly1);
?>
</li>
<li><?php
echo $f->l_select_field_from_array('transaction_type_id', inv_interorg_transfer_header::$transaction_type_id_a, ${$class}->transaction_type_id, 'transaction_type_id', '', 1, $readonly1, $readonly1);
?>
</li>
</ul>
</div>
示例4: gettext
echo gettext('Sehedule ID');
?>
</label><?php
echo $f->text_field('am_maintenance_schedule_id', $maint_sch->am_maintenance_schedule_id, '', 'am_maintenance_schedule_id', '', '', 1);
?>
<a name="show" href="form.php?class_name=am_ms_calendar_date&<?php
echo "mode={$mode}";
?>
" class="show document_id am_maintenance_schedule_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_select_field_from_object('org_id', $org->findAll_inventory(), 'org_id', 'org', $maint_sch->org_id, 'org_id', '', 1, 1);
?>
</li>
<li><?php
$f->l_text_field('schedule_name', $maint_sch->schedule_name, '', '', '', '', 1);
?>
</li>
<li><?php
$f->l_text_field('schedule_number', $maint_sch->schedule_number, '', '', '', '', 1);
?>
</li>
<li><label><?php
echo gettext('Inv Item Number');
?>
</label><?php
echo $f->text_field('item_number', $maint_sch->item_number, '', '', '', '', 1);
?>
</li>
<li><label><?php
echo gettext('Asset Number');
示例5: gettext
<ul class="tabMain">
<li><a href="#tabsHeader-1"><?php
echo gettext('Basic');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<div class="large_shadow_box">
<ul class="column header_field">
<li><?php
echo $f->l_select_field_from_object('qa_cp_header_id', $qa_cp_header_obj, 'qa_cp_header_id', 'plan_name', ${$class}->qa_cp_header_id, 'qa_cp_header_id', 'action', 1);
?>
</li>
<li><?php
$f->l_text_field('reference_type', $reference_type);
?>
</li>
<li><?php
$f->l_text_field('reference_entity', $reference_entity);
?>
</li>
<li><?php
$f->l_text_field('reference_key_name', $ref_key_name, '', '', $always_readonly2, '', $readonly2);
?>
</li>
<li><?php
$f->l_text_field('reference_key_value', $ref_key_value, '', '', $always_readonly2, '', $readonly2);
?>
</li>
<a name="show" href="form.php?class_name=qa_quality_result&<?php
示例6: gettext
<ul class="column five_column inline_list">
<li><?php
$f->l_select_field_from_array('ar_customer_site_id', ar_customer_site::find_all_sitesOfCustomer_array(${$class}->ar_customer_id), ${$class_second}->ar_customer_site_id, 'ar_customer_site_id');
?>
<a name="show" href="form.php?class_name=ar_customer&<?php
echo "mode={$mode}";
?>
" class="show document_id ar_customer_site_id" data-search_field='ar_customer_site_id'>
<i class="fa fa-refresh"></i></a>
</li>
<li class="hidden"><?php
echo form::hidden_field('ar_customer_id', ${$class}->ar_customer_id);
?>
</li>
<li><?php
$f->l_text_field('customer_site_name', ${$class_second}->customer_site_name);
?>
</li>
<li><?php
$f->l_text_field('customer_site_number', ${$class_second}->customer_site_number);
?>
</li>
</ul>
</div>
<div id="tabsLine">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo gettext('Main');
?>
</a></li>
<li><a href="#tabsLine-2"><?php
示例7: gettext
echo gettext('Role Details');
?>
</span>
<div class="tabContainer">
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('role_code', role_access::roles(), 'option_line_code', 'option_line_value', $role_code_h, 'role_code');
?>
<a name="show" href="form.php?class_name=role_access&<?php
echo "mode={$mode}";
?>
" class="show document_id role_access_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field('role_code', $role_code_h, '', 'role_code', '', '', 1);
?>
</li>
<li><?php
$f->l_text_field('description', $role_code_description, '50', 'description', '', '', 1);
?>
</li>
</ul>
</div>
</div>
<form action="" method="post" id="role_access" name="role_access">
<!--END OF FORM HEADER-->
<div id ="form_line" class="role_access">
<span class="heading"><?php
echo gettext('Class & Access Details');
?>
示例8: gettext
<li><label><?php
echo gettext('Item Number');
?>
<i class="disable_autocomplete item_number clickable fa fa-plus"></i>
</label><?php
echo $f->text_field('item_number', ${$class}->item_number, '15', 'item_number', 'select_item_number', 1, $readonly_mas, 'Enter Item Number To Serach', 'Click on the + sign before this field to enter a new item');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i>
<a name="show" href="form.php?class_name=item&<?php
echo "mode={$mode}";
?>
" class="show2 document_id findBy_item_number">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field('item_description', ${$class}->item_description, '20', 'item_description', '', 1, $readonly_mas);
?>
</li>
<li><?php
$f->l_select_field_from_object('product_line', item::product_line(), 'option_line_code', 'option_line_value', ${$class}->product_line, 'product_line', '', '', $readonly_mas);
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div class="large_shadow_box">
<ul class="column header_field">
<li><?php
echo $f->l_text_field_dr('item_id_m');
?>
</li>
示例9: inoform
<div id="form_header">
<h2 class="bgc"><?php
$f = new inoform();
?>
Final Confirmation & Payment</h2>
<div id="accordion0" class="accordion">
<h3><i class="fa fa-minus-circle"></i> Customer Information</h3>
<div>
<p><?php
if (!empty($ino_user->user_id)) {
?>
<ul class="column header_field">
<li><?php
echo $f->hidden_field('user_id', $ino_user->user_id);
$f->l_text_field('username', $ino_user->username, '', '', '', 1, 1);
?>
</li>
<li><?php
$f->l_text_field('first_name', $ino_user->first_name, '', '', '', 1, 1);
?>
</li>
<li><?php
$f->l_text_field('last_name', $ino_user->last_name, '', '', '', 1, 1);
?>
</li>
<li><?php
$f->l_text_field('email', $ino_user->email, '', '', '', 1, 1);
?>
</li>
<li><?php
示例10: gettext
<ul class="tabMain">
<li><a href="#tabsHeader-1"><?php
echo gettext('Basic');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<div class="large_shadow_box">
<ul class="column header_field">
<li><?php
echo $f->l_select_field_from_object('qa_cp_header_id', qa_cp_header::find_all(), 'qa_cp_header_id', 'plan_name', ${$class}->qa_cp_header_id, 'qa_cp_header_id', 'action', 1);
?>
</li>
<li><?php
$f->l_text_field('reference_type', $reference_type);
?>
</li>
<li><?php
$f->l_text_field('reference_entity', $reference_entity);
?>
</li>
<li><?php
$f->l_text_field('reference_key_name', $ref_key_name);
?>
</li>
<li><?php
$f->l_text_field('reference_key_value', $ref_key_value);
?>
</li>
<a name="show" href="form.php?class_name=qa_quality_result&<?php