- md5
- 9472b40b07a03cd5d8b47e6c71657be6
- sha1
- 84c9866d60a50ad212f183c450efbdef6a7d41a8
- sha256
- e9f005257e1384730946f4cec1c241d3be021eacb73512ec15d6953681f7e007
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
<?php
/**
* @package Joomla.Administrator
* @subpackage com_joomlaupdate
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
// Include jQuery.
HTMLHelper::_('jquery.framework');
// Load the scripts
HTMLHelper::_('script', 'com_joomlaupdate/encryption.js', array('version' => 'auto', 'relative' => true));
HTMLHelper::_('script', 'com_joomlaupdate/update.js', array('version' => 'auto', 'relative' => true));
$password = Factory::getApplication()->getUserState('com_joomlaupdate.password', null);
$filesize = Factory::getApplication()->getUserState('com_joomlaupdate.filesize', null);
$ajaxUrl = Uri::base() . 'components/com_joomlaupdate/restore.php';
$returnUrl = 'index.php?option=com_joomlaupdate&task=update.finalise&' . Factory::getSession()->getFormToken() . '=1';
HTMLHelper::_('script', 'com_joomlaupdate/admin-update-default.js', ['version' => 'auto', 'relative' => true]);
$this->document->addScriptOptions(
'joomlaupdate',
[
'password' => $password,
'totalsize' => $filesize,
'ajax_url' => $ajaxUrl,
'return_url' => $returnUrl,
]
);
?>
<p class="nowarning"><?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_INPROGRESS'); ?></p>
<div id="update-progress">
<div id="extprogress">
<div id="progress" class="progress">
<div id="progress-bar" class="progress-bar progress-bar-striped progress-bar-animated" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="extprogrow">
<span class="extlabel"><?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_PERCENT'); ?></span>
<span class="extvalue" id="extpercent"></span>
</div>
<div class="extprogrow">
<span class="extlabel"><?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_BYTESREAD'); ?></span>
<span class="extvalue" id="extbytesin"></span>
</div>
<div class="extprogrow">
<span class="extlabel"><?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_BYTESEXTRACTED'); ?></span>
<span class="extvalue" id="extbytesout"></span>
</div>
<div class="extprogrow">
<span class="extlabel"><?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_FILESEXTRACTED'); ?></span>
<span class="extvalue" id="extfiles"></span>
</div>
</div>
</div>
No other release has this exact content. See every version of this file.