* * 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$ */ /** \file htdocs/telephonie/config/index.php \ingroup telephonie \brief Page configuration telephonie \version $Revision$ */ require("./pre.inc.php"); $langs->load("admin"); if (!$user->admin) accessforbidden(); if ($_GET["action"] == "set") { for ($i = 1 ; $i < 2 ; $i++) { dolibarr_set_const($db, $_POST["nom$i"], $_POST["value$i"], $type='chaine'); } Header("Location: index.php"); } /* * * * */ llxHeader('','Téléphonie - Configuration'); print_titre("Configuration du module de Téléphonie"); print "
"; /* * * */ print_titre("Emails"); print '
'; print ''; print ''; print ''; print ''; print "\n"; print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; print ''; /* ***************************************** */ print ''; print ''; /* ***************************************** */ print ''; print ''; /* ***************************************** */ print '
NomValeur  
'; print 'Marge minimale'; print ''; print ''; print '
'; print 'Compte de ventilation'; print TELEPHONIE_COMPTE_VENTILATION; print '-TELEPHONIE_EMAIL_FACTURATION_EMAIL
'; print 'Email facturation FROM'; print TELEPHONIE_EMAIL_FACTURATION_EMAIL; print '-TELEPHONIE_EMAIL_FACTURATION_EMAIL
'; print 'Email facturation BCC'; print TELEPHONIE_LIGNE_COMMANDE_EMAIL_BCC; print '-TELEPHONIE_LIGNE_COMMANDE_EMAIL_BCC
Module ADSL'; if (TELEPHONIE_MODULE_ADSL == 1) { print 'ouiChanger'; } else { print 'nonChanger'; } print 'TELEPHONIE_MODULE_ADSL
Module SIMULATION'; if (TELEPHONIE_MODULE_SIMULATION == 1) { print 'ouiChanger'; } else { print 'nonChanger'; } print 'TELEPHONIE_MODULE_SIMULATION
Module GROUPES'; if (TELEPHONIE_MODULE_GROUPES == 1) { print 'ouiChanger'; } else { print 'nonChanger'; } print 'TELEPHONIE_MODULE_GROUPES
Module NUMDATA'; if (TELEPHONIE_MODULE_NUMDATA == 1) { print 'ouiChanger'; } else { print 'nonChanger'; } print 'TELEPHONIE_MODULE_NUMDATA
Id Groupes des commerciaux'; print TELEPHONIE_GROUPE_COMMERCIAUX_ID.'-'; print 'TELEPHONIE_GROUPE_COMMERCIAUX_ID
'; print '
'; $db->close(); llxFooter(); ?>