Remove pre.inc.php on module directories.

This commit is contained in:
Laurent Destailleur 2010-02-28 15:33:31 +00:00
parent 9da8724714
commit de1d313148
6 changed files with 4 additions and 88 deletions

View File

@ -24,7 +24,7 @@
* \version $Id$
*/
require_once("./pre.inc.php");
require_once("../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
require_once(DOL_DOCUMENT_ROOT."/html.formother.class.php");
require_once(DOL_DOCUMENT_ROOT."/exports/export.class.php");

View File

@ -23,7 +23,7 @@
* \version $Id$
*/
require_once("./pre.inc.php");
require_once("../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/exports/export.class.php");
$langs->load("exports");

View File

@ -1,42 +0,0 @@
<?php
/* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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.
*/
/**
* \file htdocs/exports/pre.inc.php
* \ingroup export
* \brief Fichier de gestion du menu gauche de l'espace exports
* \version $Id$
*/
require("../main.inc.php");
function llxHeader($head = '', $title='', $help_url='')
{
global $user, $conf, $langs;
top_menu($head, $title);
$menu = new Menu();
$menu->add(DOL_URL_ROOT."/exports/index.php", $langs->trans("Exports"));
$menu->add_submenu(DOL_URL_ROOT."/exports/export.php", $langs->trans("NewExport"));
left_menu($menu->liste, $help_url);
}
?>

View File

@ -24,7 +24,7 @@
* \version $Id$
*/
require_once("./pre.inc.php");
require_once("../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
require_once(DOL_DOCUMENT_ROOT."/html.formother.class.php");
require_once(DOL_DOCUMENT_ROOT."/imports/import.class.php");

View File

@ -23,7 +23,7 @@
* \version $Id$
*/
require_once("./pre.inc.php");
require_once("../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/imports/import.class.php");
$langs->load("exports");

View File

@ -1,42 +0,0 @@
<?php
/* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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.
*/
/**
* \file htdocs/imports/pre.inc.php
* \ingroup import
* \brief Fichier de gestion du menu gauche de l'espace exports
* \version $Id$
*/
require("../main.inc.php");
function llxHeader($head = '', $title='', $help_url='')
{
global $user, $conf, $langs;
top_menu($head, $title);
$menu = new Menu();
$menu->add(DOL_URL_ROOT."/imports/index.php", $langs->trans("Imports"));
$menu->add_submenu(DOL_URL_ROOT."/imports/import.php", $langs->trans("NewImport"));
left_menu($menu->liste, $help_url);
}
?>