Current Path :
/
home
/
develito
/
httpdocs
/
plugins
/
system
/
sunfw
/
includes
/
ajax
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/httpdocs/plugins/system/sunfw/includes/ajax/editor.php
<?php /** * @version $Id$ * @package SUN Framework * @author JoomlaShine Team <support@joomlashine.com> * @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: http://www.joomlashine.com * Technical Support: Feedback - http://www.joomlashine.com/contact-us/get-support.html */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); /** * Editor widget * * @package SUN Framework * @subpackage Template * @since 1.0.0 */ class SunFwAjaxEditor extends SunFwAjax { public function indexAction() { // Get Joomla document object. $doc = JFactory::getDocument(); // Load Bootstrap CSS if on Joomla 4.0 series. if (SunFwCompat::isJoomla(4)) { $doc->addStyleSheet(JUri::base(true) . '/templates/' . (PlgSystemSunFw::$template ? PlgSystemSunFw::$template->template : $this->app->getTemplate()) . '/css/bootstrap.css'); } // Load admin template's stylesheet. $doc->addStylesheet( JUri::base(true) . '/templates/' . (PlgSystemSunFw::$template ? PlgSystemSunFw::$template->template : $this->app->getTemplate()) . '/css/template' . ( $doc->direction == 'rtl' ? '-rtl' : '' ) . '.css'); // Load required scripts. JHtml::_('behavior.core'); JHtml::_('bootstrap.framework'); $this->render('index'); } }