From 15d361324b140ddc4638d7ae1675bf5c9ca5d182 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 3 Dec 2004 11:04:40 +0000 Subject: [PATCH] Nouveau fichier & Copyright --- htdocs/telephonie/config/index.php | 81 ++++++++++++++++++++++++++++ htdocs/telephonie/config/pre.inc.php | 58 ++++++++++++++++++++ 2 files changed, 139 insertions(+) create mode 100644 htdocs/telephonie/config/index.php create mode 100644 htdocs/telephonie/config/pre.inc.php diff --git a/htdocs/telephonie/config/index.php b/htdocs/telephonie/config/index.php new file mode 100644 index 00000000000..2ae97bff340 --- /dev/null +++ b/htdocs/telephonie/config/index.php @@ -0,0 +1,81 @@ + + * + * 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/admin/propale.php + \ingroup propale + \brief Page d'administration/configuration du module Propale + \version $Revision$ +*/ + +require("./pre.inc.php"); + +$langs->load("admin"); + +if (!$user->admin) + accessforbidden(); + +/* + * + * + * + */ +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 '
NomValeur 
'; +print 'Nombre de ligne produits'; +print ''; + +print '
'; +print 'Email facturation'; +print TELEPHONIE_EMAIL_FACTURATION_EMAIL; +print '
'; +print 'Email facturation'; +print TELEPHONIE_LIGNE_COMMANDE_EMAIL_BCC; +print '
'; + + +$db->close(); + +llxFooter(); +?> diff --git a/htdocs/telephonie/config/pre.inc.php b/htdocs/telephonie/config/pre.inc.php new file mode 100644 index 00000000000..39eeb83569a --- /dev/null +++ b/htdocs/telephonie/config/pre.inc.php @@ -0,0 +1,58 @@ + + * + * 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("../../main.inc.php"); +require(DOL_DOCUMENT_ROOT."/telephonie/lignetel.class.php"); +$user->getrights('telephonie'); + +function llxHeader($head = "", $title="") { + global $user, $conf; + + /* + * + * + */ + top_menu($head, $title); + + $menu = new Menu(); + + $menu->add(DOL_URL_ROOT."/telephonie/index.php", "Telephonie"); + + $menu->add(DOL_URL_ROOT."/telephonie/simulation/fiche.php", "Simulation"); + + $menu->add(DOL_URL_ROOT."/telephonie/tarifs/liste.php", "Tarifs"); + + $menu->add(DOL_URL_ROOT."/telephonie/ligne/index.php", "Lignes"); + + $menu->add(DOL_URL_ROOT."/telephonie/ligne/commande/", "Commande"); + + $menu->add(DOL_URL_ROOT."/telephonie/facture/liste.php", "Factures"); + + $menu->add(DOL_URL_ROOT."/telephonie/fournisseurs.php", "Fournisseurs"); + + $menu->add(DOL_URL_ROOT."/telephonie/config/", "Configuration"); + + $menu->add_submenu(DOL_URL_ROOT."/telephonie/config/concurrents/liste.php", "Concurrents"); + + left_menu($menu->liste); +} + +?>