?
GR0V Shell
GR0V shell
Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64
<?php
/**
*
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// Import Joomla! libraries
jimport( 'joomla.application.component.view');
class XiJCViewConfiguration extends JView
{
function display($tpl = null)
{
self::setToolBar();
$cModel = XiJCFactory::getModel('configuration');
$fonts = XiJCFactory::getFonts();
$params = $cModel->getParams();
jimport('joomla.html.pane');
$pane =& JPane::getInstance('sliders');
$this->assignRef( 'pane', $pane );
$this->assign( 'config' , $params );
$this->assign( 'fonts' , $fonts );
parent::display( $tpl );
}
/**
* Private method to set the toolbar for this view
*
* @access private
*
* @return null
**/
function setToolBar()
{
$resetImage = JUri::root().'administrator/components/com_xijc/assets/images/icon-reset.png';
// Set the titlebar text
JToolBarHelper::title( JText::_( 'Configuration' ), 'configuration' );
// Add the necessary buttons
JToolBarHelper::back('HOME' , 'index.php?option=com_xijc');
JToolBarHelper::divider();
JToolBarHelper::save('save','SAVE');
JToolBarHelper::custom('reset','reset','','RESET',0,0);
}
}
T1KUS90T