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


PHP inoform::text_field方法代码示例

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


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

示例1: ino_attachement

   <div id="tabsHeader-1" class="tabContent">
    <ul class="column header_field">
     <li><label>Asset Number</label>
      <?php 
echo $f->val_field('asset_number', $fa_asset->asset_number, '', 'asset_number', '', '', '', 'fa_asset', 'asset_number');
echo $f->hidden_field_withIdClass('fa_asset_id', $fa_asset->fa_asset_id, 'fa_asset_id');
?>
      <i class="generic g_select_asset_number select_popup clickable fa fa-search" data-class_name="fa_asset"></i>
      <a name="show" href="form.php?class_name=fa_asset_source&<?php 
echo "mode={$mode}";
?>
" class="show document_id fa_asset_id">
       <i class="fa fa-refresh"></i></a> 
     </li>
     <li><label>Asset Type</label><?php 
echo $f->text_field('type', $fa_asset->type, '', 'type', '', '', 1);
?>
</li>
     <li><label>Description</label><?php 
echo $f->text_field('description', $fa_asset->description, '', 'description', '', '', 1);
?>
</li>
     <li><label>Status</label><?php 
echo $f->text_field('status', $fa_asset->status, '', 'status', '', '', 1);
?>
</li>
    </ul>
   </div>
   <div id="tabsHeader-2" class="tabContent">
    <div> <?php 
echo ino_attachement($file);
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:asset_source_template.php

示例2: gettext

?>
</label><?php 
$f->text_field_dsr('item_id');
?>
       <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="show document_id item_id"><i class="fa fa-refresh"></i></a> 
      </li>
      <li><label><?php 
echo gettext('Item Number');
?>
&nbsp; <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);
?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:item_template.php

示例3: array

            </ul>
           </td>
           <td><?php 
    form::text_field_wid4s('wip_wo_bom_id');
    ?>
</td>
           <td><?php 
    form::text_field_wid4sm('bom_sequence');
    ?>
</td>
           <td><?php 
    echo !empty($routing_line_details) ? form::select_field_from_object('routing_sequence', $routing_line_details, 'routing_sequence', 'routing_sequence', ${$class_fourth}->routing_sequence, 'routing_sequence') : form::text_field_wid4s('routing_sequence');
    ?>
</td>
           <td><?php 
    echo $f->text_field('component_item_id_m', ${$class_fourth}->component_item_id_m, '8', '', 'item_id_m', 1, $readonly);
    ?>
</td>
           <td><?php 
    echo $f->text_field('component_item_number', ${$class_fourth}->component_item_number, '20', '', 'select_item_number', '', $readonly);
    ?>
            <i class="select_item_number select_popup clickable fa fa-search"></i></td>
           <td><?php 
    if (!empty(${$class_fourth}->component_item_id_m) && !empty(${$class}->org_id)) {
        $revision_name_a = inv_item_revision::find_by_itemIdM_orgId(${$class_fourth}->component_item_id_m, ${$class}->org_id);
    } else {
        $revision_name_a = array();
    }
    echo $f->select_field_from_object('component_revision', $revision_name_a, 'revision_name', 'revision_name', ${$class_fourth}->component_revision, '', 'small');
    ?>
</td>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:wip_wo_template.php

示例4: gettext

?>
</li>
      <li><?php 
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class}->bu_org_id, 'bu_org_id', $readonly1, '', '');
?>
						 </li>
      <li><?php 
$f->l_select_field_from_object('prj_project_type_id', prj_project_type_header::find_all(), 'prj_project_type_header_id', 'project_type', ${$class}->prj_project_type_id, 'prj_project_type_header_id', 'medium', 1, $readonly1);
?>
						 </li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Name');
?>
</label><?php 
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
echo $f->text_field('customer_name', ${$class}->customer_name, '20', 'customer_name', 'select_customer_name', '', $readonly1);
?>
       <i class="ar_customer_id select_popup clickable fa fa-search"></i></li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Number');
?>
</label><?php 
$f->text_field_d('customer_number');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('ar_customer_site_id', $customer_site_obj, 'ar_customer_site_id', 'customer_site_name', ${$class}->ar_customer_site_id, 'ar_customer_site_id', 'ar_customer_site_id', '', $readonly1);
?>
 </li>
      <li><label><?php 
echo gettext('Project Manager');
开发者ID:ruidikz,项目名称:inoERP,代码行数:31,代码来源:project_template.php

示例5: htmlentities

        echo $detailCount;
        echo $detailCount != 0 ? ' new_object' : '';
        ?>
">
                   <td>   
                    <ul class="inline_action">
                     <li class="add_row_detail_img1"><i class="fa fa-plus-circle clickable" alt="add new line"></i></li>
                     <li class="remove_row_img"><i class="fa fa-minus-circle clickable" alt="remove this line"></i></li>
                     <li><input type="checkbox" name="detail_id_cb" value="<?php 
        echo htmlentities($lot_no->inv_lot_number_id);
        ?>
