Début ajout module "Phenix"
This commit is contained in:
parent
079ebdca7b
commit
f977238e66
64
htdocs/phenix/phenix.php
Normal file
64
htdocs/phenix/phenix.php
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
<?php
|
||||||
|
/* Copyright (C) 2004-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.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
* $Source$
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** \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
|
||||||
|
\author Laurent Destailleur
|
||||||
|
\version $Revision$
|
||||||
|
*/
|
||||||
|
|
||||||
|
require("./pre.inc.php");
|
||||||
|
|
||||||
|
$url=PHPPHENIX_URL;
|
||||||
|
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
||||||
|
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
||||||
|
|
||||||
|
print "
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Dolibarr frame for Phenix</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
||||||
|
<frame name=\"barre\" src=\"phenixtop.php?mainmenu=$mainmenu&leftmenu=$leftmenu\" noresize scrolling=\"NO\" noborder>
|
||||||
|
<frame name=\"main\" src=\"$url\">
|
||||||
|
<noframes>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</noframes>
|
||||||
|
</frameset>
|
||||||
|
|
||||||
|
<noframes>
|
||||||
|
<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>
|
||||||
|
</noframes>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
";
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
44
htdocs/phenix/phenixtop.php
Normal file
44
htdocs/phenix/phenixtop.php
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
*
|
||||||
|
* 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$
|
||||||
|
* $Source$
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
\file htdocs/phenix/phenixtop.php
|
||||||
|
\ingroup phenix
|
||||||
|
\brief Frame du haut Dolibarr pour l'affichage du calendrier
|
||||||
|
\author Laurent Destailleur
|
||||||
|
\version $Revision$
|
||||||
|
*/
|
||||||
|
|
||||||
|
require ("../main.inc.php");
|
||||||
|
|
||||||
|
top_menu("","","_top");
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
45
htdocs/phenix/pre.inc.php
Normal file
45
htdocs/phenix/pre.inc.php
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
<?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.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
* $Source$
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
\file htdocs/phenix/pre.inc.php
|
||||||
|
\ingroup phenix
|
||||||
|
\brief Fichier de gestion du menu gauche du module phenix
|
||||||
|
\version $Revision$
|
||||||
|
*/
|
||||||
|
|
||||||
|
require ("../main.inc.php");
|
||||||
|
|
||||||
|
$user->getrights('phenix');
|
||||||
|
|
||||||
|
function llxHeader($head = "", $title="", $help_url='')
|
||||||
|
{
|
||||||
|
global $langs;
|
||||||
|
|
||||||
|
top_menu($head, $title);
|
||||||
|
|
||||||
|
$menu = new Menu();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
left_menu($menu->liste, $help_url);
|
||||||
|
}
|
||||||
|
?>
|
||||||
Loading…
Reference in New Issue
Block a user