Your IP : 216.73.216.240


Current Path : /home/juvelize/www/administrator/components/com_phocadownload/views/phocadownloadset/
Upload File :
Current File : /home/juvelize/www/administrator/components/com_phocadownload/views/phocadownloadset/view.html.php

<?php
/*
 * @package Joomla 1.5
 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 *
 * @component Phoca Component
 * @copyright Copyright (C) Jan Pavelka www.phoca.cz
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */
defined('_JEXEC') or die();
jimport( 'joomla.application.component.view' );
 
class PhocaDownloadCpViewPhocaDownloadset extends JViewLegacy
{
	function display($tpl = null) {
		
		
		$uri		= JFactory::getURI();
		$document	= JFactory::getDocument();
		$db		    = JFactory::getDBO();
		JHTML::stylesheet( 'phocadownload.css', 'administrator/components/com_phocadownload/assets/' );	

		// Get data from the model
		$items		= & $this->get( 'Data');

		$this->assignRef('items',		$items);
		$this->assignRef('request_url',	$uri->toString());
		
		parent::display($tpl);
		$this->_setToolbar();
	}
	
	function _setToolbar() {
		JToolBarHelper::title(   JText::_( 'Phoca Download Settings' ), 'settings.png' );
		JToolBarHelper::save();
		JToolBarHelper::apply();
		JToolBarHelper::cancel( 'cancel', 'Close' );		
		JToolBarHelper::help( 'screen.phocadownload', true );
	}
}
?>