1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00
limesurvey_ynh/sources/application/views/admin/update/step4.php

37 lines
1.2 KiB
PHP

<div class="header ui-widget-header">
<?php echo sprintf($clang->gT('ComfortUpdate step %s'),'4');?>
</div><div class="updater-background"><br />
<?php
if (!isset( Yii::app()->session['updateinfo']))
{
$clang->eT('On requesting the update information from limesurvey.org there has been an error:').'<br />';
if ($updateinfo['error']==1)
{
$clang->eT('Your update key is invalid and was removed. ').'<br />';
}
else
$clang->eT('On requesting the update information from limesurvey.org there has been an error:').'<br />';
}
if ($new_files)
{
$clang->eT('New files were successfully installed.');
}
else
{
$clang->eT('There was a problem downloading the update file. Please try to restart the update process.');
}
?>
<br>
<?php
if (!$downloaderror)
{
echo sprintf($clang->gT('Buildnumber was successfully updated to %s.'),Yii::app()->session['updateinfo']['toversion']).'<br />';
$clang->eT('The update is now complete!'); ?> <br /> <?php
$clang->eT('As a last step you should clear your browser cache now.');?> <br /> <?php
}
echo "<p><button onclick=\"window.open('".Yii::app()->getController()->createUrl("admin/globalsettings")."', '_top')\" >".$clang->gT('Back to main menu'); ?>
</button></p>
</div>