diff --git a/htdocs/compta/charges/pre.inc.php b/htdocs/compta/charges/pre.inc.php deleted file mode 100644 index f40f0f90015..00000000000 --- a/htdocs/compta/charges/pre.inc.php +++ /dev/null @@ -1,48 +0,0 @@ - - * Copyright (C) 2005 Laurent Destailleur - * - * 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$ - */ - -/** - \file htdocs/compta/charges/pre.inc.php - \ingroup tax - \brief Fichier gestionnaire du menu charges -*/ - -require("../../main.inc.php"); - - -function llxHeader($head = '', $title='', $help_url='') -{ - global $user, $conf, $langs; - $langs->load("compta"); - $langs->load("propal"); - - top_menu($head, $title, $target); - - $menu = new Menu(); - - $menu->add("index.php",$langs->trans("Contributions")); - - $menu->add_submenu(DOL_URL_ROOT."/compta/sociales/index.php",$langs->trans("SocialContributions")); - - left_menu($menu->liste); -} - -?> diff --git a/htdocs/externalsite/frames.php b/htdocs/externalsite/frames.php index 3c17d25e280..6ab838f7227 100644 --- a/htdocs/externalsite/frames.php +++ b/htdocs/externalsite/frames.php @@ -25,7 +25,7 @@ \version $Revision$ */ -require("./pre.inc.php"); +require("../main.inc.php"); if (empty($conf->global->PHPMANTIS_URL)) {