protected function getOptions() { $options = array(); foreach ($this->element->children() as $option) { if ($option->getName() != 'option') { continue; } $tmp = JHtml::_('select.option', (string) $option['value'], JText::alt(trim((string) $option), preg_replace('/[^a-zA-Z0-9_\\-]/', '_', $this->fieldname)), 'value', 'text', (string) $option['disabled'] == 'true'); $tmp->class = (string) $option['class']; $tmp->onclick = (string) $option['onclick']; $options[] = $tmp; } reset($options); $_options = JUDirectoryHelper::getCriteriaGroupOptions(); if ($_options) { $options = array_merge($options, $_options); } return $options; }
?> " onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?> </button> </div> <div class="filter-select"> <div class="pull-right hidden-phone"> <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_SELETEC_GROUP'); ?> </label> <?php $criteriaGroupOptions = JUDirectoryHelper::getCriteriaGroupOptions(); if ($criteriaGroupOptions) { array_unshift($criteriaGroupOptions, array('value' => '', 'text' => JText::_('JALL'))); echo JHtml::_('select.genericlist', $criteriaGroupOptions, 'group_id', 'class="input-medium" onchange="this.form.submit()"', 'value', 'text', $group_id); } ?> </div> <div class="pull-right hidden-phone"> <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC'); ?> </label> <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> <option value=""><?php