- md5
- 6f4b6cdeed68ca56729d6765927f3666
- sha1
- 9e560a4fff937bd1d92e30a6ac2308b7cbc6c55d
- sha256
- fa468a703663e916df8a8c324fb57990d07b505efc9265a3be52c423f5ccbd58
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
<?php
/**
* @package Joomla.Administrator
* @subpackage com_templates
*
* @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\Router\Route;
$input = Factory::getApplication()->input;
?>
<form action="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="updateForm" id="updateForm">
<div class="row">
<div class="col-md-12">
<?php if (count($this->updatedList) !== 0) : ?>
<table class="table">
<thead>
<tr>
<td style="width:5%" class="text-center">
<?php echo HTMLHelper::_('grid.checkall'); ?>
</td>
<th scope="col" style="width:7%">
<?php echo Text::_('COM_TEMPLATES_OVERRIDE_CHECKED'); ?>
</th>
<th scope="col" style="width:30%">
<?php echo Text::_('COM_TEMPLATES_OVERRIDE_TEMPLATE_FILE'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_TEMPLATES_OVERRIDE_CREATED_DATE'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_TEMPLATES_OVERRIDE_MODIFIED_DATE'); ?>
</th>
<th scope="col">
<?php echo Text::_('COM_TEMPLATES_OVERRIDE_SOURCE'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->updatedList as $i => $value) : ?>
<tr class="row<?php echo $i % 2; ?>">
<td class="text-center">
<?php echo HTMLHelper::_('grid.id', $i, $value->hash_id, false, 'cid', 'cb', '', 'updateForm'); ?>
</td>
<td>
<?php echo HTMLHelper::_('jgrid.published', $value->state, $i, 'template.', 1, 'cb', null, null, 'updateForm'); ?>
</td>
<td>
<a class="hasTooltip" href="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . (int) $value->extension_id . '&file=' . $value->hash_id); ?>" title="<?php echo Text::_('JACTION_EDIT'); ?>"><?php echo base64_decode($value->hash_id); ?></a>
</td>
<td>
<?php $created_date = $value->created_date; ?>
<?php echo $created_date > 0 ? HTMLHelper::_('date', $created_date, Text::_('DATE_FORMAT_FILTER_DATETIME')) : '-'; ?>
</td>
<td>
<?php if ($value->modified_date === Factory::getDbo()->getNullDate()) : ?>
<span class="badge badge-warning"><?php echo Text::_('COM_TEMPLATES_OVERRIDE_CORE_REMOVED'); ?></span>
<?php else : ?>
<?php $modified_date = $value->modified_date; ?>
<?php echo $modified_date > 0 ? HTMLHelper::_('date', $modified_date, Text::_('DATE_FORMAT_FILTER_DATETIME')) : '-'; ?>
<?php endif; ?>
</td>
<td>
<span class="badge badge-info"><?php echo $value->action; ?></span>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="">
<input type="hidden" name="boxchecked" value="0">
<?php echo HTMLHelper::_('form.token'); ?>
<?php else : ?>
<div class="alert alert-success">
<span class="icon-info" aria-hidden="true"></span>
<?php echo Text::_('COM_TEMPLATES_OVERRIDE_UPTODATE'); ?>
</div>
<?php endif; ?>
</div>
</div>
</form>
The same content is in 3 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha9. See them all, or every version of this file.