Accueil/ajax/post-config.php

14 lines
364 B
PHP
Raw Normal View History

<?
$options = array();
$module ='';
include '../class/AccueilModules.php';
foreach($_POST as $module => $valeur){
$moduleToUpdate = AccueilModules::getModule($module);
if($moduleToUpdate != null){
$moduleToUpdate->updateConfig(array('visibility'=>$valeur));
}
//AccueilModules::updateModule($module, array('visibility'=>$valeur));
}
echo "1"
2010-09-14 23:38:29 +02:00
?>