| Current Path : /home/wuectly/www/03cbe/ |
| Current File : /home/wuectly/www/03cbe/Manage.tar |
comment.blade.php 0000604 00000002414 15245634363 0007775 0 ustar 00 <?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
/** @var \Akeeba\Backup\Admin\View\Manage\Html $this */
?>
<form name="adminForm" id="adminForm" action="index.php" method="post" class="akeeba-form--horizontal">
<div class="akeeba-form-group">
<label for="description">
@lang('COM_AKEEBA_BUADMIN_LABEL_DESCRIPTION')
</label>
<input type="text" name="description" id="description" maxlength="255" size="50"
value="{{{ $this->record['description'] }}}" />
</div>
<div class="akeeba-form-group">
<label for="comment">
@lang('COM_AKEEBA_BUADMIN_LABEL_COMMENT')
</label>
@editor('comment', $this->record['comment'], '100%', '400', '60', '20', array())
</div>
<div class="akeeba-hidden-fields-container">
<input type="hidden" name="option" value="com_akeeba" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="view" value="Manage" />
<input type="hidden" name="id" value="{{ (int)$this->record['id'] }}" />
<input type="hidden" name="@token(true)" value="1" />
</div>
</form>
manage_column.blade.php 0000604 00000014440 15245634363 0011142 0 ustar 00 <?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
use Akeeba\Backup\Admin\Helper\Utils;
/** @var \Akeeba\Backup\Admin\View\Manage\Html $this */
/** @var array $record */
if (!isset($record['remote_filename']))
{
$record['remote_filename'] = '';
}
$archiveExists = $record['meta'] == 'ok';
$showManageRemote = $record['hasRemoteFiles'] && (AKEEBA_PRO == 1);
$engineForProfile = array_key_exists($record['profile_id'], $this->enginesPerProfile) ? $this->enginesPerProfile[$record['profile_id']] : 'none';
$showUploadRemote = $this->permissions['backup'] && $archiveExists && !$showManageRemote && ($engineForProfile != 'none') && ($record['meta'] != 'obsolete') && (AKEEBA_PRO == 1);
$showDownload = $this->permissions['download'] && $archiveExists;
$showViewLog = $this->permissions['backup'] && isset($record['backupid']) && !empty($record['backupid']);
$postProcEngine = '';
$thisPart = '';
$thisID = urlencode($record['id']);
if ($showUploadRemote)
{
$postProcEngine = $engineForProfile ?: 'none';
$showUploadRemote = !empty($postProcEngine);
}
\AkeebaFEFHelper::loadFEFScript('Tooltip');
?>
<div style="display: none">
<div id="akeeba-buadmin-{{ (int)$record['id'] }}" tabindex="-1">
<div class="akeeba-renderer-fef">
<h4>@lang('COM_AKEEBA_BUADMIN_LBL_BACKUPINFO')</h4>
<p>
<strong>@lang('COM_AKEEBA_BUADMIN_LBL_ARCHIVEEXISTS')</strong>
<br />
@if($record['meta'] == 'ok')
<span class="akeeba-label--success">
@lang('JYES')
</span>
@else
<span class="akeeba-label--failure">
@lang('JNO')
</span>
@endif
</p>
<p>
<strong>@lang('COM_AKEEBA_BUADMIN_LBL_ARCHIVEPATH' . ($archiveExists ? '' : '_PAST'))</strong>
<br />
<span class="akeeba-label--information">
{{{ Utils::getRelativePath(JPATH_SITE, dirname($record['absolute_path'])) }}}
</span>
</p>
<p>
<strong>@lang('COM_AKEEBA_BUADMIN_LBL_ARCHIVENAME' . ($archiveExists ? '' : '_PAST'))</strong>
<br />
<code>
{{{ $record['archivename'] }}}
</code>
</p>
</div>
</div>
@if($showDownload)
<div id="akeeba-buadmin-download-{{ (int)$record['id'] }}" tabindex="-2" role="dialog">
<div class="akeeba-renderer-fef">
<div class="akeeba-block--warning">
<h4>
@lang('COM_AKEEBA_BUADMIN_LBL_DOWNLOAD_TITLE')
</h4>
<p>
@lang('COM_AKEEBA_BUADMIN_LBL_DOWNLOAD_WARNING')
</p>
</div>
@if($record['multipart'] < 2)
<a class="akeeba-btn--primary--small comAkeebaManageDownloadButton"
data-id="{{{ $record['id'] }}}">
<span class="akion-ios-download"></span>
@lang('COM_AKEEBA_BUADMIN_LOG_DOWNLOAD')
</a>
@endif
@if($record['multipart'] >= 2)
<div>
@sprintf('COM_AKEEBA_BUADMIN_LBL_DOWNLOAD_PARTS', (int)$record['multipart'])
</div>
@for($count = 0; $count < $record['multipart']; $count++)
@if($count > 0)
•
@endif
<a class="akeeba-btn--small--dark comAkeebaManageDownloadButton"
data-id="{{{ $record['id'] }}}"
data-part="{{{ $count }}}">
<span class="akion-android-download"></span>
@sprintf('COM_AKEEBA_BUADMIN_LABEL_PART', $count)
</a>
@endfor
@endif
</div>
</div>
@endif
</div>
@if($showManageRemote)
<div style="padding-bottom: 3pt;">
<a class="akeeba-btn--primary akeeba_remote_management_link"
data-management="index.php?option=com_akeeba&view=RemoteFiles&tmpl=component&task=listactions&id={{ (int)$record['id'] }}"
data-reload="index.php?option=com_akeeba&view=Manage"
>
<span class="akion-cloud"></span>
@lang('COM_AKEEBA_BUADMIN_LABEL_REMOTEFILEMGMT')
</a>
</div>
@elseif($showUploadRemote)
<a class="akeeba-btn--primary akeeba_upload"
data-upload="index.php?option=com_akeeba&view=Upload&tmpl=component&task=start&id={{ (int)$record['id'] }}"
data-reload="index.php?option=com_akeeba&view=Manage"
title="@sprintf('COM_AKEEBA_TRANSFER_DESC', JText::_("ENGINE_POSTPROC_{$postProcEngine}_TITLE"))">
<span class="akion-android-upload"></span>
@lang('COM_AKEEBA_TRANSFER_TITLE')
(<em>{{{ $postProcEngine }}}</em>)
</a>
@endif
<div style="padding-bottom: 3pt">
@if($showDownload)
<a class="akeeba-btn--{{ $showManageRemote || $showUploadRemote ? 'small--grey' : 'green' }} akeeba_download_button"
data-dltarget="#akeeba-buadmin-download-{{ (int)$record['id'] }}"
>
<span class="akion-android-download"></span>
@lang('COM_AKEEBA_BUADMIN_LOG_DOWNLOAD')
</a>
@endif
@if($showViewLog)
<a class="akeeba-btn--grey akeebaCommentPopover"
{{ ($record['meta'] != 'obsolete') ? '' : 'disabled="disabled"' }}
href="index.php?option=com_akeeba&view=Log&tag={{{ $record['tag'] }}}.{{{ $record['backupid'] }}}&profileid={{ (int)$record['profile_id'] }}"
data-original-title="@lang('COM_AKEEBA_BUADMIN_LBL_LOGFILEID')"
data-content="{{{ $record['backupid'] }}}">
<span class="akion-ios-search-strong"></span>
@lang('COM_AKEEBA_LOG')
</a>
@endif
<a class="akeeba-btn--grey--small akeebaCommentPopover akeeba_showinfo_link"
data-infotarget="#akeeba-buadmin-{{ (int)$record['id'] }}"
data-content="@lang('COM_AKEEBA_BUADMIN_LBL_BACKUPINFO')"
>
<span class="akion-information-circled"></span>
</a>
</div>
default.blade.php 0000604 00000030765 15245634363 0007771 0 ustar 00 <?php
/**
* @package akeebabackup
* @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
// Protect from unauthorized access
defined('_JEXEC') || die();
/** @var \Akeeba\Backup\Admin\View\Manage\Html $this */
\AkeebaFEFHelper::loadFEFScript('Tooltip');
?>
@jhtml('formbehavior.chosen')
@if (class_exists('Joomla\CMS\Component\ComponentHelper') && \Joomla\CMS\Component\ComponentHelper::isEnabled('com_akeebabackup'))
@include('admin:com_akeeba/ControlPanel/backup8_uninstall')
<?php return; ?>
@elseif (version_compare(JVERSION, '3.999.999', 'gt'))
@include('admin:com_akeeba/ControlPanel/backup9_install')
@endif
<div id="akeebaBackup8Wrapper">
@if($this->promptForBackupRestoration && version_compare(JVERSION, '3.999.999', 'le'))
@include('admin:com_akeeba/Manage/howtorestore_modal')
@endif
<div class="akeeba-block--info">
<h4>@lang('COM_AKEEBA_BUADMIN_LABEL_HOWDOIRESTORE_LEGEND')</h4>
<p>
@sprintf('COM_AKEEBA_BUADMIN_LABEL_HOWDOIRESTORE_TEXT_' . (AKEEBA_PRO ? 'PRO' : 'CORE'), 'http://akee.ba/abrestoreanywhere', 'index.php?option=com_akeeba&view=Transfer', 'https://www.akeeba.com/latest-kickstart-core.zip')
</p>
<p>
@if (!AKEEBA_PRO)
@sprintf('COM_AKEEBA_BUADMIN_LABEL_HOWDOIRESTORE_TEXT_CORE_INFO_ABOUT_PRO', 'https://www.akeeba.com/products/akeeba-backup.html')
@endif
</p>
</div>
<div id="j-main-container">
<form action="index.php" method="post" name="adminForm" id="adminForm" class="akeeba-form">
<section class="akeeba-panel--33-66 akeeba-filter-bar-container">
<div class="akeeba-filter-bar akeeba-filter-bar--left akeeba-form-section akeeba-form--inline">
<div class="akeeba-filter-element akeeba-form-group">
<input type="text" name="description" placeholder="@lang('COM_AKEEBA_BUADMIN_LABEL_DESCRIPTION')"
id="filter_description"
value="{{{ $this->fltDescription }}}"
title="@lang('COM_AKEEBA_BUADMIN_LABEL_DESCRIPTION')" />
</div>
<div class="akeeba-filter-element akeeba-form-group akeeba-filter-joomlacalendarfix">
@if (version_compare(JVERSION, '3.999.999', 'le'))
@jhtml('calendar', $this->fltFrom, 'from', 'from', '%Y-%m-%d', array('class' => 'input-small'))
@else
<input
type="datetime-local"
pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}"
name="from"
id="from"
value="{{{ $this->fltFrom }}}"
>
@endif
</div>
<div class="akeeba-filter-element akeeba-form-group akeeba-filter-joomlacalendarfix">
@if (version_compare(JVERSION, '3.999.999', 'le'))
@jhtml('calendar', $this->fltTo, 'to', 'to', '%Y-%m-%d', array('class' => 'input-small'))
@else
<input
type="datetime-local"
pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}"
name="to"
id="to"
value="{{{ $this->fltTo }}}"
>
@endif
</div>
<div class="akeeba-filter-element akeeba-form-group">
<button class="akeeba-btn--grey akeeba-btn--icon-only akeeba-btn--small akeeba-hidden-phone"
type="submit" title="@lang('JSEARCH_FILTER_SUBMIT')">
<span class="akion-search"></span>
</button>
</div>
<div class="akeeba-filter-element akeeba-form-group">
{{-- Joomla 3.x: Chosen does not work with attached event handlers, only with inline event scripts (e.g. onchange) --}}
@jhtml('select.genericlist', $this->profilesList, 'profile', ['list.select' => $this->fltProfile, 'list.attr' => ['class' => 'advancedSelect', 'onchange' => 'document.forms.adminForm.submit();'], 'id' => 'comAkeebaManageProfileSelector'])
</div>
<div class="akeeba-filter-element akeeba-form-group">
{{-- Joomla 3.x: Chosen does not work with attached event handlers, only with inline event scripts (e.g. onchange) --}}
@jhtml('select.genericlist', $this->frozenList, 'frozen', ['list.select' => $this->fltFrozen, 'list.attr' => ['class' => 'advancedSelect', 'onchange' => 'document.forms.adminForm.submit();'], 'id' => 'comAkeebaManageFrozenSelector'])
</div>
</div>
<div class="akeeba-filter-bar akeeba-filter-bar--right">
@jhtml('FEFHelp.browse.orderheader', null, $this->sortFields, $this->getPagination(), $this->lists->order, $this->lists->order_Dir)
</div>
</section>
<table class="akeeba-table akeeba-table--striped" id="itemsList">
<thead>
<tr>
<th width="32">
@jhtml('FEFHelp.browse.checkall')
</th>
<th width="48" class="akeeba-hidden-phone">
@sortgrid('id', 'COM_AKEEBA_BUADMIN_LABEL_ID')
</th>
<th>
@sortgrid('frozen', 'COM_AKEEBA_BUADMIN_LABEL_FROZEN')
</th>
<th>
@sortgrid('description', 'COM_AKEEBA_BUADMIN_LABEL_DESCRIPTION')
</th>
<th class="akeeba-hidden-phone">
@sortgrid('profile_id', 'COM_AKEEBA_BUADMIN_LABEL_PROFILEID')
</th>
<th width="80">
@lang('COM_AKEEBA_BUADMIN_LABEL_DURATION')
</th>
<th width="40">
@lang('COM_AKEEBA_BUADMIN_LABEL_STATUS')
</th>
<th width="80" class="akeeba-hidden-phone">
@lang('COM_AKEEBA_BUADMIN_LABEL_SIZE')
</th>
<th class="akeeba-hidden-phone">
@lang('COM_AKEEBA_BUADMIN_LABEL_MANAGEANDDL')
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="11" class="center">
{{ $this->pagination->getListFooter() }}
</td>
</tr>
</tfoot>
<tbody>
@if(empty($this->items))
<tr>
<td colspan="11" class="center">
@lang('COM_AKEEBA_BACKUP_STATUS_NONE')
</td>
</tr>
@endif
@if( ! (empty($this->items)))
<?php $id = 1; $i = 0; ?>
@foreach($this->items as $record)
<?php
$id = 1 - $id;
[$originDescription, $originIcon] = $this->getOriginInformation($record);
[$startTime, $duration, $timeZoneText] = $this->getTimeInformation($record);
[$statusClass, $statusIcon] = $this->getStatusInformation($record);
$profileName = $this->getProfileName($record);
$frozenIcon = 'akion-waterdrop';
$frozenTask = 'freeze';
$frozenTitle = \JText::_('COM_AKEEBA_BUADMIN_LABEL_ACTION_FREEZE');
if ($record['frozen'])
{
$frozenIcon = 'akion-ios-snowy';
$frozenTask = 'unfreeze';
$frozenTitle = \JText::_('COM_AKEEBA_BUADMIN_LABEL_ACTION_UNFREEZE');
}
?>
<tr class="row{{ $id }}">
<td>@jhtml('grid.id', ++$i, $record['id'])</td>
<td class="akeeba-hidden-phone">
{{{ $record['id'] }}}
</td>
<td>
<a href="#" onclick="return Joomla.listItemTask('cb{{ $i }}', '{{$frozenTask}}')" title="{{$frozenTitle}}">
<span class="{{ $frozenIcon }}"></span>
</a>
</td>
<td>
<span class="{{ $originIcon }} akeebaCommentPopover" rel="popover"
title="@lang('COM_AKEEBA_BUADMIN_LABEL_ORIGIN')"
data-content="{{{ $originDescription }}}"></span>
@if( ! (empty($record['comment'])))
<span class="akion-help-circled akeebaCommentPopover" rel="popover"
data-content="{{{ $record['comment'] }}}"></span>
@endif
<a href="{{{ JUri::base() }}}index.php?option=com_akeeba&view=Manage&task=showcomment&id={{{ $record['id'] }}}">
{{{ empty($record['description']) ? JText::_('COM_AKEEBA_BUADMIN_LABEL_NODESCRIPTION') : $record['description'] }}}
</a>
<br />
<div class="akeeba-buadmin-startdate" title="@lang('COM_AKEEBA_BUADMIN_LABEL_START')">
<small>
<span class="akion-calendar"></span>
{{{ $startTime }}} {{{ $timeZoneText }}}
</small>
</div>
</td>
<td class="akeeba-hidden-phone">
#{{{ (int)$record['profile_id'] }}}. {{{ $profileName }}}
<br />
<small>
<em>{{{ $this->translateBackupType($record['type']) }}}</em>
</small>
</td>
<td>
{{{ $duration }}}
</td>
<td>
<span class="{{ $statusClass }} akeebaCommentPopover" rel="popover"
title="@lang('COM_AKEEBA_BUADMIN_LABEL_STATUS')"
data-content="@lang('COM_AKEEBA_BUADMIN_LABEL_STATUS_' . $record['meta'])">
<span class="{{ $statusIcon }}"></span>
</span>
</td>
<td class="akeeba-hidden-phone">
@if($record['meta'] == 'ok')
{{{ $this->formatFilesize($record['size']) }}}
@elseif($record['total_size'] > 0)
<i>{{ $this->formatFilesize($record['total_size']) }}</i>
@else
—
@endif
</td>
<td class="akeeba-hidden-phone">
@include('admin:com_akeeba/Manage/manage_column', ['record' => &$record])
</td>
</tr>
@endforeach
@endif
</tbody>
</table>
<div class="akeeba-hidden-fields-container">
<input type="hidden" name="option" id="option" value="com_akeeba" />
<input type="hidden" name="view" id="view" value="Manage" />
<input type="hidden" name="boxchecked" id="boxchecked" value="0" />
<input type="hidden" name="task" id="task" value="default" />
<input type="hidden" name="filter_order" id="filter_order" value="{{{ $this->lists->order }}}" />
<input type="hidden" name="filter_order_Dir" id="filter_order_Dir" value="{{{ $this->lists->order_Dir }}}" />
<input type="hidden" name="@token(true)" value="1" />
</div>
</form>
</div>
</div>