[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/projet/ -> webcal.php (source)

   1  <?php
   2  /* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
   3   *
   4   * This program is free software; you can redistribute it and/or modify
   5   * it under the terms of the GNU General Public License as published by
   6   * the Free Software Foundation; either version 2 of the License, or
   7   * (at your option) any later version.
   8   *
   9   * This program is distributed in the hope that it will be useful,
  10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12   * GNU General Public License for more details.
  13   *
  14   * You should have received a copy of the GNU General Public License
  15   * along with this program; if not, write to the Free Software
  16   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17   *
  18   * $Id: webcal.php,v 1.5 2005/01/23 18:22:06 eldy Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/projet/webcal.php,v $
  20   *
  21   */
  22  
  23  /**        \file       htdocs/projet/webcal.php
  24          \ingroup    webcalendar
  25          \brief      Page générant 2 frames, une pour le menu Dolibarr, l'autre pour l'affichage du calendrier
  26          \author        Laurent Destailleur
  27          \version    $Revision: 1.5 $
  28  */
  29  
  30  require ("./pre.inc.php");
  31  
  32  $url=PHPWEBCALENDAR_URL;
  33  $mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
  34  $leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
  35  
  36  print "
  37  <html>
  38  <head>
  39  <title>Dolibarr frame for Webcalendar</title>
  40  </head>
  41  
  42  <frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
  43      <frame name=\"barre\" src=\"webcaltop.php?mainmenu=$mainmenu&leftmenu=$leftmenu\" noresize scrolling=\"NO\" noborder>
  44      <frame name=\"main\" src=\"$url\">
  45      <noframes>
  46      <body>
  47  
  48      </body>
  49      </noframes>
  50  </frameset>
  51  
  52  <noframes>
  53  <body>
  54      <br><center>
  55      Malheureusement, votre navigateur est trop vieux pour visualiser cette zone.<br>
  56      Il vous faut un navigateur gérant les frames.<br>
  57      </center>
  58  </body>
  59  </noframes>
  60  
  61  </html>
  62  ";
  63  
  64  
  65  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics