[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: setup applications.php,1.11,1.12
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: setup applications.php,1.11,1.12 |
Date: |
Sun, 13 Jan 2002 14:52:50 -0500 |
Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv32437/setup
Modified Files:
applications.php
Log Message:
Upgrade API version to 0.9.15.001, add post-install dependency failure
test to detection class and applications.php
Index: applications.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/applications.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** applications.php 7 Jan 2002 10:50:42 -0000 1.11
--- applications.php 13 Jan 2002 19:52:47 -0000 1.12
***************
*** 264,270 ****
$setup_tpl->set_var('description',lang('Problem resolution').
':');
$setup_tpl->pparse('out','header');
! if ($badinstall)
{
! echo $setup_info[$resolve]['title'] . ' ' . lang('is
broken') . ' ';
echo lang('because of a failed upgrade or install') .
'.';
echo '<br>';
--- 264,280 ----
$setup_tpl->set_var('description',lang('Problem resolution').
':');
$setup_tpl->pparse('out','header');
!
! if($HTTP_GET_VARS['post'])
! {
! echo '"' . $setup_info[$resolve]['title'] . '" ' .
lang('may be broken') . ' ';
! echo lang('because an application it depends upon was
upgraded');
! echo '<br>';
! echo lang('to a version it does not know about') . '.';
! echo '<br>';
! echo lang('However, the application may still work') .
'.';
! }
! elseif ($HTTP_GET_VARS['badinstall'])
{
! echo '"' . $setup_info[$resolve]['title'] . '" ' .
lang('is broken') . ' ';
echo lang('because of a failed upgrade or install') .
'.';
echo '<br>';
***************
*** 277,285 ****
if($setup_info[$resolve]['enabled'])
{
! echo $setup_info[$resolve]['title'] . ' ' .
lang('is broken') . ' ';
}
else
{
! echo $setup_info[$resolve]['title'] . ' ' .
lang('is disabled') . ' ';
}
--- 287,295 ----
if($setup_info[$resolve]['enabled'])
{
! echo '"' . $setup_info[$resolve]['title'] . '"
' . lang('is broken') . ' ';
}
else
{
! echo '"' . $setup_info[$resolve]['title'] . '"
' . lang('is disabled') . ' ';
}
***************
*** 464,467 ****
--- 474,489 ----
$setup_tpl->set_var('resolution','<a href="applications.php?resolve=' .
$value['name'] . '">' . lang('Possible Solutions') . '</a>');
$status = lang('Dependency
Failure') . ':' . $depstring . $value['status'];
+ break;
+ case 'P':
+
$setup_tpl->set_var('bg_color','FFCCFF');
+ $depstring =
parsedep($value['depends']);
+ $depstring .= ')';
+
$setup_tpl->set_var('instimg','dep.gif');
+
$setup_tpl->set_var('instalt',lang('Post-install Dependency Failure'));
+
$setup_tpl->set_var('install',' ');
+
$setup_tpl->set_var('remove',' ');
+
$setup_tpl->set_var('upgrade',' ');
+
$setup_tpl->set_var('resolution','<a href="applications.php?resolve=' .
$value['name'] . '&post=True">' . lang('Possible Solutions') . '</a>');
+ $status = lang('Post-install
Dependency Failure') . ':' . $depstring . $value['status'];
break;
default:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: setup applications.php,1.11,1.12,
Miles Lott <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpwebhosting/setup default_records.inc.php,1.7,1.8
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37,1.38 tables_update.inc.php,1.53,1.54
- Previous by thread:
[Phpgroupware-cvs] CVS: phpwebhosting/setup default_records.inc.php,1.7,1.8
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37,1.38 tables_update.inc.php,1.53,1.54
- Index(es):