#18510421 : urlencode -> htmlspecialchars

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7007 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-12-03 09:49:17 +00:00
parent c50003d409
commit e5f945203f

View file

@ -53,7 +53,7 @@
<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}', '{urlencode($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>
<!--@if($_idx <count($val))--></tr><!--@end-->
{@ $_idx ++; }
<!--@end-->