<?php

/**

 * @copyright	Copyright (C) 2009-2011 ACYBA SARL - All rights reserved.

 * @license		http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL

 */

defined('_JEXEC') or die('Restricted access');

?>

<?php
class TagController extends acymailingController{
	var $aclCat = 'tags';
	function __construct($config = array())

	{

		parent::__construct($config);
		JHTML::_('behavior.tooltip');

		JRequest::setVar('tmpl','component');
		$this->registerDefaultTask('tag');

	}
	function tag(){

		if(!$this->isAllowed($this->aclCat,'view')) return;

		JRequest::setVar( 'layout', 'tag'  );

		return parent::display();

	}

}