10 * Smarty {popup_init} function plugin
13 * Name: popup_init<br>
14 * Purpose: initialize overlib
15 * @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
16 * (Smarty online manual)
21 function smarty_function_popup_init($params, &$smarty)
25 if (!empty($params['zindex'])) {
26 $zindex = $params['zindex'];
29 if (!empty($params['src'])) {
30 return '<div id="overDiv" style="position:absolute; visibility:hidden; z-index:'.$zindex.';"></div>' . "\n"
31 . '<script type="text/javascript" language="JavaScript" src="'.$params['src'].'"></script>' . "\n";
33 $smarty->trigger_error("popup_init: missing src parameter");
37 /* vim: set expandtab: */
This page took 0.29322 seconds and 4 git commands to generate.