X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fsmarty%2Flibs%2Fplugins%2Ffunction.popup_init.php;fp=wwwroot%2Fsmarty%2Flibs%2Fplugins%2Ffunction.popup_init.php;h=f89c21fc23e93810275405d21f05528a17753d7a;hb=e034221efbc7970ec58be22d7517fd3c503dc903;hp=0000000000000000000000000000000000000000;hpb=c6f21b69e8210bdd0e80cf87f1c2f06dfc848a75;p=mirrors%2FKyberia-bloodline.git
diff --git a/wwwroot/smarty/libs/plugins/function.popup_init.php b/wwwroot/smarty/libs/plugins/function.popup_init.php
new file mode 100644
index 0000000..f89c21f
--- /dev/null
+++ b/wwwroot/smarty/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 '