mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
using framework::render()
This commit is contained in:
parent
ac04409df7
commit
0092208ab2
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* InfoLog
|
* eGroupWare - InfoLog
|
||||||
*
|
*
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @package infolog
|
* @package infolog
|
||||||
* @copyright (c) 2003-6 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @copyright (c) 2003-8 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
@ -22,15 +22,11 @@ include('../header.inc.php');
|
|||||||
include_once(EGW_INCLUDE_ROOT.'/infolog/setup/setup.inc.php');
|
include_once(EGW_INCLUDE_ROOT.'/infolog/setup/setup.inc.php');
|
||||||
if ($setup_info['infolog']['version'] != $GLOBALS['egw_info']['apps']['infolog']['version'])
|
if ($setup_info['infolog']['version'] != $GLOBALS['egw_info']['apps']['infolog']['version'])
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->common->egw_header();
|
$GLOBALS['egw']->framework->render('<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.',
|
||||||
parse_navbar();
|
|
||||||
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.',
|
|
||||||
$setup_info['infolog']['version'],$GLOBALS['egw_info']['apps']['infolog']['version'],
|
$setup_info['infolog']['version'],$GLOBALS['egw_info']['apps']['infolog']['version'],
|
||||||
'<a href="../setup/">','</a>')."</p>\n";
|
'<a href="../setup/">','</a>')."</p>\n");
|
||||||
$GLOBALS['egw']->common->egw_exit();
|
$GLOBALS['egw']->common->egw_exit();
|
||||||
}
|
}
|
||||||
unset($setup_info);
|
unset($setup_info);
|
||||||
|
|
||||||
ExecMethod('infolog.uiinfolog.index','reset_action_view');
|
ExecMethod('infolog.uiinfolog.index','reset_action_view');
|
||||||
|
|
||||||
$GLOBALS['egw']->common->egw_exit();
|
|
||||||
|
Loading…
Reference in New Issue
Block a user