mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-01 21:01:37 +01:00
reverted stuff
This commit is contained in:
@@ -99,9 +99,7 @@ function smarty_function_popup($params, &$smarty)
|
||||
|
||||
if (empty($trigger)) { $trigger = "onmouseover"; }
|
||||
|
||||
$retval = $trigger . '="' . htmlspecialchars(
|
||||
'return overlib(\''.preg_replace(array("!'!","![\r\n]!"),
|
||||
array("\'",'\r'),$text).'\'');
|
||||
$retval = $trigger . '="return overlib(\''.preg_replace(array("!'!","![\r\n]!"),array("\'",'\r'),$text).'\'';
|
||||
$retval .= $append . ');" onmouseout="nd();"';
|
||||
|
||||
return $retval;
|
||||
|
||||
Reference in New Issue
Block a user