diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index f8dd86740..c3f4f9dab 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -693,9 +693,10 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk)) case 'select': $allowempty = empty($conf['allow_empty']) ? false : $conf['allow_empty']; $multiple = empty($conf['multiple']) ? false : $conf['multiple']; + $order = empty($conf['order']) ? '' : $conf['order']; if(!empty($conf['options'])) { $selections = empty($settings->_extensions[$extname][$confkey]) ? array() : explode(",", $settings->_extensions[$extname][$confkey]); - echo ""; if(is_array($conf['options'])) { $options = $conf['options']; } elseif(is_string($conf['options']) && $conf['options'] == 'hook') { @@ -709,7 +710,12 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk)) echo ""; + if(is_array($opt)) { + echo " data-subtitle=\"".htmlspecialchars($opt['subtitle'])."\">".htmlspecialchars($opt['value']); + } else { + echo ">".htmlspecialchars(getMLText($extname.'_'.$opt, array(), $opt)); + } + echo ""; } echo ""; } elseif(!empty($conf['internal'])) {