本文整理汇总了PHP中VmHTML::row_control方法的典型用法代码示例。如果您正苦于以下问题:PHP VmHTML::row_control方法的具体用法?PHP VmHTML::row_control怎么用?PHP VmHTML::row_control使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VmHTML
的用法示例。
在下文中一共展示了VmHTML::row_control方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
<?php
echo VmHTML::image('Icon', 'icon', $this->item->icon, 'class="required"');
?>
<?php
echo VmHTML::row_control('textarea', 'Meta title', 'meta_title', $this->item->meta_title);
?>
<?php
echo VmHTML::row_control('textarea', 'Key Word', 'key_word', $this->item->key_word);
?>
<?php
echo VmHTML::row_control('editor', 'Description', 'description', $this->item->description);
?>
<?php
echo VmHTML::row_control('booleanlist', 'com_tsmart_PUBLISHED', 'published', $this->item->published);
?>
</div>
</fieldset>
</div>
<input type="hidden" name="tsmart_vendor_id" value="<?php
echo $this->item->tsmart_vendor_id;
?>
"/>
<input type="hidden" name="tsmart_tour_type_id"
value="<?php
echo $this->item->tsmart_tour_type_id;
?>
"/>
示例2:
</div>
<div class="span6">
<?php
echo VmHTML::row_control('select', JText::_('Hold seat'), 'hold_seat', $this->hold_seat_type, $this->item->hold_seat, '');
?>
<?php
echo VmHTML::row_control('select_percent_amount', JText::_('Deposit Amount'), 'deposit_type', 'deposit_amount', $this->item->deposit_type, $this->item->deposit_amount);
?>
<?php
echo VmHTML::row_control('select_amount_percent', 'Balance 1 Terms', 'balance_day_1', 'balance_percent_1', $this->item->balance_day_1, $this->item->balance_percent_1, false);
?>
<?php
echo VmHTML::row_control('select_amount_percent', 'Balance 2 Terms', 'balance_day_2', 'balance_percent_2', $this->item->balance_day_2, $this->item->balance_percent_2, false);
?>
<?php
echo VmHTML::row_control('select_amount_percent', 'Balance 3 Terms', 'balance_day_3', 'balance_percent_3', $this->item->balance_day_3, $this->item->balance_percent_3, false);
?>
<?php
echo VmHTML::row_basic('list_checkbox', 'Payment option', 'list_payment_method_id', $this->list_payment_method, $this->item->list_payment_method_id, '', 'tsmart_paymentmethod_id', 'payment_name', true, true, true, 4);
?>
</div>
</div>
<div class="footer"></div>
</div>
</div>
<input type="hidden" name="tsmart_paymentsetting_id"
value="<?php
echo $this->item->tsmart_paymentsetting_id;
?>
示例3:
echo VmHTML::edit_price_add_on('data_price', $this->item->data_price);
?>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::row_control('editor', 'Itinerary', 'itinerary', $this->item->itinerary, '100%', 10);
?>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::row_control('editor', 'inclusion', 'inclusion', $this->item->inclusion, '100%', 10);
?>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::row_basic('list_checkbox', 'select tour apply', 'list_tour_id', $this->list_tour, $this->item->list_tour_id, '', 'tsmart_product_id', 'product_name', false);
?>
</div>
</div>
<?php
echo VmHTML::inputHidden(array(show_in_parent_window => $this->show_in_parent_window));
?>
<?php
示例4:
echo VmHTML::row_control('input', 'telephone', 'telephone', $this->item->telephone, '');
?>
<?php
echo VmHTML::row_control('input', 'Mobile phone', 'mobile_phone', $this->item->mobile_phone, '');
?>
<?php
echo VmHTML::row_control('input', 'Fax number', 'fax_number', $this->item->fax_number, '');
?>
<?php
echo VmHTML::row_control('input', 'Email address', 'email_address', $this->item->email_address, '');
?>
<?php
echo VmHTML::row_control('input', 'Contact person', 'contact_person', $this->item->contact_person, '');
?>
<?php
echo VmHTML::row_control('input', 'Contact mobile', 'contact_mobile', $this->item->contact_mobile, '');
?>
</div>
</div>
</div>
<div class="addtional-info">
<div class="row-fluid ">
<div class="span4">
Additional info
</div>
<div class="span8">
<?php
echo VmHTML::textarea('additional_info', $this->item->additional_info, '');
?>
</div>
</div>
示例5: date
?>
</div>
<?php
echo VmHTML::row_control('input', 'Hotel name or rule code', 'filter_search', $this->escape($this->state->get('filter.search')));
?>
<?php
echo VmHTML::row_control('location_city', 'Location', 'filter_location_city', $this->state->get('filter.location_city'), 'tsmart_cityarea_id', 'full_city');
?>
<?php
echo VmHTML::row_control('select', 'Tour name', 'filter_tsmart_product_id', $this->list_tour, $this->state->get('filter.tsmart_product_id'), '', 'tsmart_product_id', 'product_name', false);
?>
<?php
echo VmHTML::row_control('range_of_date', 'Valid date (Date to Date)', 'filter_vail_from', 'filter_vail_to', $this->state->get('filter.vail_from'), $this->state->get('filter.vail_to'));
?>
<?php
echo VmHTML::row_control('select_state', 'Status', 'filter_state', $this->state->get('filter.state'), '');
?>
<div class="control-group btn_search"><?php
echo VmHTML::input_button('', 'Search');
?>
</div>
</div>
<div id="editcell">
<div class="vm-page-nav">
</div>
<table class="adminlist table table-striped" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th class="admin-checkbox">
示例6:
<div class="span4">
</div>
<div class="span4"></div>
</div>
</div>
<!-- Features -->
<div class="form-horizontal">
<div class="row-fuid">
<div class="span4">
<?php
echo VmHTML::row_control('input', 'Company name', 'params[company_name]', $this->config->params->get('company_name', ''));
?>
<?php
echo VmHTML::row_control('input', 'Company name', 'params[company_email]', $this->config->params->get('company_email', ''));
?>
</div>
<div class="span4">
</div>
<div class="span4"></div>
</div>
</div>
<!-- Docs -->
<div>
<h4>Docs</h4>
<p>But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer</p>
</div>
示例7: array
</div>
<div class="row-fluid">
<div class="span2"></div>
<div class="span10">
<?php
echo VmHTML::edit_price_hotel_add_on('data_price', $this->item->data_price);
?>
<?php
echo VmHTML::row_control('textarea', 'term & policy', 'term_policy', $this->item->term_policy);
?>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::row_control('textarea_view', 'Hotel overview', 'hotel_overview', $this->hotel->description, array('style' => 'width:98%'));
?>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::row_basic('list_checkbox', 'select tour apply', 'list_tour_id', $this->list_tour, $this->tour_id_seletecd, '', 'tsmart_product_id', 'product_name', false);
?>
</div>
</div>
<?php
echo VmHTML::inputHidden(array(show_in_parent_window => $this->show_in_parent_window));
?>
<?php
示例8:
</div>
<div class="span6">
<?php
echo VmHTML::row_control('input', JText::_('Policy file'), 'policy_file', $this->config->booking_policy, 'class="required"');
?>
<?php
echo VmHTML::row_control('textarea', JText::_('Booking policy'), 'booking_policy', $this->config->booking_policy, 'class="required"', 70, 4);
?>
<?php
echo VmHTML::row_control('textarea', JText::_('Child policy'), 'Child_policy', $this->config->Child_policy, 'class="required"', 70, 4);
?>
<?php
echo VmHTML::row_control('textarea', JText::_('Modification policy'), 'modification_policy', $this->config->modification_policy, 'class="required"', 70, 4);
?>
<?php
echo VmHTML::row_control('textarea', JText::_('Cancellation policy'), 'cancellation_policy', $this->config->cancellation_policy, 'class="required"', 70, 4);
?>
</div>
</div>
<?php
echo $this->addStandardHiddenToForm();
?>
<input type="hidden" value="<?php
echo $this->config->tsmart_company_id;
?>
" name="tsmart_company_id">
<?php
echo JHtml::_('form.token');
?>
</form>
示例9: build_form_contact
public static function build_form_contact($name, $full_payment, $deposit)
{
$doc = JFactory::getDocument();
JHtml::_('jquery.ui');
JHtml::_('jquery.ui', array('sortable'));
$session = JFactory::getSession();
$json_list_passenger = $session->get('json_list_passenger');
$list_passenger = json_decode($json_list_passenger);
$list_passenger = array_merge($list_passenger->senior_adult_teen, $list_passenger->children_infant);
$doc->addScript(JUri::root() . '/media/system/js/jquery.utility.js');
$doc->addScript(JUri::root() . '/media/system/js/select2-master/dist/js/select2.full.js');
$doc->addScript(JUri::root() . '/media/system/js/jquery.serializeObject.js');
$doc->addScript(JUri::root() . '/media/system/js/jquery.base64.js');
$doc->addStyleSheet(JUri::root() . '/media/system/js/select2-master/dist/css/select2.css');
$doc->addStyleSheet(JUri::root() . '/media/system/js/tipso-master/src/tipso.css');
$doc->addStyleSheet(JUri::root() . '/media/system/js/animate.css-master/animate.css');
$doc->addScript(JUri::root() . '/media/system/js/DeLorean-Ipsum-master/jquery.delorean.ipsum.js');
$doc->addScript(JUri::root() . '/administrator/components/com_tsmart/assets/js/controller/html_build_form_contact/html_build_form_contact.js');
$doc->addScript(JUri::root() . '/media/system/js/tipso-master/src/tipso.js');
$doc->addScript(JUri::root() . '/media/system/js/bootstrap-notify-master/bootstrap-notify.js');
$doc->addScript(JUri::root() . '/media/system/js/jquery.scrollTo-master/jquery.scrollTo.js');
$doc->addScript(JUri::root() . '/media/system/js/jquery-cookie-master/src/jquery.cookie.js');
$doc->addLessStyleSheet(JUri::root() . '/administrator/components/com_tsmart/assets/js/controller/html_build_form_contact/html_build_form_contact.less');
$doc->addScript(JUri::root() . '/media/system/js/bootstrap-daterangepicker-master/moment.js');
$doc->addScript(JUri::root() . '/media/system/js/bootstrap-daterangepicker-master/daterangepicker.js');
$doc->addStyleSheet(JUri::root() . '/media/system/js/bootstrap-daterangepicker-master/daterangepicker-bs2.css');
require_once JPATH_ROOT . '/libraries/php-loremipsum-master/src/LoremIpsum.php';
$lipsum = new joshtronic\LoremIpsum();
$id_element = 'html_build_form_contact_' . $name;
$debug = true;
ob_start();
?>
<script type="text/javascript">
jQuery(document).ready(function ($) {
$('#<?php
echo $id_element;
?>
').html_build_form_contact({
input_name: "<?php
echo $name;
?>
",
element_key: "<?php
echo $id_element;
?>
",
debug:<?php
echo json_encode($debug);
?>
,
});
});
</script>
<?php
$script_content = ob_get_clean();
$script_content = TSMUtility::remove_string_javascript($script_content);
$doc->addScriptDeclaration($script_content);
ob_start();
?>
<div class="html_build_form_contact row-fluid" id="<?php
echo $id_element;
?>
">
<div class="form-contact form-horizontal">
<div class="row-fluid">
<div class="span12">
<h4 class="title contact-detail"><span class="icon-location "
title=""></span><?php
echo JText::_('Contact detail');
?>
</h4>
</div>
</div>
<div class="row-fluid">
<div class="span6">
<?php
echo VmHTML::row_control('input', JText::_('Contact name'), 'contact_name', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Phone No'), 'phone_number', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Email Address'), 'email_address', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Confirm Email'), 'confirm_email', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Street address'), 'street_address', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Suburb/Town'), 'suburb_town', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('State/province'), 'state_province', '', 'class="required"');
?>
</div>
<div class="span6">
<?php
//.........这里部分代码省略.........
示例10:
?>
<?php
echo VmHTML::row_control('input', JText::_('Res. Country'), 'res_country', '', 'class="required"');
?>
<h3 class=" emergency-contact"><?php
echo JText::_('Emergency contact');
?>
</h3>
<?php
echo VmHTML::row_control('input', JText::_('Contact Name'), 'emergency_contact_name', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Street address'), 'emergency_email_address', '', 'class="required"');
?>
<?php
echo VmHTML::row_control('input', JText::_('Phone No'), 'emergency_phone_number', '', 'class="required"');
?>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<fieldset class="tour-border rooming">
<legend
class="tour-border"><?php
echo JText::_('Roomming');
?>
</legend>
<div class="row-fluid">
<div class="span3">
<span class="icon-notification " title=""></span>
示例11:
</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);
?>
<?php
echo VmHTML::row_control('editor', 'Room info', 'room_info', $this->item->description);
?>
</div>
</div>
</div>
</div>
<input type="hidden" value="com_tsmart" name="option">
<input type="hidden" value="hotel" name="controller">
<input type="hidden" value="hotel" name="view">
<input type="hidden" value="" name="task">
<input type="hidden" name="tsmart_vendor_id" value="<?php
echo $this->item->tsmart_vendor_id;
?>
示例12:
<legend>Particularity</legend>
<?php
echo VmHTML::row_control('text_view', 'Tour type', $view->product->tour_type, 'class="required"');
?>
<?php
echo VmHTML::row_control('text_view', 'Tour stype', $view->product->tour_style, 'class="required"');
?>
<?php
echo VmHTML::row_control('text_view', 'Difficulty grade', $view->product->physicalgrade, 'class="required"');
?>
<?php
echo VmHTML::row_control('text_view_from_to', 'Min Max pers', $view->product->min_person, $view->product->max_person, $text = 'to', 'style="width:65px"', ' style="width:65px" ');
?>
<?php
echo VmHTML::row_control('text_view_from_to', 'Min Max age', $view->product->min_age, $view->product->max_age, $text = 'to', 'style="width:65px"', ' style="width:65px" ');
?>
</fieldset>
</div>
<div class="span4">
<fieldset >
<legend>Tour Section</legend>
<?php
echo VmHTML::view_list(array($view->product->tour_section));
?>
</fieldset>
<fieldset class="list_tour_service_class">
<legend>Service class</legend>
<?php
示例13:
?>
</fieldset>
</div>
<div class="span4">
<fieldset>
<legend>Particularity</legend>
<?php
echo VmHTML::row_control('select_tour_type', 'Tour type', 'tsmart_tour_type_id', $this->product->tsmart_tour_type_id, '', false);
?>
<?php
echo VmHTML::row_control('select', 'tour style', 'tsmart_tour_style_id', $this->list_tour_style, $this->product->tsmart_tour_style_id, '', 'tsmart_tour_style_id', 'title', false);
?>
<?php
echo VmHTML::row_control('select', 'physical grade', 'tsmart_physicalgrade_id', $this->list_physical_grade, $this->product->tsmart_physicalgrade_id, '', 'tsmart_physicalgrade_id', 'title', false);
?>
<div class="control-group min-max-pers"><label class="control-label">Min Max pers</label>
<div class="controls">
<div class="row-fluid ">
<div class="span5">
<?php
echo VmHTML::input('min_person', $this->product->min_person, 'class="required min_person"');
?>
</div>
<div class="span1 offset1">
<label class="control-label">To</label>
</div>
<div class="span5">
<?php