- md5
- 2b7723fd8a133dba73c8e0db45b9407d
- sha1
- c980388649f8766900eaab0d48fe5e15bac524d1
- sha256
- 5ba303b79d0c8b49d9c181d5532db5a3282a6776233d6de7f2aec4c827363658
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]);
Factory::getDocument()->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>
The same content is in 5 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha11. See them all, or every version of this file.