<?php
/**
 * Kunena Component
 * @package         Kunena.Installer
 * @subpackage      Template
 *
 * @copyright       Copyright (C) 2008 - 2018 Kunena Team. All rights reserved.
 * @license         https://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link            https://www.kunena.org
 **/
defined('_JEXEC') or die();

$success = array(-1 => 'FAILED', 0 => 'FAILED', 1 => 'OK');
$colors  = array(-1 => '#cf7f00', 0 => 'red', 1 => 'green');

?>
<table>
	<?php if ($this->status)
	{
		foreach ($this->status as $status)
			:
			?>
			<tr>
				<td><?php echo $status['task']; ?></td>
				<td style="color: <?php echo $colors[$status['success']]; ?>;">
					... <?php echo $success[$status['success']]; ?></td>
				<td><?php echo $status['msg']; ?></td>
			</tr>
		<?php endforeach;
	} ?>
</table>
