Best Answer Cheren-dow , 18 December 2014 - 08:02
webevp, откройте шаблон:
сайт\media\zoo\applications\jbuniversal\framework\render\filter\element.jbpriceadvance.php
найдите условие
if ($valueTmpl == 2) {
$htmlRange = array();
$htmlRange[] = '<label for="' . $this->_getId('val_min') . '">' . JText::_('JBZOO_FROM') . '</label>';
$htmlRange[] = $this->_jbhtml->text($this->_getName('val_min'), $values['val_min'], 'class="val_min"', $this->_getId('val_min'));;
$htmlRange[] = '<label for="' . $this->_getId('val_max') . '">' . JText::_('JBZOO_TO') . '</label>';
$htmlRange[] = $this->_jbhtml->text($this->_getName('val_max'), $values['val_max'], 'class="val_max"', $this->_getId('val_max'));
$html = '<div class="jbprice-ranges">' . implode("\n ", $htmlRange) . '</div>';
}
и замените на
if ($valueTmpl == 2) {
$htmlRange = array();
$htmlRange[] = '<label for="' . $this->_getId('val_min') . '">' . JText::_('JBZOO_FROM') . '</label>';
$htmlRange[] = $this->_jbhtml->text($this->_getName('val_min'), $values['val_min'], 'class="val_min" placeholder="от"', $this->_getId('val_min'));;
$htmlRange[] = '<label for="' . $this->_getId('val_max') . '">' . JText::_('JBZOO_TO') . '</label>';
$htmlRange[] = $this->_jbhtml->text($this->_getName('val_max'), $values['val_max'], 'class="val_max" placeholder="до"', $this->_getId('val_max'));
$html = '<div class="jbprice-ranges">' . implode("\n ", $htmlRange) . '</div>';
}
Go to the full post


This topic is locked








