home/wuectly/www/administrator/templates/hathor/cpanel.php000060400000011535152455572270020151 0ustar00 * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var JDocumentHtml $this */ $app = JFactory::getApplication(); $lang = JFactory::getLanguage(); // Output as HTML5 $this->setHtml5(true); // Add template js JHtml::_('script', 'template.js', array('version' => 'auto', 'relative' => true)); // Add html5 shiv JHtml::_('script', 'jui/html5.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9')); // Load optional RTL Bootstrap CSS JHtml::_('bootstrap.loadCss', false, $this->direction); // Load system style CSS JHtml::_('stylesheet', 'templates/system/css/system.css', array('version' => 'auto')); // Load template CSS JHtml::_('stylesheet', 'template.css', array('version' => 'auto', 'relative' => true)); // Load additional CSS styles for colors if (!$this->params->get('colourChoice')) { $colour = 'standard'; } else { $colour = htmlspecialchars($this->params->get('colourChoice')); } JHtml::_('stylesheet', 'colour_' . $colour . '.css', array('version' => 'auto', 'relative' => true)); // Load additional CSS styles for rtl sites if ($this->direction === 'rtl') { JHtml::_('stylesheet', 'template_rtl.css', array('version' => 'auto', 'relative' => true)); JHtml::_('stylesheet', 'colour_' . $colour . '_rtl.css', array('version' => 'auto', 'relative' => true)); } // Load additional CSS styles for bold Text if ($this->params->get('boldText')) { JHtml::_('stylesheet', 'boldtext.css', array('version' => 'auto', 'relative' => true)); } // Load specific language related CSS JHtml::_('stylesheet', 'administrator/language/' . $lang->getTag() . '/' . $lang->getTag() . '.css', array('version' => 'auto')); // Load custom.css JHtml::_('stylesheet', 'custom.css', array('version' => 'auto', 'relative' => true)); // IE specific JHtml::_('stylesheet', 'ie8.css', array('version' => 'auto', 'relative' => true, 'conditional' => 'IE 8')); JHtml::_('stylesheet', 'ie7.css', array('version' => 'auto', 'relative' => true, 'conditional' => 'IE 7')); // Logo file if ($this->params->get('logoFile')) { $logo = JUri::root() . $this->params->get('logoFile'); } else { $logo = $this->baseurl . '/templates/' . $this->template . '/images/logo.png'; } ?>

home/wuectly/www/administrator/templates/isis/cpanel.php000060400000000461152455625600017623 0ustar00 * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; require_once __DIR__ . '/index.php'; home/wuectly/www/administrator/components/com_cpanel/cpanel.php000060400000000664152456326670021156 0ustar00 * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // No access check. $controller = JControllerLegacy::getInstance('Cpanel'); $controller->execute(JFactory::getApplication()->input->get('task')); $controller->redirect(); home/wuectly/www/administrator/components/com_jce/controller/cpanel.php000060400000001276152456542670022640 0ustar00getModel('cpanel'); echo json_encode(array( 'feeds' => $model->getFeeds(), )); // Close the application Factory::getApplication()->close(); } } home/wuectly/www/administrator/components/com_jce/models/cpanel.php000060400000010346152457033310021721 0ustar00 'equalizer', 'profiles' => 'users', 'browser' => 'picture', 'mediabox' => 'pictures', ); foreach ($views as $name => $icon) { // if its mediabox, check the plugin is installed and enabled if ($name === "mediabox" && !PluginHelper::isEnabled('system', 'jcemediabox')) { continue; } // check if its allowed... if (!$user->authorise('jce.' . $name, 'com_jce')) { continue; } $link = 'index.php?option=com_jce&view=' . $name; $title = Text::_('WF_' . strtoupper($name)); if ($name === "browser") { if (!PluginHelper::isEnabled('quickicon', 'jce')) { continue; } $title = Text::_('WF_' . strtoupper($name) . '_TITLE'); } $icons[] = '
  • ' . $title . '
  • '; } return $icons; } public function getFeeds() { $app = Factory::getApplication(); $params = ComponentHelper::getParams('com_jce'); $limit = $params->get('feed_limit', 2); $feeds = array(); $options = array( 'rssUrl' => 'https://www.joomlacontenteditor.net/news?format=feed', ); $xml = simplexml_load_file($options['rssUrl']); if (empty($xml)) { return $feeds; } jimport('joomla.filter.input'); $filter = InputFilter::getInstance(); $count = count($xml->channel->item); if ($count) { $count = ($count > $limit) ? $limit : $count; for ($i = 0; $i < $count; ++$i) { $feed = new StdClass(); $item = $xml->channel->item[$i]; $link = (string) $item->link; $feed->link = htmlspecialchars($filter->clean($link)); $title = (string) $item->title; $feed->title = htmlspecialchars($filter->clean($title)); $description = (string) $item->description; $feed->description = htmlspecialchars($filter->clean($description)); $feeds[] = $feed; } } return $feeds; } /** * Method to auto-populate the model state. * * Note. Calling getState in this method will result in recursion. * * @since 1.6 */ protected function populateState($ordering = null, $direction = null) { $licence = ""; $version = ""; if ($xml = simplexml_load_file(JPATH_ADMINISTRATOR . '/components/com_jce/jce.xml')) { $licence = (string) $xml->license; $version = (string) $xml->version; if (PluginHelper::isEnabled('system', 'jcepro')) { $version = 'Pro ' . $version; $this->setState('pro', 1); } } $this->setState('version', $version); $this->setState('licence', $licence); } }