X-Git-Url: http://git.cyclocoop.org/?p=garradin.git;a=blobdiff_plain;f=www%2Fadmin%2Fconfig%2Fmembres.php;fp=www%2Fadmin%2Fconfig%2Fmembres.php;h=a761d8afc4e6edd552969e624dcdcb9438c60e56;hp=b0d86531a08ad5880030b43c9734fb2989774e79;hb=f7ee0ae730f47bfef173c394fa4db71a22dece61;hpb=1ab3343a95ed3ef4958d91dfbf49372dce8a092e diff --git a/www/admin/config/membres.php b/www/admin/config/membres.php index b0d8653..a761d8a 100644 --- a/www/admin/config/membres.php +++ b/www/admin/config/membres.php @@ -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 +?>