| Current Path : /home/cbequiperp/www/plugins/system/installer_xtendr/layouts/smalabs/installer/ |
| Current File : /home/cbequiperp/www/plugins/system/installer_xtendr/layouts/smalabs/installer/result.php |
<?php
/**
* @package Smålabs Installer extender for Joomla
*
* @author Jasper Dik <joomla@smalabs.net>
* @link https://www.smalabs.net
* @copyright Copyright © 2017 J.J.A.Dik / Smålabs. All rights reserved.
* @license GNU/GPL version 3 (https://www.gnu.org/licenses/gpl-3.0.html)
*/
// No direct access
defined('_JEXEC') or die();
use Smalabs\Joomla\Installer\View\Html;
$task = $displayData['task'];
$config = $displayData['config'];
$tabs = $displayData['tabs'];
$active = 'active';
$activeTabContent = ' active';
?>
<link rel="stylesheet" href="<?php echo JUri::root(true); ?>/media/plg_installer_xtender/css/installer.css" />
<div class="well header-well">
<?php IF (isset($config->text) && is_array($config->text) && array_key_exists('header', $config->text)) :?>
<h2><?php echo JText::_($config->text['header']); ?></h2>
<?php ENDIF; ?>
</div>
<div class="row-fluid">
<?php IF (isset($config->text) && is_array($config->text) && array_key_exists($task, $config->text)) :?>
<div class="span4">
<?php echo JText::_($config->text[$task]); ?>
</div>
<div class="span8">
<?php ELSE : ?>
<div class="span12">
<?php ENDIF; ?>
<table class="table table-striped">
<thead>
<tr>
<td><?php echo \JText::_('PLG_INSTALLER_XTENDR_EXTENSION'); ?></td>
<td><?php echo \JText::_('PLG_INSTALLER_XTENDR_TYPE'); ?></td>
<td><?php echo \JText::_('PLG_INSTALLER_XTENDR_CATEGORY'); ?></td>
<td><?php echo \JText::_('PLG_INSTALLER_XTENDR_OLD_VERSION'); ?></td>
<td><?php echo \JText::_('PLG_INSTALLER_XTENDR_NEW_VERSION'); ?></td>
<td><i class="icon-info-2"></i></td>
<td><?php echo \JText::_('PLG_INSTALLER_XTENDR_STATUS'); ?></td>
</tr>
</thead>
<tbody>
<?php FOREACH ($config->install as $item) : ?>
<tr>
<td><?php echo $item['name'] ? $item['name'] : $item['element']; ?></td>
<td><?php echo $item['type']; ?></td>
<td><?php echo $item['category']; ?></td>
<td><?php echo $item['oldVersion']; ?></td>
<td><?php echo $item['newVersion']; ?></td>
<td><?php
if (count($item['notes']))
{
$notes = implode('<br />', $item['notes']);
echo Html::tooltip('<i class="icon-info-2"></i>', $notes);
}
?></td>
<td><?php echo Html::label($item['result'], $item['label']); ?></td>
</tr>
<?php ENDFOREACH; ?>
</tbody>
</table>
</div>
</div>
<div class="well footer-well">
<?php IF (isset($config->text) && is_array($config->text) && array_key_exists('copyright', $config->text)) :?>
<?php IF (array_key_exists('url', $config->text)) :?>
<a target="_blank" href="<?php echo $config->text['url']?>">
<?php ENDIF; ?>
<?php echo $config->text['copyright'] ?>
<?php IF (array_key_exists('url', $config->text)) :?>
</a>
<?php ENDIF; ?>
<?php ENDIF; ?>
</div>
<script type="text/javascript">jQuery('.smalabsTooltip').tooltip();</script>