<?php

/**
 * Joomleague
 *
 * @copyright	Copyright (C) 2006-2015 joomleague.at. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @link		http://www.joomleague.at
 */
defined('_JEXEC') or die;
?>
<!-- colors legend -->
<?php 
if ($this->config['show_colorlegend']) {
    ?>
	<table width='96%' align='center' cellpadding='0' cellspacing='0'>
		<tr>
			<?php 
    JoomleagueHelper::showColorsLegend($this->colors, false, $this->project);
    ?>
		</tr>
	</table>
	<br />
	<?php 
}
<?php

defined('_JEXEC') or die('Restricted access');
?>
<!-- colors legend START -->
<?php 
if (!isset($this->tableconfig['show_colors_legend'])) {
    $this->tableconfig['show_colors_legend'] = 1;
}
if ($this->tableconfig['show_colors_legend']) {
    ?>
		<br />
		<table width='96%' align='center' cellpadding='0' cellspacing='0' border='0'>
			<tr>
				<?php 
    JoomleagueHelper::showColorsLegend($this->colors);
    ?>
			</tr>
		</table>
		<?php 
}
?>
<!-- colors legend END -->
<?php

defined('_JEXEC') or die('Restricted access');
?>
<!-- colors legend START -->
<br />
<table cellpadding='0' cellspacing='0' border='0'>
	<tr>
		<?php 
JoomleagueHelper::showColorsLegend($this->colors, $this->config['show_colorlegend']);
?>
	</tr>
</table>
<!-- colors legend END -->