"></li>           
                    </ul>
                   </td>
                   <td><?php 
        echo $f->text_field('lot_number', $lot_no->lot_number, '25');
        echo !empty(${$class_second}->lot_generation) ? $f->hidden_field('lot_generation', ${$class_second}->lot_generation) : null;
        ?>
                   </td>
                   <td><?php 
        echo $f->number_field('lot_quantity', $lot_no->lot_quantity, '25');
        ?>
                   </td>
                  </tr>
                  <?php 
        $detailCount++;
    }
    ?>
                </tbody>
               </table>
              </div>
开发者ID:ewertonm,项目名称:inoERP,代码行数:31,代码来源:inv_receipt_template.php

示例6: htmlentities

           <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($prj_project_type_billing->prj_project_type_billing_id);
    ?>
"></li>           
           <li><?php 
    echo form::hidden_field('prj_project_type_header_id', ${$class}->prj_project_type_header_id);
    ?>
</li>
          </ul>
         </td>
         <td><?php 
    form::text_field_wid3sr('prj_project_type_billing_id');
    ?>
</td>
         <td><?php 
    echo $f->text_field('prj_billing_extn_id', ${$class_third}->prj_billing_extn_id, '20', '', 'item_description', '', $readonly);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('currency', option_header::currencies(), 'option_line_code', 'option_line_value', ${$class_third}->currency);
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid3('amount');
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid3('percentage');
    ?>
</td>
         <td><?php 
开发者ID:petardimic,项目名称:inoERP,代码行数:31,代码来源:prj_project_type_template.php

示例7:

                   <td><?php 
        echo $f->number_field('action_number', ${$class_third}->action_number, '', '', 'detail_number');
        ?>
</td>
                   <td><?php 
        echo $f->select_field_from_array('pf_action_type', sys_process_flow_action::$pf_action_type_a, ${$class_third}->pf_action_type);
        ?>
</td>
                   <td><?php 
        echo $f->select_field_from_object('role_code', role_access::roles(), 'option_line_code', 'option_line_value', ${$class_third}->role_code, 'role_code');
        ?>
</td>
                   <td><?php 
        echo $f->hidden_field('user_id', ${$class_third}->user_id);
        ${$class_third}->username = !empty(${$class_third}->user_id) ? user::find_by_id(${$class_third}->user_id)->username : null;
        echo $f->text_field('username', ${$class_third}->username);
        ?>
                    <img src="<?php 
        echo HOME_URL;
        ?>
themes/default/images/serach.png" class="user_id select_popup clickable">
                   </td>
                  </tr>
                  <?php 
        $detailCount++;
    }
    ?>
                </tbody>
               </table>
              </div>
             </div>
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:process_flow_template.php

示例8: count

         </tr>
        </thead>
        <tbody class="form_data_line_tbody inv_count_class_ref_values" >
         <?php 
$count = 0;
$all_abc_codes = inv_abc_assignment_header::inv_abc_codes();
$no_of_class_codes = count($all_abc_codes);
foreach ($all_abc_codes as $abc_code) {
    ?>
   
          <tr class="inv_abc_assignment_header<?php 
    echo $count;
    ?>
">
           <td><?php 
    echo $f->text_field('assign_abc_class_value', $abc_code->option_line_code, '8', '', '', '', 1);
    ?>
</td>
           <td><?php 
    $count_per_year = inv_count_abc_ref::find_by_parentId_abcCode(${$class}->inv_count_header_id, $abc_code->option_line_code);
    $count_per_year_v = $count_per_year ? $count_per_year->count_per_year : null;
    echo $f->number_field('count_per_year', $count_per_year_v);
    ?>
</td>
          </tr>
          <?php 
    $count++;
}
?>
        </tbody>
       </table>
开发者ID:rudrp,项目名称:inoERP,代码行数:31,代码来源:count_template.php

示例9: array

         
        <tr class="cc_co_template_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    echo ino_inline_action(${$class_second}->cc_co_template_line_id, array('cc_co_template_header_id' => ${$class}->cc_co_template_header_id));
    ?>
    
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    echo $f->text_field('cc_co_template_line_id', ${$class_second}->cc_co_template_line_id, '8', '', 'always_readonly');
    ?>
</td>
         <td><?php 
    if (!empty(${$class_second}->field_name) && !in_array(${$class_second}->field_name, get_dbColumns_valIndex('item'))) {
        echo $f->text_field('field_name', ${$class_second}->field_name, '20');
    } else {
        echo $f->select_field_from_array('field_name', get_dbColumns_valIndex('item'), ${$class_second}->field_name, '', 'medium', 1, '', '', 1);
    }
    ?>
 </td>
         <td><?php 
    echo $f->text_field('label', ${$class_second}->label);
    ?>
</td>
         <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:co_template_template.php

示例10:

    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->bu_org_id, '', 'bu_org_id copyValue medium', 1, $readonly);
    ?>
</td>
           <td><?php 
    echo $f->number_field('multiplier', ${$class_second}->multiplier);
    ?>
