[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare - ProjectManager * 4 * http://www.egroupware.org * 5 * Written and (c) 2005 by Ralf Becker <RalfBecker@outdoor-training.de> * 6 * -------------------------------------------- * 7 * This program is free software; you can redistribute it and/or modify it * 8 * under the terms of the GNU General Public License as published by the * 9 * Free Software Foundation; either version 2 of the License, or (at your * 10 * option) any later version. * 11 \**************************************************************************/ 12 13 /* $Id: index.php 19277 2005-10-01 20:44:40Z ralfbecker $ */ 14 15 $GLOBALS['egw_info'] = array( 16 'flags' => array( 17 'currentapp' => 'projectmanager', 18 'noheader' => True, 19 'nonavbar' => True 20 )); 21 include('../header.inc.php'); 22 23 include_once (EGW_INCLUDE_ROOT.'/projectmanager/setup/setup.inc.php'); 24 if ($setup_info['projectmanager']['version'] != $GLOBALS['egw_info']['apps']['projectmanager']['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['projectmanager']['version'],$GLOBALS['egw_info']['apps']['projectmanager']['version'], 30 '<a href="../setup/">','</a>')."</p>\n"; 31 $GLOBALS['egw']->common->egw_exit(); 32 } 33 unset($setup_info); 34 35 ExecMethod('projectmanager.pm_admin_prefs_sidebox_hooks.check_set_default_prefs'); 36 37 $pm_id = $GLOBALS['egw']->session->appsession('pm_id','projectmanager'); 38 39 $GLOBALS['egw']->redirect_link('/index.php',array( 40 'menuaction' => $pm_id ? 'projectmanager.uiprojectelements.index' : 'projectmanager.uiprojectmanager.index', 41 )); 42 $GLOBALS['egw']->common->egw_exit();
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |