mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
PEAR check: show version again, if available, instead of just "Yes"
This commit is contained in:
parent
a2c60633c6
commit
a025e4f5a5
@ -413,7 +413,8 @@ function pear_check($package,$args)
|
||||
$available = $found && (!$min_version || version_compare($min_version,$version_available) <= 0);
|
||||
echo '<div>'.($available ? $passed_icon : $warning_icon).' <span'.($available ? '' : ' class="setup_warning"').'>'.
|
||||
lang('Checking PEAR%1 is installed',($package?($channel?' '.$channel.'/':'::').$package:'').($min_version?" ($min_version)":'')).': '.
|
||||
($available ? lang('True') : ($found ? lang('Found, but unknown version') : lang('False')))."</span></div>\n";
|
||||
($available ? ($version_available ? $version_available : lang('True')) :
|
||||
($found ? lang('Found, but unknown version') : lang('False')))."</span></div>\n";
|
||||
|
||||
if (!$available) // give further info only if not availible
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user