本文整理汇总了PHP中VmHTML::input方法的典型用法代码示例。如果您正苦于以下问题:PHP VmHTML::input方法的具体用法?PHP VmHTML::input怎么用?PHP VmHTML::input使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VmHTML
的用法示例。
在下文中一共展示了VmHTML::input方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
} else {
?>
<?php
echo $row->phone_code;
?>
<?php
}
?>
</td>
<td align="left">
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('city_abbr', $row->city_abbr, 'class="required"');
?>
<?php
} else {
?>
<?php
echo $row->city_abbr;
?>
<?php
}
?>
</td>
<td>
<?php
echo $row->list_airport;
示例2:
</h4>
<?php
for ($i = 0; $i < count($list_passenger_type); $i++) {
?>
<?php
$passenger_type = $list_passenger_type[$i];
$passenger_type_label = $this->config->params->get($passenger_type . '_label', $passenger_type);
?>
<div class="row-fluid">
<div class="span4">
<div class="column-label">
<div class="label"><?php
echo JText::_('Passenger type ' . ($i + 1));
?>
</div><?php
echo VmHTML::input('params[' . $passenger_type . '_label]', $this->config->params->get($passenger_type . '_label', $passenger_type), 'class="required"');
?>
</div>
</div>
<div class="span2">
<div class="activelist">
<?php
echo VmHTML::bootstrap_activelist('params[' . $passenger_type . '_state]', $this->config->params->get($passenger_type . '_state', true), ' ');
?>
</div>
</div>
<div class="span6">
<div class="slider-age">
<div class="pull-left title"> <?php
echo "Set {$passenger_type_label} age";
?>
示例3:
} else {
?>
<?php
echo $row->zip_code;
?>
<?php
}
?>
</td>
<td>
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('phone_code', $row->phone_code, 'class="required"');
?>
<?php
} else {
?>
<?php
echo $row->phone_code;
?>
<?php
}
?>
</td>
<td>
<?php
echo $row->total_city;
示例4:
<?php
} else {
?>
<?php
echo $row->key_word;
?>
<?php
}
?>
</td>
<td>
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('description', $row->description, 'class="required"');
?>
<?php
} else {
?>
<?php
echo $row->description;
?>
<?php
}
?>
</td>
<td align="center" width="70">
<?php
if ($show_edit) {
示例5: ob_get_clean
});
</script>
<?php
$js_content = ob_get_clean();
$js_content = TSMUtility::remove_string_javascript($js_content);
$doc->addScriptDeclaration($js_content);
?>
<div class="view-excursionaddon-edit">
<form action="index.php" method="post" class="form-vertical" name="adminForm" id="adminForm">
<div class="row-fluid">
<div class="span4">
<h3> Service name</h3>
</div>
<div class="span8">
<?php
echo VmHTML::input('excursion_addon_name', $this->item->excursion_addon_name, 'class="required" placeholder="excursion name" ');
?>
<br/>
<?php
echo VmHTML::location_city('tsmart_cityarea_id', $this->list_cityarea, $this->item->tsmart_cityarea_id, '', 'tsmart_cityarea_id', 'full_city');
?>
<h3>Edit term</h3>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::list_radio('excursion_payment_type', $this->list_excursion_payment_type, $this->item->excursion_payment_type);
?>
</div>
</div>
<div class="row-fluid">
示例6:
<?php
} else {
?>
<?php
echo VmHTML::show_image(JUri::root() . '/' . $row->image, 'class="required"', 20, 20);
?>
<?php
}
?>
</td>
<td>
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('symbol', $row->symbol, 'class="required"');
?>
<?php
} else {
?>
<?php
echo $row->symbol;
?>
<?php
}
?>
</td>
<td align="center" width="70">
<?php
if ($show_edit) {
示例7:
$js_content = TSMUtility::remove_string_javascript($js_content);
$doc->addScriptDeclaration($js_content);
?>
<div class="view-hoteladdon-edit">
<form action="index.php" method="post" class="form-vertical" name="adminForm" id="adminForm">
<div class="row-fluid">
<div class="span4">
<h3> Service name</h3>
</div>
<div class="span8">
<?php
echo VmHTML::select('tsmart_hotel_id', $this->list_hotel, $this->item->tsmart_hotel_id, ' ', 'tsmart_hotel_id', 'hotel_name');
?>
<br/>
<?php
echo VmHTML::input('location', $this->hotel->city_area_name, ' placeholder="location" readonly ');
?>
<h3>Edit term</h3>
<div class="row-fluid">
<div class="span6">
<?php
echo VmHTML::list_radio('hotel_addon_type', $this->list_hotel_addon_type, $this->item->hotel_addon_type);
?>
</div>
<div class="span6">
<?php
echo VmHTML::list_radio('hotel_payment_type', $this->list_hotel_payment_type, $this->item->hotel_payment_type);
示例8: ob_get_clean
});
</script>
<?php
$js_content = ob_get_clean();
$js_content = TSMUtility::remove_string_javascript($js_content);
$doc->addScriptDeclaration($js_content);
?>
<div class="view-transferaddon-edit">
<form action="index.php" method="post" class="form-vertical" name="adminForm" id="adminForm">
<div class="row-fluid">
<div class="span4">
<h3> Service name</h3>
</div>
<div class="span8">
<?php
echo VmHTML::input('transfer_addon_name', $this->item->transfer_addon_name, 'class="required" placeholder="transfer name" ');
?>
<br/>
<?php
echo VmHTML::location_city('tsmart_cityarea_id', $this->list_cityarea, $this->item->tsmart_cityarea_id, '', 'tsmart_cityarea_id', 'full_city');
?>
<h3>Edit term</h3>
<div class="row-fluid">
<div class="span6">
<?php
echo VmHTML::list_radio('transfer_type', $this->list_transfer_type, $this->item->transfer_type);
?>
</div>
<div class="span6">
<?php
示例9:
} else {
?>
<?php
echo $row->ata_code;
?>
<?php
}
?>
</td>
<td align="left">
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('icao_code', $row->icao_code, 'class="required"');
?>
<?php
} else {
?>
<?php
echo $row->icao_code;
?>
<?php
}
?>
</td>
<?php
if (!$show_edit_in_line) {
?>
示例10:
</div>
<div class="row-fluid">
<div class="<?php
echo $span_left;
?>
">
<?php
echo JText::_('Discount value');
?>
</div>
<div class="<?php
echo $span_right;
?>
">
<?php
echo VmHTML::input('coupon_value_valid', $this->item->coupon_value_valid, ' placeholder="Number of user" ');
?>
</div>
</div>
<div class="row-fluid">
<div class="<?php
echo $span_left;
?>
">
<?php
echo JText::_('Select unit');
?>
</div>
<div class="<?php
echo $span_right;
?>
示例11:
echo VmHTML::input('tel_number', $this->item->tel_number, ' placeholder="Tell number"');
?>
<?php
echo VmHTML::input('fax_number', $this->item->fax_number, ' placeholder="fax number"');
?>
<?php
echo VmHTML::input('email', $this->item->email, ' placeholder="E-mail add"');
?>
<?php
echo VmHTML::input('website', $this->item->website, ' placeholder="Website"');
?>
<?php
echo VmHTML::input('reviews_api', $this->item->reviews_api, ' placeholder="reviews API"');
?>
<?php
echo VmHTML::input('hotel_code', $this->item->hotel_code, ' placeholder="Hotel code"');
?>
</div>
</div>
</div>
<div class="addition-info">
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::row_control('editor', 'Overview', 'overview', $this->item->overview);
?>
<?php
echo VmHTML::row_control('editor', 'Hotel info', 'facility_info', $this->item->description);
?>
示例12:
} else {
?>
<?php
}
?>
</td>
<td align="left">
<?php
if ($row->type != 'flat_price') {
?>
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('group_name', $row->group_name, 'class="required"');
?>
<?php
} else {
?>
<a href="<?php
echo $editlink;
?>
"><?php
echo $row->group_name;
?>
(<?php
echo $row->from;
?>
,<?php
示例13:
<?php
} else {
?>
<?php
echo VmHTML::show_image(JUri::root() . '/' . $row->image, 'class="required"', 20, 20);
?>
<?php
}
?>
</td>
<td align="left">
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('hex_symbol', $row->hex_symbol);
?>
<?php
} else {
?>
<?php
echo $row->hex_symbol;
?>
<?php
}
?>
</td>
<td align="left">
<span class="sortable-handler">
示例14:
} else {
?>
<?php
echo $checked;
?>
<?php
}
?>
</td>
<td align="left">
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::input('servicetype_name', $row->title, 'class="required"');
?>
<?php
} else {
?>
<?php
$servicetype_string = tsmText::_($prefix . $row->servicetype_3_code);
?>
<a href="<?php
echo $editlink;
?>
"><?php
echo $row->title;
?>
</a>
<?php
示例15:
</div>
</div>
<div class="control-group min-max-pers"><label class="control-label">Min Max age</label>
<div class="controls">
<div class="row-fluid ">
<div class="span5">
<?php
echo VmHTML::input('min_age', $this->product->min_age, 'class="required min_age"');
?>
</div>
<div class="span1 offset1">
<label class="control-label">To</label>
</div>
<div class="span5">
<?php
echo VmHTML::input('max_age', $this->product->max_age, 'class="required max_age"');
?>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div class="span4">
<fieldset >
<legend>Tour Section</legend>
<?php
echo VmHTML::list_radio('tsmart_tour_section_id', $this->list_tour_section, $this->product->tsmart_tour_section_id, '', 'tsmart_tour_section_id', 'tour_section_name', false, true, true, 2);
?>