[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/infolog/ -> index.php (source)

   1  <?php
   2  /**************************************************************************\
   3  * eGroupWare - Info Log                                                    *
   4  * http://www.egroupware.org                                                *
   5  * Written by Ralf Becker <RalfBecker@outdoor-training.de>                  *
   6  * originaly based on todo written by Joseph Engo <jengo@phpgroupware.org>  *
   7  * --------------------------------------------                             *
   8  *  This program is free software; you can redistribute it and/or modify it *
   9  *  under the terms of the GNU General Public License as published by the   *
  10  *  Free Software Foundation; either version 2 of the License, or (at your  *
  11  *  option) any later version.                                              *
  12  \**************************************************************************/
  13  
  14  /* $Id: index.php 20956 2006-04-05 16:19:24Z ralfbecker $ */
  15  
  16  $GLOBALS['egw_info']['flags'] = array(
  17      'currentapp'    => 'infolog', 
  18      'noheader'        => True,
  19      'nonavbar'        => True
  20  );
  21  include('../header.inc.php');
  22  
  23  include_once (EGW_INCLUDE_ROOT.'/infolog/setup/setup.inc.php');
  24  if ($setup_info['infolog']['version'] != $GLOBALS['egw_info']['apps']['infolog']['version'])
  25  {
  26      $GLOBALS['egw']->common->egw_header();
  27      parse_navbar();
  28      echo '<p style="text-align: center; color:red; font-weight: bold;">'.lang('Your database is NOT up to date (%1 vs. %2), please run %3setup%4 to update your database.',
  29          $setup_info['infolog']['version'],$GLOBALS['egw_info']['apps']['infolog']['version'],
  30          '<a href="../setup/">','</a>')."</p>\n";
  31      $GLOBALS['egw']->common->egw_exit();
  32  }
  33  unset($setup_info);
  34  
  35  ExecMethod('infolog.uiinfolog.index','reset_action_view');
  36  
  37  $GLOBALS['egw']->common->egw_exit();
  38  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7