mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
reverted {popup_init} as proposed change to insertion behviour was not BC
This commit is contained in:
1
NEWS
1
NEWS
@@ -1,4 +1,3 @@
|
||||
- changed {popup_init} to only emit code once during a request (TGKnIght, boots)
|
||||
- fix handling of block-methods of registered objects (El Hombre Gris,
|
||||
messju)
|
||||
|
||||
|
@@ -21,9 +21,6 @@
|
||||
*/
|
||||
function smarty_function_popup_init($params, &$smarty)
|
||||
{
|
||||
static $already_init;
|
||||
|
||||
if (!$already_init) {
|
||||
$zindex = 1000;
|
||||
|
||||
if (!empty($params['zindex'])) {
|
||||
@@ -36,7 +33,6 @@ function smarty_function_popup_init($params, &$smarty)
|
||||
} else {
|
||||
$smarty->trigger_error("popup_init: missing src parameter");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim: set expandtab: */
|
||||
|
Reference in New Issue
Block a user