[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare - TimeSheet - time tracking for 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 20295 2006-02-15 12:31:25Z $ */ 14 15 include_once ('setup/setup.inc.php'); 16 $ts_version = $setup_info[TIMESHEET_APP]['version']; 17 unset($setup_info); 18 19 $GLOBALS['egw_info'] = array( 20 'flags' => array( 21 'currentapp' => TIMESHEET_APP, 22 'noheader' => True, 23 'nonavbar' => True 24 )); 25 include('../header.inc.php'); 26 27 if ($ts_version != $GLOBALS['egw_info']['apps'][TIMESHEET_APP]['version']) 28 { 29 $GLOBALS['egw']->common->egw_header(); 30 parse_navbar(); 31 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.', 32 $ts_version,$GLOBALS['egw_info']['apps'][TIMESHEET_APP]['version'], 33 '<a href="../setup/">','</a>')."</p>\n"; 34 $GLOBALS['egw']->common->egw_exit(); 35 } 36 37 //ExecMethod(TIMESHEET_APP.'.pm_admin_prefs_sidebox_hooks.check_set_default_prefs'); 38 39 $GLOBALS['egw']->redirect_link('/index.php',array('menuaction'=>TIMESHEET_APP.'.uitimesheet.index'));
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 |