mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#269 다중선택 확장변수에서 하나의 값만 선택될 경우 보여주는 부분에서 오류가 생기는 것을 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3006 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb2cef3738
commit
4624c74dbd
3 changed files with 18 additions and 7 deletions
|
|
@ -28,30 +28,36 @@
|
|||
|
||||
<!-- 전화번호 -->
|
||||
<!--@elseif($val->type == 'tel')-->
|
||||
{htmlspecialchars($val->value[0])}
|
||||
{(int)htmlspecialchars($val->value[0])}
|
||||
<!--@if($val->value[1])-->-<!--@end-->
|
||||
{htmlspecialchars($val->value[1])}
|
||||
{(int)htmlspecialchars($val->value[1])}
|
||||
<!--@if($val->value[2])-->-<!--@end-->
|
||||
{htmlspecialchars($val->value[2])}
|
||||
{(int)htmlspecialchars($val->value[2])}
|
||||
|
||||
|
||||
<!-- textarea -->
|
||||
<!--@elseif($val->type == 'textarea')-->
|
||||
{nl2br(htmlspecialchars($val->value))}
|
||||
|
||||
|
||||
<!-- 다중 선택 -->
|
||||
<!--@elseif($val->type == 'checkbox')-->
|
||||
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
|
||||
<!--@foreach($val->value as $v)-->
|
||||
{@ $_tmp_value[] = htmlspecialchars($v)}
|
||||
<!--@end-->
|
||||
{implode(",",$_tmp_value)}
|
||||
|
||||
|
||||
<!-- 단일 선택 -->
|
||||
<!--@elseif($val->type == 'select')-->
|
||||
{htmlspecialchars($val->value)}
|
||||
|
||||
|
||||
<!-- 날짜 입력 -->
|
||||
<!--@elseif($val->type == 'date')-->
|
||||
{zdate($val->value,"Y-m-d")}
|
||||
|
||||
<!--@end-->
|
||||
|
||||
<!--@if(!$val->value)--> <!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue