';
if(!($error=="")) {
print( $error );
}
if (isset($updateinfo['error']))
{
$clang->eT('On requesting the update information from limesurvey.org there has been an error:').' ';
}
if (!isset($updateinfo['files']))
{
echo "
".$clang->gT('Update server busy')."
".$clang->gT('The update server is currently busy. This usually happens when the update files for a new version are being prepared.')."
".$clang->gT('Please be patient and try again in about 10 minutes.')."
';
if (count($readonlyfiles)>0)
{ ?>
eT('Warning: The following files/directories need to be updated but their permissions are set to read-only.'); ?>
eT('You must set according write permissions on these filese before you can proceed. If you are unsure what to do please contact your system administrator for advice.'); ?>
0)
{
$clang->eT('The following files would be added by the update but already exist. This is very unusual and may be co-incidental.');?>
eT('We recommend that these files should be replaced by the update procedure.');?>
';
}
if (count($modifiedfiles)>0)
{
$clang->eT('The following files will be modified or deleted but were already modified by someone else.');?>
eT('We recommend that these files should be replaced by the update procedure.');?>
';
}
if (count($readonlyfiles)>0)
{
echo ' '.$clang->gT('When checking your file permissions we found one or more problems. Please check for any error messages above and fix these before you can proceed.');
echo "";
}
else
{
$clang->eT('Please check any problems above and then proceed to the next step.').' ';
echo "";
}
}
echo "