diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-29 12:10:12 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-29 12:10:12 +0000 |
| commit | 96d2531821c13a5962b09a5b130d93c8d8b8a987 (patch) | |
| tree | e257a4b90d1aadbfaec3763eefa1bf58dcab2af6 /wp-inst/wp-content/smarty-plugins/function.popup_init.php | |
| parent | 04d51d5f3493a358f75449ac08425310978e5b24 (diff) | |
Removed Smarty stuff
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@249 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-content/smarty-plugins/function.popup_init.php')
| -rw-r--r-- | wp-inst/wp-content/smarty-plugins/function.popup_init.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/wp-inst/wp-content/smarty-plugins/function.popup_init.php b/wp-inst/wp-content/smarty-plugins/function.popup_init.php deleted file mode 100644 index f62c33c..0000000 --- a/wp-inst/wp-content/smarty-plugins/function.popup_init.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php -/** - * Smarty plugin - * @package Smarty - * @subpackage plugins - */ - - -/** - * Smarty {popup_init} function plugin - * - * Type: function<br> - * Name: popup_init<br> - * Purpose: initialize overlib - * @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init} - * (Smarty online manual) - * @param array - * @param Smarty - * @return string - */ -function smarty_function_popup_init($params, &$smarty) -{ - $zindex = 1000; - - if (!empty($params['zindex'])) { - $zindex = $params['zindex']; - } - - if (!empty($params['src'])) { - return '<div id="overDiv" style="position:absolute; visibility:hidden; z-index:'.$zindex.';"></div>' . "\n" - . '<script type="text/javascript" language="JavaScript" src="'.$params['src'].'"></script>' . "\n"; - } else { - $smarty->trigger_error("popup_init: missing src parameter"); - } -} - -/* vim: set expandtab: */ - -?> |
