* Copyright (C) 2003 Jean-Louis Bergamo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ * $Source$ */ require("./pre.inc.php"); if (!$user->admin) { print "Forbidden"; llxfooter(); exit; } // positionne la variable pour le test d'affichage de l'icone $main_use_mailman = MAIN_USE_MAILMAN; $main_use_glasnost = MAIN_USE_GLASNOST; $main_use_glasnost_auto = MAIN_USE_GLASNOST_AUTO; $main_use_spip = MAIN_USE_SPIP; $main_use_spip_auto = MAIN_USE_SPIP_AUTO; if ($action == 'set') { $sql = "REPLACE INTO llx_const SET name = '$name', value='".$value."', visible=0"; if ($db->query($sql)) { Header("Location: adherent.php"); } } if ($action == 'unset') { $sql = "DELETE FROM llx_const WHERE name = '$name'"; if ($db->query($sql)) { Header("Location: adherent.php"); } } llxHeader(); /* * PDF */ print_titre("Gestion des adhérents : Configurations de parametres"); print ''; print ''; print ''; print ''; print ''; print ''; print ''; print "\n"; print ''; print ''; print ''; print ''; print ''; print '
Modules externes
NomInfoActivé 
MailmanSystème de mailing listes'; print ''; if ($main_use_mailman == 1) { print ''; } else { print " "; } print "\n"; if ($main_use_mailman == 0) { print 'activer'; } else { print 'désactiver'; } print '
GlasnostSystème de vote en ligne'; print ''; if ($main_use_glasnost == 1) { print ''; } else { print " "; } print "\n"; if ($main_use_glasnost == 0) { print 'activer'; } else { print 'désactiver'; } print '
Glasnost AutoInscription automatique dans Glasnost'; print ''; if (MAIN_USE_GLASNOST_AUTO == 1) { print ''; } else { print " "; } print "\n"; if (MAIN_USE_GLASNOST == 0) { print 'activer'; } else { print 'désactiver'; } print '
SpipSystème de publication'; print ''; if ($main_use_spip == 1) { print ''; } else { print " "; } print "\n"; if ($main_use_spip == 0) { print 'activer'; } else { print 'désactiver'; } print '
Spip AutoInscription automatique dans SPIP'; print ''; if ($main_use_spip_auto == 1) { print ''; } else { print " "; } print "\n"; if ($main_use_spip_auto == 0) { print 'activer'; } else { print 'désactiver'; } print '
'; $db->close(); llxFooter(); ?>