X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=smarty%2FSmarty-2.6.10%2Flibs%2Fplugins%2Ffunction.popup_init.php;fp=smarty%2FSmarty-2.6.10%2Flibs%2Fplugins%2Ffunction.popup_init.php;h=f89c21fc23e93810275405d21f05528a17753d7a;hb=b42b2bf946332ad8544d53f610be9cb05e80bf56;hp=0000000000000000000000000000000000000000;hpb=e586807dafc64c3fe152ab518599e6cf3f0f84e1;p=mirrors%2FKyberia-bloodline.git
diff --git a/smarty/Smarty-2.6.10/libs/plugins/function.popup_init.php b/smarty/Smarty-2.6.10/libs/plugins/function.popup_init.php
new file mode 100644
index 0000000..f89c21f
--- /dev/null
+++ b/smarty/Smarty-2.6.10/libs/plugins/function.popup_init.php
@@ -0,0 +1,39 @@
+
+ * Name: popup_init
+ * 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 '