Remove pre.inc.php

This commit is contained in:
Laurent Destailleur 2010-03-27 15:24:22 +00:00
parent e4c2d9cd1f
commit dc7e368736
5 changed files with 11 additions and 92 deletions

View File

@ -20,12 +20,12 @@
/** \file htdocs/mantis/mantis.php
\ingroup mantis
\brief Page générant 2 frames, une pour le menu Dolibarr, l'autre pour l'affichage de Mantis
\brief Page generant 2 frames, une pour le menu Dolibarr, l'autre pour l'affichage de Mantis
\author Laurent Destailleur
\version $Revision$
*/
require("./pre.inc.php");
require("../main.inc.php");
if (empty($conf->global->PHPMANTIS_URL))
{
@ -57,7 +57,7 @@ print "
<body>
<br><center>
Malheureusement, votre navigateur est trop vieux pour visualiser cette zone.<br>
Il vous faut un navigateur gérant les frames.<br>
Il vous faut un navigateur g<EFBFBD>rant les frames.<br>
</center>
</body>
</noframes>

View File

@ -1,37 +0,0 @@
<?php
/* Copyright (C) 2006 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/mantis/pre.inc.php
\ingroup mantis
\brief Fichier de gestion du menu gauche du module mantis
\version $Id$
*/
require ("../main.inc.php");
function llxHeader($head = '', $title='', $help_url='')
{
global $langs;
top_menu($head, $title);
$menu = new Menu();
left_menu($menu->liste, $help_url);
}
?>

View File

@ -18,13 +18,13 @@
*/
/**
\file htdocs/oscommerce_ws/index.php
\ingroup oscommerce2
\brief Page accueil zone boutique
\version $Id$
* \file htdocs/oscommerce_ws/index.php
* \ingroup oscommerce2
* \brief Page accueil zone boutique
* \version $Id$
*/
require("./pre.inc.php");
require("./pre.inc.php"); // Use pre.inc.php as menus not defined in module
$langs->load("shop");
$langs->load("orders");
@ -45,9 +45,6 @@ print '<table width="100%" class="notopnoleftnoright">';
print '<tr><td valign="top" width="40%" class="notopnoleft">';
// initialisation des webservices
set_magic_quotes_runtime(0);
//WebService Client.
require_once(NUSOAP_PATH."nusoap.php");
require_once("./includes/configure.php");

View File

@ -18,12 +18,12 @@
/** \file htdocs/phenix/phenix.php
\ingroup phenix
\brief Page générant 2 frames, une pour le menu Dolibarr, l'autre pour l'affichage du calendrier
\brief Page generant 2 frames, une pour le menu Dolibarr, l'autre pour l'affichage du calendrier
\author Laurent Destailleur
\version $Id$
*/
require("./pre.inc.php");
require("../main.inc.php");
if (empty($conf->global->PHPPHENIX_URL))
{
@ -55,7 +55,7 @@ print "
<body>
<br><center>
Malheureusement, votre navigateur est trop vieux pour visualiser cette zone.<br>
Il vous faut un navigateur gérant les frames.<br>
Il vous faut un navigateur g<EFBFBD>rant les frames.<br>
</center>
</body>
</noframes>

View File

@ -1,41 +0,0 @@
<?php
/* Copyright (C) 2006 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/phenix/pre.inc.php
\ingroup phenix
\brief Fichier de gestion du menu gauche du module phenix
\version $Id$
*/
require ("../main.inc.php");
function llxHeader($head = '', $title='', $help_url='')
{
global $langs;
top_menu($head, $title);
$menu = new Menu();
left_menu($menu->liste, $help_url);
}
?>