#17222208 확장변수 checkbox, select 타입에서 기본 값이 1개일 경우 표시 안되는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4474 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-08-29 07:17:46 +00:00
parent 506b4e5962
commit e1285f9811
2 changed files with 6 additions and 6 deletions

View file

@ -18,9 +18,9 @@
<!--%import("../../../../common/js/calendar-setup.js",optimized=false)-->
<!--%import("../../../../common/css/calendar-system.css",optimized=false)-->
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 , 를 기준으로 explode하여 배열로 만든다 -->
<!--@if(in_array($val->type,array('select','checkbox'))&&strpos($val->default,",")!==false)-->
{@ $val->default = explode(',',$val->default) }
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) }
<!--@end-->
<!--// 확장변수의 이름을 지정 -->

View file

@ -18,9 +18,9 @@
<!--%import("../../../../common/js/calendar-setup.js",optimized=false)-->
<!--%import("../../../../common/css/calendar-system.css",optimized=false)-->
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 , 를 기준으로 explode하여 배열로 만든다 -->
<!--@if(in_array($val->type,array('select','checkbox'))&&strpos($val->default,",")!==false)-->
{@ $val->default = explode(',',$val->default) }
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) }
<!--@end-->
<!--// 확장변수의 이름을 지정 -->