本文整理汇总了PHP中inoform::text_area方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::text_area方法的具体用法?PHP inoform::text_area怎么用?PHP inoform::text_area使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::text_area方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: substr
<td class="long-td"><?php
echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . $ec_user_cart->ec_product_id . '" title="' . $product_description . '">' . substr($product_description, 0, 100) . '</a>';
?>
</td>
<td><?php
echo $ec_user_cart->quantity;
?>
</td>
<td class="unit-price"><?php
echo '<span class="currency">' . $curr . '</span>';
$unit_price = round($ec_user_cart->sales_price, $precision);
echo '<span class="unit-price-value">' . $unit_price . '</span>';
?>
</td>
<td><?php
echo $f->text_area('description', $ec_user_cart->description);
?>
</td>
<td class="line-price" data-currency="<?php
echo $curr;
?>
"><?php
echo '<span class="currency">' . $curr . '</span>';
$sub_total = round($ec_user_cart->sales_price * $ec_user_cart->quantity, $precision);
$total += $sub_total;
echo '<span class="line-price-value">' . $sub_total . '</span>';
?>
</td>
</tr>
<tr><td></td>
<td colspan="6">
示例2: substr
<td class="long-td"><?php
echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . ${$class}->ec_product_id . '" title="' . $product_description . '">' . substr($product_description, 0, 100) . '</a>';
?>
</td>
<td><?php
$f->text_field_wids('quantity');
?>
</td>
<td class="unit-price"><?php
echo '<span class="currency">' . $curr . '</span>';
$unit_price = round(${$class}->sales_price, $precision);
echo '<span class="unit-price-value">' . $unit_price . '</span>';
?>
</td>
<td><?php
echo $f->text_area('description', ${$class}->description);
?>
</td>
<td class="line-price" data-currency="<?php
echo $curr;
?>
"><?php
echo '<span class="currency">' . $curr . '</span>';
$sub_total = round(${$class}->sales_price * ${$class}->quantity, $precision);
$total += $sub_total;
echo '<span class="line-price-value">' . $sub_total . '</span>';
?>
</td>
</tr>
<?php
$cart_object_ai->next();
示例3: unset
<li><a href="#tabsDetailD-1">Template Code</a></li>
<li><a href="#tabsDetailD-2">Form View</a></li>
</ul>
<div class="tabContainer">
<div id="tabsDetailD-1" class="tabContent">
<div class="well">Save the custom template @ <strong>themes\default\template</strong> as file name <strong><?php
echo $custom_template_file_name;
?>
</strong>
<button id="update_form_view" class="btn btn-primary">Refresh Form View</button>
</div>
<?php
if (file_exists($file_name_fp)) {
$file_content_fp = file_get_contents($file_name_fp);
}
echo $f->text_area('template_code', $file_content_fp, '20', 'template_code', '', ' ', '', '', ' ', 150);
?>
</div>
<div id="tabsDetailD-2" class="tabContent">
<?php
if (!empty($file_content_fp)) {
unset($class_names);
unset($template_file_names);
$class_names = $obj_class_name_h;
include HOME_DIR . '/includes/functions/loader.inc';
if (!empty($template_file_names)) {
foreach ($template_file_names as $key => $tmpl_file) {
include_once $tmpl_file;
}
}
}
示例4: ino_attachement
echo $f->checkBox_field_d('send_me_copy_cb');
?>
</li>
<li><label>Create Note</label><?php
echo $f->checkBox_field_d('create_comment_cb');
?>
</li>
<?php
echo $f->hidden_field_withId('reference_table', $reference_table);
?>
<?php
echo $f->hidden_field_withId('reference_id', $reference_id);
?>
</ul>
<div><label for='message'>Message</label><?php
echo $f->text_area('message', '', '5', 'message', 'form-control', 1);
?>
</div>
<div>
<button form="web_mail" name="send_mail" id="save" class="btn btn-info active submit button">Send Mail</button>
</div>
</div>
<div id="tabsHeader-2" class="tabContent">
<div> <?php
echo ino_attachement($file);
?>
</div>
</div>
</div>
示例5: array
echo $f->select_field_from_object('parent_id', path::find_all('name'), 'path_id', array('name', 'module_code'), ${$class}->parent_id, 'parent_id', '', '', 1);
?>
</li>
</ul>
</div>
</div>
<div id="tabsHeader-3" class="tabContent">
<div>
<ul class="column four_column">
<li><label>Custom Div Class : </label> <?php
echo $f->text_field_dl('custom_div_class');
?>
</li>
<li><label>Header Text : </label><?php
echo $f->text_area('header_text', ${$class}->header_text);
?>
</li>
<li><label>Footer Text : </label> <?php
echo $f->text_area('footer_text', ${$class}->footer_text);
?>
</li>
<li><label>Remove Default Header : </label> <?php
echo $f->checkBox_field('remove_default_header_cb', ${$class}->remove_default_header_cb);
?>
</li>
</ul>
</div>
</div>
<div id="tabsHeader-4" class="tabContent">
<div>