本文整理汇总了PHP中VmHTML类的典型用法代码示例。如果您正苦于以下问题:PHP VmHTML类的具体用法?PHP VmHTML怎么用?PHP VmHTML使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了VmHTML类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display
function display($tpl = null)
{
if (!class_exists('VmHTML')) {
require VMPATH_ADMIN . DS . 'helpers' . DS . 'html.php';
}
$this->vendorId = VmConfig::isSuperVendor();
// TODO add icon for media view
$this->SetViewTitle();
$model = VmModel::getModel('media');
$layoutName = vRequest::getCmd('layout', 'default');
if ($layoutName == 'edit') {
$this->media = $model->getFile();
$this->addStandardEditViewCommands();
} else {
$virtuemart_product_id = vRequest::getInt('virtuemart_product_id');
if (is_array($virtuemart_product_id) && count($virtuemart_product_id) > 0) {
$virtuemart_product_id = (int) $virtuemart_product_id[0];
} else {
$virtuemart_product_id = (int) $virtuemart_product_id;
}
$cat_id = vRequest::getInt('virtuemart_category_id', 0);
JToolBarHelper::custom('synchronizeMedia', 'new', 'new', vmText::_('COM_VIRTUEMART_TOOLS_SYNC_MEDIA_FILES'), false);
$this->addStandardDefaultViewCommands();
$this->addStandardDefaultViewLists($model, null, null, 'searchMedia');
$options = array('' => vmText::_('COM_VIRTUEMART_LIST_ALL_TYPES'), 'product' => vmText::_('COM_VIRTUEMART_PRODUCT'), 'category' => vmText::_('COM_VIRTUEMART_CATEGORY'), 'manufacturer' => vmText::_('COM_VIRTUEMART_MANUFACTURER'), 'vendor' => vmText::_('COM_VIRTUEMART_VENDOR'));
$this->lists['search_type'] = VmHTML::selectList('search_type', vRequest::getVar('search_type'), $options, 1, '', 'onchange="this.form.submit();"');
$options = array('' => vmText::_('COM_VIRTUEMART_LIST_ALL_ROLES'), 'file_is_displayable' => vmText::_('COM_VIRTUEMART_FORM_MEDIA_DISPLAYABLE'), 'file_is_downloadable' => vmText::_('COM_VIRTUEMART_FORM_MEDIA_DOWNLOADABLE'), 'file_is_forSale' => vmText::_('COM_VIRTUEMART_FORM_MEDIA_SET_FORSALE'));
$this->lists['search_role'] = VmHTML::selectList('search_role', vRequest::getVar('search_role'), $options, 1, '', 'onchange="this.form.submit();"');
$this->files = $model->getFiles(false, false, $virtuemart_product_id, $cat_id);
$this->pagination = $model->getPagination();
}
parent::display($tpl);
}
示例2: display
function display($tpl = null)
{
$this->loadHelper('html');
$this->loadHelper('permissions');
//@todo should be depended by loggedVendor
$this->vendorId = 1;
$titleMsg = '';
$model = VmModel::getModel();
$this->perms = Permissions::getInstance();
// to add in vmview ?
$multivendor = Vmconfig::get('multix', 'none');
$this->multiX = $multivendor !== 'none' && $multivendor != '' ? true : false;
$layoutName = JRequest::getWord('layout', 'default');
if ($layoutName == 'edit') {
$this->media = $model->getFile();
$this->addStandardEditViewCommands();
} else {
$this->cat_id = 0;
if ($this->product_id = JRequest::getInt('virtuemart_product_id', 0)) {
$product = VmModel::getModel('product')->getProductSingle($this->product_id, false, false);
$this->link = $this->editLink($this->product_id, '<i class="icon-edit"></i> ' . $product->product_name, 'virtuemart_product_id', array('class' => 'hasTooltip btn btn-inverse', 'title' => JText::_('COM_VIRTUEMART_EDIT') . ' ' . $product->product_name), 'product');
$titleMsg = $product->product_name;
} else {
if ($this->cat_id = JRequest::getInt('virtuemart_category_id', 0)) {
$category = VmModel::getModel('category')->getCategory($this->cat_id, false);
$this->link = $this->editLink($this->cat_id, '<i class="icon-edit"></i> ' . $category->category_name, 'virtuemart_category_id', array('class' => 'hasTooltip btn btn-inverse', 'title' => JText::_('COM_VIRTUEMART_EDIT') . ' ' . $category->category_name), 'category');
$titleMsg = $category->category_name;
}
}
// RAW render
if (JRequest::getWord('format', '') === 'raw') {
$tpl = 'results';
} else {
if ($this->adminVendor == 1) {
JToolBarHelper::custom('synchronizeMedia', 'new', 'new', JText::_('COM_VIRTUEMART_TOOLS_SYNC_MEDIA_FILES'), false);
if ($this->multiX) {
JToolBarHelper::custom('toggle.shared.1', 'ok', 'yes', JText::_('COM_VIRTUEMART_SHARED'), true);
JToolBarHelper::custom('toggle.shared.0', 'cancel', 'no', JText::_('COM_VIRTUEMART_SHARED'), true);
}
}
$this->addStandardDefaultViewCommands();
}
$this->addStandardDefaultViewLists($model, null, null, 'searchMedia');
$options = array('' => '- ' . JText::_('COM_VIRTUEMART_TYPE') . ' -', 'product' => JText::_('COM_VIRTUEMART_PRODUCT'), 'category' => JText::_('COM_VIRTUEMART_CATEGORY'), 'manufacturer' => JText::_('COM_VIRTUEMART_MANUFACTURER'), 'vendor' => JText::_('COM_VIRTUEMART_VENDOR'));
$this->lists['search_type'] = VmHTML::selectList('search_type', JRequest::getVar('search_type'), $options, 1, '', 'onchange="Joomla.ajaxSearch(this); return false;"');
$options = array('' => JText::_('COM_VIRTUEMART_LIST_ALL_ROLES'), 'file_is_displayable' => JText::_('COM_VIRTUEMART_FORM_MEDIA_DISPLAYABLE'), 'file_is_downloadable' => JText::_('COM_VIRTUEMART_FORM_MEDIA_DOWNLOADABLE'), 'file_is_forSale' => JText::_('COM_VIRTUEMART_FORM_MEDIA_SET_FORSALE'));
$this->lists['search_role'] = VmHTML::selectList('search_role', JRequest::getVar('search_role'), $options, 1, '', 'onchange="this.form.submit();"');
$this->files = $model->getFiles(false, false, $this->product_id, $this->cat_id);
$this->pagination = $model->getPagination();
}
// TODO add icon for media view
$this->SetViewTitle('', $titleMsg);
parent::display($tpl);
}
示例3: plgVmOnProductEdit
function plgVmOnProductEdit($field, $product, &$row,&$retValue) {
if ($field->custom_element != $this->_name) return '';
$this->parseCustomParams($field);
$html ='
<fieldset>
<legend>'. JText::_('VMCUSTOM_DROP_BOX') .'</legend>
<table class="admintable">
'.VmHTML::row('input','VMCUSTOM_DROP_STRING_NAME','custom_param['.$row.'][custom_drop_name]',$field->custom_drop_name).'
'.VmHTML::row('input','VMCUSTOM_DROP_STRING','custom_param['.$row.'][custom_drop]',$field->custom_drop).'
</table>
</fieldset>';
$retValue .= $html;
return true ;
}
示例4: plgVmOnProductEdit
function plgVmOnProductEdit($field, $product_id, &$row,&$retValue) {
if ($field->custom_element != $this->_name) return '';
// $html .='<input type="text" value="'.$field->custom_size.'" size="10" name="custom_param['.$row.'][custom_size]">';
$this->parseCustomParams($field);
$html ='
<fieldset>
<legend>'. JText::_('VMCUSTOM_TEXTINPUT') .'</legend>
<table class="admintable">
'.VmHTML::row('input','VMCUSTOM_TEXTINPUT_SIZE','custom_param['.$row.'][custom_size]',$field->custom_size).'
</table>
</fieldset>';
$retValue .= $html;
$row++;
return true ;
}
示例5: plgVmOnDisplayEdit
function plgVmOnDisplayEdit(&$calc, &$html)
{
$html .= '<fieldset>
<legend>' . JText::_('VMCALCULATION_AVALARA') . '</legend>
<table class="admintable">';
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ACTIVATED', 'activated', $calc->activated);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_COMPANY_CODE', 'company_code', $calc->company_code);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_ACCOUNT', 'account', $calc->account);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_LICENSE', 'license', $calc->license);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_COMMITT', 'committ', $calc->committ);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ONLYCART', 'only_cart', $calc->only_cart);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ACCRUAL', 'accrual', $calc->accrual);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_DEV', 'dev', $calc->dev);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_PREVCHECKOUT_AD_INVALID', 'prevCheckoutAddInv', $calc->prevCheckoutAddInv);
$label = 'VMCALCULATION_AVALARA_VADDRESS';
$lang = JFactory::getLanguage();
$label = $lang->hasKey($label . '_TIP') ? '<span class="hasTip" title="' . JText::_($label . '_TIP') . '">' . JText::_($label) . '</span>' : JText::_($label);
$html .= '
<tr>
<td class="key">
' . $label . '
</td>
<td>
' . shopfunctions::renderCountryList($calc->avatax_virtuemart_country_id, TRUE, array(), 'avatax_') . '
</td>';
/* $countriesList = ShopFunctions::renderCountryList($calc->calc_countries,True);
$this->assignRef('countriesList', $countriesList);
$statesList = ShopFunctions::renderStateList($calc->virtuemart_state_ids,'', True);
$this->assignRef('statesList', $statesList);
$label = 'VMCALCULATION_AVALARA_VADDRESS';
$lang =JFactory::getLanguage();
$label = $lang->hasKey($label.'_TIP') ? '<span class="hasTip" title="'.JText::_($label.'_TIP').'">'.JText::_($label).'</span>' : JText::_($label) ;
$html .= '
<td>
'.shopfunctions::renderStateList($calc->avatax_virtuemart_state_id,'avatax_',TRUE).'
</td> */
$html .= '</tr>';
//$html .= VmHTML::row('checkbox','VMCALCULATION_AVALARA_VADDRESS','vAddress',$calc->vAddress);
// $html .= VmHTML::row('checkbox','VMCALCULATION_ISTRAXX_AVALARA_TRACE','trace',$calc->trace);
$html .= '</table>';
if ($calc->activated) {
$html .= $this->ping($calc);
}
$html .= JText::_('VMCALCULATION_AVALARA_MANUAL') . '</fieldset>';
return TRUE;
}
示例6: plgVmOnDisplayEdit
function plgVmOnDisplayEdit(&$calc, &$html)
{
$html .= '<table>';
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ACTIVATED', 'activated', $calc->activated);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_COMPANY_CODE', 'company_code', $calc->company_code);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_ACCOUNT', 'account', $calc->account);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_LICENSE', 'license', $calc->license);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_COMMITT', 'committ', $calc->committ);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_VADDRESS', 'vAddress', $calc->vAddress);
// $html .= VmHTML::row('checkbox','VMCALCULATION_ISTRAXX_AVALARA_TRACE','trace',$calc->trace);
$html .= '</table></fieldset>';
if ($calc->activated) {
$html .= $this->ping($calc);
}
$html .= JText::_('VMCALCULATION_AVALARA_MANUAL');
return TRUE;
}
示例7: display
function display($tpl = null)
{
$this->loadHelper('html');
$this->loadHelper('permissions');
//@todo should be depended by loggedVendor
$vendorId = 1;
$this->assignRef('vendorId', $vendorId);
// TODO add icon for media view
$this->SetViewTitle();
$model = VmModel::getModel();
$perms = Permissions::getInstance();
$this->assignRef('perms', $perms);
$layoutName = JRequest::getWord('layout', 'default');
if ($layoutName == 'edit') {
$media = $model->getFile();
$this->assignRef('media', $media);
$isNew = $media->virtuemart_media_id < 1;
/* if ($isNew) {
if(!Permissions::getInstance()->check('admin')) {
$usermodel = VmModel::getModel('user');
// $usermodel->setCurrent();
$userDetails = $usermodel->getUser();
if(empty($userDetails->virtuemart_vendor_id)){
JError::raiseError(403,'Forbidden for non vendors');
}
} else $media->virtuemart_vendor_id = 1;
if(empty($media->virtuemart_vendor_id))$media->virtuemart_vendor_id = $userDetails->virtuemart_vendor_id;
}
*/
$this->addStandardEditViewCommands();
} else {
$virtuemart_product_id = JRequest::getInt('virtuemart_product_id', 0);
$cat_id = JRequest::getInt('virtuemart_category_id', 0);
JToolBarHelper::customX('synchronizeMedia', 'new', 'new', JText::_('COM_VIRTUEMART_TOOLS_SYNC_MEDIA_FILES'), false);
$this->addStandardDefaultViewCommands();
$this->addStandardDefaultViewLists($model, null, null, 'searchMedia');
$options = array('' => JText::_('COM_VIRTUEMART_LIST_EMPTY_OPTION'), 'product' => JText::_('COM_VIRTUEMART_PRODUCT'), 'category' => JText::_('COM_VIRTUEMART_CATEGORY'), 'manufacturer' => JText::_('COM_VIRTUEMART_MANUFACTURER'), 'vendor' => JText::_('COM_VIRTUEMART_VENDOR'));
$this->lists['search_type'] = VmHTML::selectList('search_type', JRequest::getVar('search_type'), $options, 1, '', 'onchange="this.form.submit();"');
$files = $model->getFiles(false, false, $virtuemart_product_id, $cat_id);
$this->assignRef('files', $files);
$pagination = $model->getPagination();
$this->assignRef('pagination', $pagination);
}
parent::display($tpl);
}
示例8: display
function display($tpl = null)
{
if (!class_exists('VmHTML')) {
require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'html.php';
}
if (!class_exists('Permissions')) {
require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'permissions.php';
}
//@todo should be depended by loggedVendor
$vendorId = 1;
$this->assignRef('vendorId', $vendorId);
// TODO add icon for media view
$this->SetViewTitle();
$model = VmModel::getModel('media');
$perms = Permissions::getInstance();
$this->assignRef('perms', $perms);
$layoutName = JRequest::getWord('layout', 'default');
if ($layoutName == 'edit') {
$media = $model->getFile();
$this->assignRef('media', $media);
$isNew = $media->virtuemart_media_id < 1;
$this->addStandardEditViewCommands();
} else {
$virtuemart_product_id = JRequest::getVar('virtuemart_product_id', array(), '', 'array');
if (is_array($virtuemart_product_id) && count($virtuemart_product_id) > 0) {
$virtuemart_product_id = (int) $virtuemart_product_id[0];
} else {
$virtuemart_product_id = (int) $virtuemart_product_id;
}
$cat_id = JRequest::getInt('virtuemart_category_id', 0);
JToolBarHelper::customX('synchronizeMedia', 'new', 'new', JText::_('COM_VIRTUEMART_TOOLS_SYNC_MEDIA_FILES'), false);
$this->addStandardDefaultViewCommands();
$this->addStandardDefaultViewLists($model, null, null, 'searchMedia');
$options = array('' => JText::_('COM_VIRTUEMART_LIST_ALL_TYPES'), 'product' => JText::_('COM_VIRTUEMART_PRODUCT'), 'category' => JText::_('COM_VIRTUEMART_CATEGORY'), 'manufacturer' => JText::_('COM_VIRTUEMART_MANUFACTURER'), 'vendor' => JText::_('COM_VIRTUEMART_VENDOR'));
$this->lists['search_type'] = VmHTML::selectList('search_type', JRequest::getVar('search_type'), $options, 1, '', 'onchange="this.form.submit();"');
$options = array('' => JText::_('COM_VIRTUEMART_LIST_ALL_ROLES'), 'file_is_displayable' => JText::_('COM_VIRTUEMART_FORM_MEDIA_DISPLAYABLE'), 'file_is_downloadable' => JText::_('COM_VIRTUEMART_FORM_MEDIA_DOWNLOADABLE'), 'file_is_forSale' => JText::_('COM_VIRTUEMART_FORM_MEDIA_SET_FORSALE'));
$this->lists['search_role'] = VmHTML::selectList('search_role', JRequest::getVar('search_role'), $options, 1, '', 'onchange="this.form.submit();"');
$files = $model->getFiles(false, false, $virtuemart_product_id, $cat_id);
$this->assignRef('files', $files);
$pagination = $model->getPagination();
$this->assignRef('pagination', $pagination);
}
parent::display($tpl);
}
示例9: plgVmOnProductEdit
function plgVmOnProductEdit($field, $product_id, &$row, &$retValue)
{
if ($field->custom_element != $this->_name) {
return '';
}
//VmConfig::$echoDebug = true;
//vmdebug('plgVmOnProductEdit',$field);
$html = '
<fieldset>
<legend>' . vmText::_('VMCUSTOM_TEXTINPUT') . '</legend>
<table class="admintable">
' . VmHTML::row('input', 'VMCUSTOM_TEXTINPUT_SIZE', 'customfield_params[' . $row . '][custom_size]', $field->custom_size);
$options = array(0 => 'VMCUSTOM_TEXTINPUT_PRICE_BY_INPUT', 1 => 'VMCUSTOM_TEXTINPUT_PRICE_BY_LETTER');
$html .= VmHTML::row('select', 'VMCUSTOM_TEXTINPUT_PRICE_BY_LETTER_OR_INPUT', 'customfield_params[' . $row . '][custom_price_by_letter]', $options, $field->custom_price_by_letter, '', 'value', 'text', false);
//$html .= ($field->custom_price_by_letter==1)?vmText::_('VMCUSTOM_TEXTINPUT_PRICE_BY_LETTER'):vmText::_('VMCUSTOM_TEXTINPUT_PRICE_BY_INPUT');
$html .= '</td>
</tr>
</table>
</fieldset>';
$retValue .= $html;
$row++;
return true;
}
示例10:
<label for="title">
<?php echo vmText::_('COM_VIRTUEMART_WORLDZONE'); ?>:
</label>
</td>
<td>
<?php echo JHtml::_('Select.genericlist', $this->worldZones, 'virtuemart_worldzone_id', '', 'virtuemart_worldzone_id', 'zone_name', $this->country->virtuemart_worldzone_id); ?>
</td>
</tr>*/
?>
<?php
echo VmHTML::row('input', 'COM_VIRTUEMART_COUNTRY_3_CODE', 'country_3_code', $this->country->country_3_code);
?>
<?php
echo VmHTML::row('input', 'COM_VIRTUEMART_COUNTRY_2_CODE', 'country_2_code', $this->country->country_2_code);
?>
</table>
</fieldset>
</div>
<input type="hidden" name="virtuemart_country_id" value="<?php
echo $this->country->virtuemart_country_id;
?>
" />
<?php
echo $this->addStandardHiddenToForm();
?>
示例11:
<td>
<?php
echo VmHTML::checkbox('jchosen', VmConfig::get('jchosen', 0));
?>
</td>
</tr>
<tr>
<td class="key">
<span class="hasTip" title="<?php
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_ENABLE_GOOGLE_JQUERY_TIP');
?>
">
<label for="google_jquery">
<?php
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_ENABLE_GOOGLE_JQUERY');
?>
</label>
</span>
</td>
<td>
<?php
echo VmHTML::checkbox('google_jquery', VmConfig::get('google_jquery', '1'));
?>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
示例12:
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;
?>
"/>
<?php
echo $this->addStandardHiddenToForm();
示例13: foreach
?>
</td>
</tr>
<tr>
<td><?php
echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_SHIPMENT_LBL');
?>
</td>
<td>
<input type="hidden" size="10" name="virtuemart_shipmentmethod_id" value="<?php
echo $this->orderbt->virtuemart_shipmentmethod_id;
?>
"/>
<!--
<?php
echo VmHTML::select("virtuemart_shipmentmethod_id", $shipments, $this->orderbt->virtuemart_shipmentmethod_id, '', "virtuemart_shipmentmethod_id", "shipment_name");
?>
<span id="delete_old_shipment" style="display: none;"><br />
<input id="delete_old_shipment" type="checkbox" name="delete_old_shipment" value="1" /> <label class='' for=""><?php
echo vmText::_('COM_VIRTUEMART_ORDER_EDIT_CALCULATE');
?>
</label>
</span>
-->
<?php
foreach ($shipments as $shipment) {
if ($shipment->virtuemart_shipmentmethod_id == $this->orderbt->virtuemart_shipmentmethod_id) {
echo $shipment->shipment_name;
}
}
?>
示例14: array
<td class="key">
<span class="hasTip" title="<?php echo vmText::_('com_tsmart_ADMIN_CFG_MAIL_FROM_RECIPIENT_EXPLAIN'); ?>">
<label for="mail_from_recipient"><?php echo vmText::_('com_tsmart_ADMIN_CFG_MAIL_FROM_RECIPIENT') ?></span>
</span>
</td>
<td>
<?php echo VmHTML::checkbox('mail_from_recipient', VmConfig::get('mail_from_recipient',0)); ?>
</td>
</tr>
<tr>
<td class="key">
<span class="hasTip" title="<?php echo vmText::_('com_tsmart_ADMIN_CFG_MAIL_FROM_SETSENDER_EXPLAIN'); ?>">
<label for="mail_from_setsender"><?php echo vmText::_('com_tsmart_ADMIN_CFG_MAIL_FROM_SETSENDER') ?></span>
</span>
</td>
<td>
<?php echo VmHTML::checkbox('mail_from_setsender', VmConfig::get('mail_from_setsender',0)); ?>
</td>
</tr --><?php */
$attrlist = 'class="inputbox" multiple="multiple" ';
echo VmHTML::row('genericlist', 'com_tsmart_ADMIN_CFG_STATUS_PDF_INVOICES', $this->osWoP_Options, 'inv_os[]', $attrlist, 'order_status_code', 'order_status_name', tsmConfig::get('inv_os', array('C')), 'inv_os', true);
echo VmHTML::row('genericlist', 'com_tsmart_CFG_OSTATUS_EMAILS_SHOPPER', $this->osWoP_Options, 'email_os_s[]', $attrlist, 'order_status_code', 'order_status_name', tsmConfig::get('email_os_s', array('U', 'C', 'S', 'R', 'X')), 'email_os_s', true);
echo VmHTML::row('genericlist', 'com_tsmart_CFG_OSTATUS_EMAILS_VENDOR', $this->os_Options, 'email_os_v[]', $attrlist, 'order_status_code', 'order_status_name', tsmConfig::get('email_os_v', array('U', 'C', 'R', 'X')), 'email_os_v', true);
echo VmHTML::row('input', 'com_tsmart_CFG_ATTACH', 'attach', tsmConfig::get('attach', ''));
echo VmHTML::row('genericlist', 'com_tsmart_CFG_ATTACH_OS', $this->osWoP_Options, 'attach_os[]', $attrlist, 'order_status_code', 'order_status_name', tsmConfig::get('attach_os', array('U', 'C', 'R', 'X')), 'attach_os', true);
?>
</table>
</fieldset>
示例15:
</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";
?>
</div>
<div class="pull-left" style="width: 70%"><?php
echo VmHTML::select_from_to('params[' . $passenger_type . '_passenger_age_from]', 'params[' . $passenger_type . '_passenger_age_to]', $this->config->params->get($passenger_type . '_passenger_age_from', 0), $this->config->params->get($passenger_type . '_passenger_age_to', 0), 'class="required"');
?>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
<?php
echo $this->addStandardHiddenToForm();
?>
<input type="hidden" value="<?php
echo $this->config->tsmart_general_id;