From 522863549c9ae2df1e8f9deb1501e6476394f907 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 27 Mar 2010 15:24:59 +0000 Subject: [PATCH] New: Add module externalsite --- htdocs/externalsite/frames.php | 69 ++++++++++++++++++++++++++++++++ htdocs/externalsite/frametop.php | 40 ++++++++++++++++++ htdocs/externalsite/index.php | 0 3 files changed, 109 insertions(+) create mode 100644 htdocs/externalsite/frames.php create mode 100644 htdocs/externalsite/frametop.php create mode 100644 htdocs/externalsite/index.php diff --git a/htdocs/externalsite/frames.php b/htdocs/externalsite/frames.php new file mode 100644 index 00000000000..3c17d25e280 --- /dev/null +++ b/htdocs/externalsite/frames.php @@ -0,0 +1,69 @@ + + * + * 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/frames/frames.php + \ingroup externalsite + \brief Page that build two frames: One for menu, the other for the target page to show + \author Laurent Destailleur + \version $Revision$ +*/ + +require("./pre.inc.php"); + +if (empty($conf->global->PHPMANTIS_URL)) +{ + llxHeader(); + print '
Module Mantis was not configured properly.
'; + llxFooter('$Date$ - $Revision$'); +} + +$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:""; +$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:""; + +print " + + +Dolibarr frame for Mantis + + + + + global->PHPMANTIS_URL."\"> + + <body> + + </body> + + + + +<body> + <br><center> + Malheureusement, votre navigateur est trop vieux pour visualiser cette zone.<br> + Il vous faut un navigateur g�rant les frames.<br> + </center> +</body> + + + +"; + + +?> diff --git a/htdocs/externalsite/frametop.php b/htdocs/externalsite/frametop.php new file mode 100644 index 00000000000..aad9ef55e72 --- /dev/null +++ b/htdocs/externalsite/frametop.php @@ -0,0 +1,40 @@ + + * + * 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/mantistop.php + \ingroup externalsite + \brief Top frame to show mantis application + \version $Id$ +*/ + +require ("../main.inc.php"); + +top_menu("","","_top"); + +?> + + + + + + + + + + diff --git a/htdocs/externalsite/index.php b/htdocs/externalsite/index.php new file mode 100644 index 00000000000..e69de29bb2d