2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/mantis/mantis.php
cdelambert 418fb63fa3 improves the simplified payment
MAIN_JS_ON_PAYMENT must be set
2011-07-27 08:00:45 +00:00

70 lines
2.0 KiB
PHP

<?php
/* Copyright (C) 2004-2007 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, see <http://www.gnu.org/licenses/>.
*
* $Id: mantis.php,v 1.8 2011/07/31 23:24:38 eldy Exp $
*/
/** \file htdocs/mantis/mantis.php
\ingroup mantis
\brief Page generant 2 frames, une pour le menu Dolibarr, l'autre pour l'affichage de Mantis
\author Laurent Destailleur
\version $Revision: 1.8 $
*/
require("../main.inc.php");
if (empty($conf->global->PHPMANTIS_URL))
{
llxHeader();
print '<div class="error">Module Mantis was not configured properly.</div>';
llxFooter('$Date: 2011/07/31 23:24:38 $ - $Revision: 1.8 $');
}
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
$idmenu=isset($_GET["idmenu"])?$_GET["idmenu"]:"";
print "
<html>
<head>
<title>Dolibarr frame for Mantis</title>
</head>
<frameset rows=\"".$heightforframes.",*\" border=0 framespacing=0 frameborder=0>
<frame name=\"barre\" src=\"mantistop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."&idmenu=".$idmenu."&nobackground=1\" noresize scrolling=\"NO\" noborder>
<frame name=\"main\" src=\"".$conf->global->PHPMANTIS_URL."\">
<noframes>
<body>
</body>
</noframes>
</frameset>
<noframes>
<body>
<br><center>
Sorry, your browser is too old or not correctly configured to view this area.<br>
Your browser must support frames.<br>
</center>
</body>
</noframes>
</html>
";
?>