Index: Smarty-2.6.2/libs/plugins/function.popup_init.php =================================================================== --- Smarty-2.6.2/libs/plugins/function.popup_init.php (revision 5703) +++ Smarty-2.6.2/libs/plugins/function.popup_init.php (revision 5462) @@ -1,10 +1,11 @@ ' . "\n" - . '' . "\n" - . '' . "\n"; - return $output; - } - else - { - $smarty->trigger_error("popup_init: missing src parameter"); - } + $zindex = 1000; + + if (!empty($params['zindex'])) { + $zindex = $params['zindex']; + } + + if (!empty($params['src'])) { + return '
' . "\n" + . '' . "\n"; + } else { + $smarty->trigger_error("popup_init: missing src parameter"); + } } -?> \ No newline at end of file +/* vim: set expandtab: */ + +?>