<div class="controls"> <?php $editor = JFactory::getEditor(); echo $editor->display('desc', $this->obj->desc, '100%', '400', '60', '20', false); ?> </div> </div> <div class="control-group"> <label class="control-label" for="state"><?php echo JText::_('COM_BOOKPRO_STATUS'); ?> </label> <div class="form-inline"> <?php echo JHtmlSelect::booleanlist('state', 'class="btn-group"', $this->obj->state, 'Publish', 'UnPublish', 'id_state'); ?> </div> </div> </div> <input type="hidden" name="option" value="<?php echo OPTION; ?> " /> <input type="hidden" name="controller" value="<?php
:</td> <td><input name="ordering" id="ordering" value="<?php echo $row->ordering; ?> " size="10" maxlength="250" type="text" /> </td> </tr> <tr> <td width="100" align="right" class="key"><label for="currency_enabled"> <?php echo JText::_('K2STORE_ENABLED'); ?> : </label> </td> <td><?php echo JHtmlSelect::booleanlist('enabled', '', $row->enabled); ?> </td> </tr> </table> <legend> <?php echo JText::_('K2STORE_PARAMETERS'); ?> </legend> <?php $path = JPATH_SITE . '/plugins/' . $row->folder . '/' . $row->element . '/jform/' . $row->element . '.xml'; if (file_exists($path)) { $form = JForm::getInstance($row->element, $path);
<div class="controls form-inline"> <?php echo $this->orderstatus; ?> <label for="notify_customer"> </div> </div> <div class="control-group"> <label class="control-label" for="notify_customer"><?php echo JText::_('COM_BOOKPRO_ORDER_NOTIFY_TO_CUSTOMER'); ?> </label> <div class="form-inline"> <?php echo JHtmlSelect::booleanlist('notify_customer'); ?> </div> </div> <div class="control-group"> <label class="control-label" for="total"><?php echo JText::_('COM_BOOKPRO_ORDER_TOTAL'); ?> </label> <div class="controls"> <input class="text_area required" type="text" name="total" id="total" size="60" maxlength="255" value="<?php echo $this->obj->total; ?> " /> </div>
?> " /></td> </tr> <tr> <td><?php echo JText::_('COM_BOOKPRO_SEAT'); ?> </td> <td colspan="2"><input class="input-small required" type="number" name="jform[seat][]" value="<?php echo $rate->seat; ?> " /></td> </tr> </table> </fieldset> <?php } ?> <?php echo JHtmlSelect::booleanlist('state', 'class="radio btn"', $rate->state, JText::_('COM_BOOKPRO_OPEN'), JText::_('COM_BOOKPRO_CLOSE')); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="option" value="com_bookpro" /> <?php echo JHtml::_('form.token'); ?> </form>
/** * Creates a radio boolean field * @param string $name * @param string $value * @param array $options * @result html */ public static function radioBooleanList($name, $value = '', $options = array()) { $html = ''; $id = isset($options['id']) && !empty($options['id']) ? $options['id'] : $name; if (!isset($options['hide_label']) && empty($options['hide_label'])) { $html .= '<div class="control-group">'; $label_text = isset($options['label_text']) ? $options['label_text'] : "test"; $html .= self::label($label_text, $options = array()); } $html .= JHtmlSelect::booleanlist($name, $attribs = array(), $value, $yes = 'JYES', $no = 'JNO', $id); if (!isset($options['hide_label']) && empty($options['hide_label'])) { $html .= '</div>'; } return $html; }
id="code" size="20" maxlength="255" value="<?php echo $this->obj->code; ?> " /> </div> </div> <div class="control-group"> <label class="control-label" for="subtract_type"><?php echo JText::_('COM_BOOKPRO_COUPON_SUBTRACT_TYPE'); ?> </label> <div class="form-inline"> <?php echo JHtmlSelect::booleanlist('subtract_type', '', $this->obj->subtract_type, JText::_('COM_BOOKPRO_PERCENTAGE'), JText::_('COM_BOOKPRO_FIX_AMOUNT')); ?> </div> </div> <div class="control-group"> <label class="control-label" for="amount"><?php echo JText::_('COM_BOOKPRO_COUPON_AMOUNT'); ?> </label> <div class="controls"> <input class="text_area" type="text" name="amount" id="amount" size="60" maxlength="255" value="<?php echo $this->obj->amount; ?>
$listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $itemsCount = count($this->items); $pagination = $this->pagination; ?> <div class="span10" id="j-main-container"> <form action="<?php echo JRoute::_('index.php?option=com_bookpro&view=orders'); ?> " method="post" name="adminForm" id="adminForm"> <div class="well"> <div class="row-fluid"> <div class="form-inline"> <?php echo JHtmlSelect::booleanlist('filter_date_type', 'class="btn-group"', $this->state->get('filter.date_type'), 'Booking date', 'Depart date'); ?> <?php echo JHtml::calendar($this->state->get('filter.from_date'), 'filter_from_date', 'filter_from_date', '%Y-%m-%d', 'for =1 placeholder="From date" style="width: 100px;"'); ?> <?php echo JHtml::calendar($this->state->get('filter.to_date'), 'filter_to_date', 'filter_to_date', '%Y-%m-%d', 'for=1 placeholder="To date" style="width: 100px;"'); ?> <input type="text" placeholder="<?php echo JText::_('COM_BOOKPRO_TITLE_ORDER_SEARCH'); ?> " value="<?php echo $this->state->get('filter.search'); ?> " id="filter_search" name="filter_search" title="<?php
</div> <input type="hidden" id="mod_jbtransport_switch" value="<?php echo $cart->tour; ?> "/> </div> <form id="mod_jbtransport_search_form" action="index.php" method="post" <?php echo $cart->tour ? 'style="display:none"' : ''; ?> > <div class="form-inline"> <?php echo JHtmlSelect::booleanlist('roundtrip', 'class="inputbox"', $cart->filter['roundtrip'], JText::_('MOD_BOOKPRO_TRANSPORT_SEARCH_ROUNDTRIP'), JText::_('MOD_BOOKPRO_TRANSPORT_SEARCH_ONEWAY'), 'roundtrip'); ?> </div> <div class="row-fluid"> <div class="clearfix"> <div class="form-horizontal" style="text-align:left"> <!------------------------------ TRANSFER TYPE------------------------------> <div class="control-group"> <div class="control-label"> <label><?php echo JText::_('MOD_BOOKPRO_TRANSPORT_TYPE'); ?> </label>