[PLUGINS] +les plugins de bases
[ptitvelo/web/www.git] / www / plugins / zpip_v1 / z_options.php
1 <?php
2 /*
3 * Plugin Zpip
4 * (c) 2008-2010 Cedric MORIN Yterium.net
5 * Distribue sous licence GPL
6 *
7 */
8 if (!defined("_ECRIRE_INC_VERSION")) return;
9
10 if ($z = _request('var_zajax')) {
11 if ($z_blocs = isset($GLOBALS['z_blocs'])?$GLOBALS['z_blocs']:array('contenu','navigation','extra','head')
12 AND in_array($z,$z_blocs)) {
13 $GLOBALS['marqueur'] .= "$z:";
14 $GLOBALS['flag_preserver'] = true;
15 }
16 else
17 set_request('var_zajax'); // enlever cette demande incongrue
18 }
19
20 ?>