"); $_SESSION["pageaide"]="Gestion_des_clients_windows#Description_du_processus_de_configuration_du_registre_Windows"; require "include.inc.php"; $cle=$_GET['cle']; $template=$_GET['template']; $state=$_GET['state']; $value=$_GET['value']; $choix=$_GET['choix']; $antidote=$_GET['antidote']; $checkedA=""; $checkedI=""; $checkedD=""; connexion(); echo "".gettext("Edition d'une restriction").""; if ($choix != "") { $deleteSQL = "delete from restrictions where cleID='$cle' and groupe='$template'"; if ($choix == "Active") { $addSQL = "Insert into restrictions values ('', '$cle', '$template', '$value', '0')"; mysql_query($deleteSQL); mysql_query($addSQL); } else if ($choix == "Inactive") { $addSQL = "Insert into restrictions values ('', '$cle', '$template', '$antidote')"; mysql_query($deleteSQL); mysql_query($addSQL); } else { mysql_query($deleteSQL); } ?> \n"; echo "
\n"; echo "
\n"; if ($row[1] != "config") echo "
\n"; // echo "
"; if ($row[1] == "config") echo "
Valeur:
"; else echo ""; echo ""; echo ""; echo ""; } mysql_close(); include("pdp.inc.php"); ?>