mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Admin UI - lost support of 'newline' radio render option
This commit is contained in:
@@ -1177,7 +1177,8 @@ class e_form
|
|||||||
// return implode(" ", $text);
|
// return implode(" ", $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// support of UI owned 'newline' parameter
|
||||||
|
if(!varset($options['sep']) && vartrue($options['newline'])) $options['sep'] = '<br />'; // TODO div class=separator?
|
||||||
$separator = varset($options['sep']," ");
|
$separator = varset($options['sep']," ");
|
||||||
// return print_a($text,true);
|
// return print_a($text,true);
|
||||||
return implode($separator, $text).$help;
|
return implode($separator, $text).$help;
|
||||||
@@ -2971,7 +2972,7 @@ class e_form
|
|||||||
$eloptions = vartrue($parms['__options'], array());
|
$eloptions = vartrue($parms['__options'], array());
|
||||||
if(is_string($eloptions)) parse_str($eloptions, $eloptions);
|
if(is_string($eloptions)) parse_str($eloptions, $eloptions);
|
||||||
unset($parms['__options']);
|
unset($parms['__options']);
|
||||||
$ret = vartrue($eloptions['pre']).$this->radio_multi($key, $parms, $value, varset($eloptions['newline']), false).vartrue($eloptions['post']);
|
$ret = vartrue($eloptions['pre']).$this->radio_multi($key, $parms, $value, $eloptions, false).vartrue($eloptions['post']);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'userclass':
|
case 'userclass':
|
||||||
|
Reference in New Issue
Block a user