Current File : /home/pacjaorg/public_html/km/administrator/components/com_djclassifieds/views/emails/view.html.php
<?php
/**
 * @package DJ-Classifieds
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email: contact@dj-extensions.com
 */

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

class DjClassifiedsViewEmails extends JViewLegacy
{
	protected $emails;
	protected $pagination;
	protected $state;
	
	function display($tpl = null)
	{	
		$this->emails	= $this->get('Items');		
		$this->pagination	= $this->get('Pagination');
		$this->state		= $this->get('State');

		$this->filterForm = $this->get('FilterForm');
		$this->activeFilters = $this->get('ActiveFilters');

		$this->bs_cl = DJClassifiedsTheme::getBSClasses();
		$this->addToolbar();
		if (class_exists('JHtmlSidebar')){
			$this->sidebar = JHtmlSidebar::render();
		}
		
		parent::display($tpl);
	}
	
	protected function addToolbar()
	{
		$user = JFactory::getUser();
		JToolBarHelper::title(JText::_('COM_DJCLASSIFIEDS_EMAILS_TEMPLATES'), 'generic.png');

		if ($user->authorise('core.edit', 'com_djclassifieds')) {
			JToolBarHelper::editList('email.edit','JTOOLBAR_EDIT');		
			JToolBarHelper::divider();
		}
		if ($user->authorise('core.admin', 'com_djclassifieds')) {
			JToolBarHelper::preferences('com_djclassifieds', 450, 800);
			JToolBarHelper::divider();
		}
		
	}
}
?>
Site is undergoing maintenance

PACJA Events

Maintenance mode is on

Site will be available soon. Thank you for your patience!