mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
#116, 레이아웃 설정 > 사용자 정의에서 select타입의 UI를 제대로 처리하지 않는 문제 해결
This commit is contained in:
parent
0b7de7bea9
commit
de0da3a2de
1 changed files with 5 additions and 3 deletions
|
|
@ -588,13 +588,15 @@ class layoutModel extends layout
|
|||
|
||||
$options = $var->options;
|
||||
if(!$options) continue;
|
||||
|
||||
if(!is_array($options)) $options = array($options);
|
||||
if(!is_array($options))
|
||||
{
|
||||
$options = array($options);
|
||||
$buff[] = sprintf('$layout_info->extra_var->%s->options = array();', $var->attrs->name);
|
||||
}
|
||||
$options_count = count($options);
|
||||
$thumbnail_exist = false;
|
||||
for($j=0; $j < $options_count; $j++)
|
||||
{
|
||||
$buff[] = sprintf('$layout_info->extra_var->%s->options = array();', $var->attrs->name);
|
||||
$buff[] = sprintf('$layout_info->extra_var->%s->options["%s"] = new stdClass;', $var->attrs->name, $options[$j]->attrs->value);
|
||||
$thumbnail = $options[$j]->attrs->src;
|
||||
if($thumbnail)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue