dépôts
/
garradin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout du support des écritures ventilées.
[garradin.git]
/
www
/
admin
/
config
/
membres.php
diff --git
a/www/admin/config/membres.php
b/www/admin/config/membres.php
index
b0d8653
..
a761d8a
100644
(file)
--- a/
www/admin/config/membres.php
+++ b/
www/admin/config/membres.php
@@
-25,6
+25,8
@@
if (isset($_GET['ok']))
$error = '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'))
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('error', $error);
+$tpl->assign('debug', $debug);
$tpl->assign('review', isset($_GET['review']) ? true : false);
$types = $champs->getTypes();
$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');
$tpl->display('admin/config/membres.tpl');
-?>
\ No newline at end of file
+?>