Ajout du support des écritures ventilées.
[garradin.git] / www / admin / config / membres.php
index b0d8653..a761d8a 100644 (file)
@@ -25,6 +25,8 @@ if (isset($_GET['ok']))
     $error = 'OK';
 }
 
+$debug = "_POST=".print_r($_POST, true);
+
 if (!empty($_POST['save']) || !empty($_POST['add']) || !empty($_POST['review']) || !empty($_POST['reset']))
 {
     if (!utils::CSRF_check('config_membres'))
@@ -121,6 +123,7 @@ if (!empty($_POST['save']) || !empty($_POST['add']) || !empty($_POST['review'])
 }
 
 $tpl->assign('error', $error);
+$tpl->assign('debug', $debug);
 $tpl->assign('review', isset($_GET['review']) ? true : false);
 
 $types = $champs->getTypes();
@@ -139,4 +142,4 @@ $tpl->assign('csrf_value', utils::CSRF_create('config_membres'));
 
 $tpl->display('admin/config/membres.tpl');
 
-?>
\ No newline at end of file
+?>