%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home1/lightco1/www/administrator/components/com_poweradmin/views/configuration/
Upload File :
Create Path :
Current File : //home1/lightco1/www/administrator/components/com_poweradmin/views/configuration/view.html.php

<?php
/**
 * @author    JoomlaShine.com
 * @copyright JoomlaShine.com
 * @link      http://joomlashine.com/
 * @package   JSN Poweradmin
 * @version   $Id: view.html.php 14934 2012-08-10 07:53:33Z thailv $
 * @license   GNU/GPL v2 http://www.gnu.org/licenses/gpl-2.0.html
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');

/**
 * Configuration view of JSN Poweradmin component
 */
class PowerAdminViewConfiguration extends JSNConfigView
{

	/**
	 * Display method
	 *
	 * @return	void
	 */
	function display($tpl = null)
	{
		// Get config parameters
		$config = JSNConfigHelper::get('com_poweradmin');
		$this->_document = JFactory::getDocument();

		// Set the toolbar
		JToolBarHelper::title(JText::_('JSN_POWERADMIN_CONFIGURATION_TITLE'), 'maintenance');

		$this->_addAssets();
		// Display the template
		parent::display($tpl);
	}

	private function _addAssets()
	{
		if(class_exists('JSNHtmlAsset')){
			if(method_exists('JSNHtmlAsset','addScript') && method_exists('JSNHtmlAsset','addStyle')){
 				JSNHtmlAsset::addStyle( JSN_FRAMEWORK_ASSETS . '/3rd-party/jquery-ui/css/ui-bootstrap/jquery-ui-1.9.0.custom.css');
 				JSNHtmlAsset::addStyle(JSN_FRAMEWORK_ASSETS . '/joomlashine/css/jsn-gui.css');
 				JSNHtmlAsset::addScript(JURI::root(true) . '/media/jui/js/jquery.js');
 				JSNHtmlAsset::addScript( JSN_POWERADMIN_LIB_JSNJS_URI . 'jsn.jquery.noconflict.js');
 				JSNHtmlAsset::addScript(JSN_FRAMEWORK_ASSETS . '/3rd-party/jquery-ui/js/jquery-ui-1.9.0.custom.min.js');
 				JSNHtmlAsset::addScript(JURI::root(true) . '/media/jui/js/jquery.ui.sortable.js');
				JSNHtmlAsset::addScript( JSN_FRAMEWORK_ASSETS . '/3rd-party/jquery-ck/jquery.ck.js');
				JSNHtmlAsset::addScript( JSN_POWERADMIN_LIB_JS_URI . 'jquery.topzindex.js');
				JSNHtmlAsset::addScript( JSN_POWERADMIN_LIB_JSNJS_URI . 'jsn.window.js');
				JSNHtmlAsset::addScript( JSN_POWERADMIN_LIB_JSNJS_URI . 'jsn.lang.js');
				JSNHtmlAsset::addStyle(JSN_POWERADMIN_STYLE_URI ."poweradmin.css");
			}
		}

	}

}

Zerion Mini Shell 1.0