first commit

This commit is contained in:
2026-02-08 21:16:11 +01:00
commit e17b7026fd
8881 changed files with 1160453 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
use Joomla\CMS\Language\Text;
?>
<form action="index.php?option=com_akeebabackup&view=Upload&task=upload&tmpl=component"
method="post" name="akeebauploadform">
<input type="hidden" name="id" value="<?= (int) $this->id ?>" />
<input type="hidden" name="part" value="-1" />
<input type="hidden" name="frag" value="-1" />
</form>
<div class="alert alert-info">
<?= Text::_('COM_AKEEBABACKUP_TRANSFER_MSG_START') ?>
</div>

View File

@@ -0,0 +1,16 @@
<?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
use Joomla\CMS\Language\Text;
?>
<div class="alert alert-success" id="comAkeebaUploadDone">
<?= Text::_('COM_AKEEBABACKUP_TRANSFER_MSG_DONE') ?>
</div>

View File

@@ -0,0 +1,33 @@
<?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
use Akeeba\Component\AkeebaBackup\Administrator\View\Upload\HtmlView;
use Joomla\CMS\Language\Text;
/** @var HtmlView $this */
$errorParts = explode("\n", $this->errorMessage, 2);
?>
<div class="alert alert-danger">
<?php if (!empty($this->errorMessage)): ?>
<h3 class="alert-heading">
<?= Text::_('COM_AKEEBABACKUP_TRANSFER_MSG_FAILED') ?>
</h3>
<p>
<?= $errorParts[0] ?>
</p>
<?php if(isset($errorParts[1])): ?>
<pre><?= $errorParts[1] ?></pre>
<?php endif ?>
<?php else: ?>
<?= Text::_('COM_AKEEBABACKUP_TRANSFER_MSG_FAILED') ?>
<?php endif; ?>
</div>

View File

@@ -0,0 +1,27 @@
<?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
use Joomla\CMS\Language\Text;
?>
<form action="index.php?option=com_akeebabackup&view=Upload&task=upload&tmpl=component"
method="post" name="akeebauploadform">
<input type="hidden" name="id" value="<?= (int) $this->id ?>" />
<input type="hidden" name="part" value="<?= (int) $this->part ?>" />
<input type="hidden" name="frag" value="<?= (int) $this->frag ?>" />
</form>
<div class="alert alert-info">
<?php if($this->frag == 0): ?>
<?= Text::sprintf('COM_AKEEBABACKUP_TRANSFER_MSG_UPLOADINGPART', $this->part+1, max($this->parts, 1)) ?>
<?php else: ?>
<?= Text::sprintf('COM_AKEEBABACKUP_TRANSFER_MSG_UPLOADINGFRAG', $this->part+1, max($this->parts, 1), max(++$this->frag, 1)) ?>
<?php endif ?>
</div>