[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / zpip_v1 / z_options.php
diff --git a/www/plugins/zpip_v1/z_options.php b/www/plugins/zpip_v1/z_options.php
new file mode 100644 (file)
index 0000000..0a3da6c
--- /dev/null
@@ -0,0 +1,20 @@
+<?php\r
+/*\r
+ * Plugin Zpip\r
+ * (c) 2008-2010 Cedric MORIN Yterium.net\r
+ * Distribue sous licence GPL\r
+ *\r
+ */\r
+if (!defined("_ECRIRE_INC_VERSION")) return;\r
+\r
+if ($z = _request('var_zajax')) {\r
+       if ($z_blocs = isset($GLOBALS['z_blocs'])?$GLOBALS['z_blocs']:array('contenu','navigation','extra','head')\r
+         AND in_array($z,$z_blocs)) {\r
+               $GLOBALS['marqueur'] .= "$z:";\r
+               $GLOBALS['flag_preserver'] = true;\r
+       }\r
+       else\r
+               set_request('var_zajax'); // enlever cette demande incongrue\r
+}\r
+\r
+?>
\ No newline at end of file