</td>
           <td><?php 
    echo $f->number_field('burden_value', ${$class_second}->burden_value);
    ?>
</td>
           <td><?php 
    echo $f->text_field('formula', ${$class_second}->formula);
    ?>
</td>
           <td><?php 
    echo $f->date_fieldAnyDay_m('effective_start_date', ${$class_second}->effective_start_date, $readonly);
    ?>
</td>
           <td><?php 
    echo $f->date_fieldAnyDay('effective_end_date', ${$class_second}->effective_end_date);
    ?>
</td>
          </tr>
          <?php 
    $prj_burden_list_line_object_ai->next();
    if ($prj_burden_list_line_object_ai->key() == $position + $per_page) {
        break;
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:burden_list_template.php

示例11:

<div id ="form_header" ><span class="heading">Barcoded Min Max Board </span>
 <div class="tabContainer">
  <ul class="inRow asperWidth headerBgColor">
   <li><lable>Inventory Org </lable>
   <?php 
echo form::select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $org_id, 'org_id');
?>
   </li>
   <li><lable>Sub Inventory </lable>
   <?php 
echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id($org_id), 'subinventory_id', 'subinventory', $subinventory_id, 'subinventory_id');
?>
   </li>
   <li><lable>Planner </lable>
   <?php 
echo $f->text_field('planner', '');
?>
   </li>
   <li><lable>Type </lable>
   <?php 
echo $f->select_field_from_object('make_buy', item::manufacturing_item_types(), 'option_line_code', 'option_line_value', '', 'make_buy');
?>
 
   </li>
   <li>  <a name="show" href="form.php?class_name=fp_minmax_barcode_board_v" class="show onhand_id">	
     <i class="fa fa-refresh"></i></a> </li>

  </ul>
 </div>
 <div id="barcode_min_max_boardId">
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:board_template.php

示例12: inoform

</li>
      <li><label>Chart Width</label><?php 
echo $f->number_field('chart_width', ${$class}->chart_width, '', 'chart_width');
?>
</li>
      <li><label>Chart Height</label><?php 
echo $f->number_field('chart_height', ${$class}->chart_height, '', 'chart_height');
?>
</li>
      <li><label>Label Field</label>
       <?php 
$f = new inoform();
if (!empty($column_list)) {
    echo $f->select_field_from_array('chart_label', $column_list, ${$class}->chart_label, 'chart_label', 'medium');
} else {
    echo $f->text_field('chart_label', ${$class}->chart_label);
}
?>
      </li>
      <li><label>Value Field</label>
       <?php 
if (!empty($column_list)) {
    echo $f->select_field_from_array('chart_value', $column_list, ${$class}->chart_value, 'chart_value', 'medium');
} else {
    echo $f->text_field('chart_value', ${$class}->chart_value);
}
?>
      </li>
      <li><label>Legend</label>
       <?php 
if (!empty($column_list)) {
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:display_template.php

示例13: inoform

             <thead> 
             <th>Lot</th>
             <th>Serial</th>
             </thead>
             <tbody class="form_data_line_tbody">
              <tr class="inv_transaction_line0" id="tab4_1">
               <td>	<?php 
$f = new inoform();
$f->text_field_wid('lot_number');
echo $f->hidden_field('lot_number_id', ${$class}->lot_number_id);
echo $f->hidden_field('lot_generation', ${$class}->lot_generation);
?>
 </td>
               <td class="tdBlock">
                   <?php 
echo $f->text_field('serial_number', ${$class}->serial_number, '14');
echo $f->hidden_field('serial_number_id', ${$class}->serial_number_id);
echo $f->hidden_field('serial_generation', ${$class}->serial_generation);
?>
               </td>
              </tr>
             </tbody>
            </table>
           </div>
          </div>

         </div>
        </div>
        <!--                 complete Showing a blank form for new entry-->
       </form>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:inv_transaction_template+-+Copy.php

示例14: switch

</li>
 								 <li><?php 
    echo form::hidden_field('profile_level', ${$class}->profile_level);
    ?>
</li>
 								</ul>
 							 </td>
 							 <td><?php 
    form::number_field_wid2sr('sys_profile_line_id');
    ?>
</td>
								<?php 
    switch ($profile_level) {
        case 'SITE':
            echo "<td>";
            echo $f->text_field('level_name', 'SITE', '', '', '', 1, 1) . '</td><td>';
            break;
        case 'BUSINESS':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_business(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'INVENTORY':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_inventory(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'USER':
            echo '<td>';
            echo $f->select_field_from_object('level_name', user::find_all(), 'user_id', 'username', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
    }
    if (empty($line_values)) {
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:convertToProd_template.php

示例15: gettext

?>
</a></li>
   <li><a href="#tabsHeader-2"><?php 
echo gettext('Future');
?>
</a></li>
  </ul>
  <div class="tabContainer">
   <div id="tabsHeader-1" class="tabContent">
    <ul class="column header_field">
     <li><label><i class="am_maintenance_schedule_id select_popup clickable fa fa-search"></i>
       <?php 
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 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:calendar_date_template.php


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