작은 따옴표가 들어간 모듈을 정상적으로 선택하지 못하던 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7342 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-03-15 09:56:58 +00:00
parent 38e6d27e40
commit d1dea0b57c

View file

@ -51,10 +51,10 @@
{@ $_idx =0; }
<!--@foreach($val as $k => $v)-->
<!--@if($_idx >0)--><tr><!--@end-->
{@ $browser_title = str_replace("'", "\\'", htmlspecialchars($v->browser_title)); }
<td>{$k}</td>
<td>{$v->browser_title}</td>
<!--<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{str_replace("'","\\'",$v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>-->
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{htmlspecialchars($v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{$browser_title}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
<!--@if($_idx <count($val))--></tr><!--@end-->
{@ $_idx ++; }
<!--@end-->