<?php
/**
 * @version		$Id: default.php 114 2009-06-16 12:25:08Z eddieajau $
 * @package		TAOJ.Quanta
 * @subpackage	com_quanta
 * @copyright	Copyright (C) 2009 New Life in IT Pty Ltd. All rights reserved.
 * @license		GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 * @link		http://www.theartofjoomla.com
 */

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
?>

<?php if (empty($this->items)) : ?>
	<?php echo JText::_('Quanta_No_charts_available'); ?>
<?php else : ?>
	<ol>
		<?php foreach ($this->items as $i => $item) : ?>
		<li>
			<a href="<?php echo JRoute::_('index.php?option=com_quanta&view=chart&chart_id='.$item->id.':'.$item->alias);?>">
				<?php echo $item->title; ?></a>
		</li>
		<?php endforeach; ?>
	</ol>
<?php endif; ?>
