Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/com_cpanel.zip
Назад
PK �|!]eK�l l controller.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_cpanel * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Cpanel Controller * * @since 1.5 */ class CpanelController extends JControllerLegacy { } PK �|!]�E�>g g cpanel.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?> <extension type="component" version="3.1" method="upgrade"> <name>com_cpanel</name> <author>Joomla! Project</author> <creationDate>Jun 2007</creationDate> <copyright>(C) 2007 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.0.0</version> <description>COM_CPANEL_XML_DESCRIPTION</description> <administration> <files folder="admin"> <filename>controller.php</filename> <filename>cpanel.php</filename> <folder>views</folder> </files> <languages folder="admin"> <language tag="en-GB">language/en-GB.com_cpanel.ini</language> <language tag="en-GB">language/en-GB.com_cpanel.sys.ini</language> </languages> </administration> </extension> PK �|!]Y9�Q Q views/cpanel/view.html.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_cpanel * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * HTML View class for the Cpanel component * * @since 1.0 */ class CpanelViewCpanel extends JViewLegacy { /** * Array of cpanel modules * * @var array */ protected $modules = null; /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. */ public function display($tpl = null) { // Set toolbar items for the page JToolbarHelper::title(JText::_('COM_CPANEL'), 'home-2 cpanel'); JToolbarHelper::help('screen.cpanel'); $input = JFactory::getApplication()->input; /* * Set the template - this will display cpanel.php * from the selected admin template. */ $input->set('tmpl', 'cpanel'); // Display the cpanel modules $this->modules = JModuleHelper::getModules('cpanel'); try { $messages_model = FOFModel::getTmpInstance('Messages', 'PostinstallModel')->eid(700); $messages = $messages_model->getItemList(); } catch (RuntimeException $e) { $messages = array(); // Still render the error message from the Exception object JFactory::getApplication()->enqueueMessage($e->getMessage(), 'error'); } $this->postinstall_message_count = count($messages); parent::display($tpl); } } PK �|!]��C�u u views/cpanel/tmpl/default.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_cpanel * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; $user = JFactory::getUser(); ?> <div class="row-fluid"> <?php $iconmodules = JModuleHelper::getModules('icon'); if ($iconmodules) : ?> <div class="span3"> <div class="cpanel-links"> <?php // Display the submenu position modules foreach ($iconmodules as $iconmodule) { echo JModuleHelper::renderModule($iconmodule); } ?> </div> </div> <?php endif; ?> <div class="span<?php echo $iconmodules ? 9 : 12; ?>"> <?php if ($user->authorise('core.manage', 'com_postinstall') && $this->postinstall_message_count) : ?> <div class="row-fluid"> <div class="alert alert-info"> <h3> <?php echo JText::_('COM_CPANEL_MESSAGES_TITLE'); ?> </h3> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODY_NOCLOSE'); ?> </p> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODYMORE_NOCLOSE'); ?> </p> <p> <a href="index.php?option=com_postinstall&eid=700" class="btn btn-primary"> <?php echo JText::_('COM_CPANEL_MESSAGES_REVIEW'); ?> </a> </p> </div> </div> <?php endif; ?> <div class="row-fluid"> <?php $spans = 0; foreach ($this->modules as $module) { // Get module parameters $params = new Registry($module->params); $bootstrapSize = $params->get('bootstrap_size'); if (!$bootstrapSize) { $bootstrapSize = 12; } $spans += $bootstrapSize; if ($spans > 12) { echo '</div><div class="row-fluid">'; $spans = $bootstrapSize; } echo JModuleHelper::renderModule($module, array('style' => 'well')); } ?> </div> </div> </div> PK �|!]��"� � views/cpanel/tmpl/default.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?> <metadata> <layout title="COM_CPANEL_CPANEL_VIEW_DEFAULT_TITLE"> <message> <![CDATA[COM_CPANEL_CPANEL_VIEW_DEFAULT_TITLE_DESC]]> </message> </layout> </metadata> PK �|!]7�Ǵ � cpanel.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_cpanel * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @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(); PK ֠!]�}{[ cpanel/default.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; use Joomla\Registry\Registry; echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1')); if (JFactory::getUser()->authorise('core.manage', 'com_postinstall')) : if ($this->postinstall_message_count): echo JHtml::_('sliders.panel', JText::_('COM_CPANEL_MESSAGES_TITLE'), 'cpanel-panel-com-postinstall'); ?> <div class="modal-body"> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODY_NOCLOSE'); ?> </p> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODYMORE_NOCLOSE'); ?> </p> </div> <div class="modal-footer"> <button onclick="window.location='index.php?option=com_postinstall&eid=700'; return false" class="btn btn-primary btn-large" > <?php echo JText::_('COM_CPANEL_MESSAGES_REVIEW'); ?> </button> </div> <?php endif; ?> <?php endif; foreach ($this->modules as $module) { $output = JModuleHelper::renderModule($module); echo JHtml::_('sliders.panel', $module->title, 'cpanel-panel-' . $module->name); echo $output; } echo JHtml::_('sliders.end'); PK �|!]eK�l l controller.phpnu &1i� PK �|!]�E�>g g � cpanel.xmlnu &1i� PK �|!]Y9�Q Q K views/cpanel/view.html.phpnu &1i� PK �|!]��C�u u � views/cpanel/tmpl/default.phpnu &1i� PK �|!]��"� � � views/cpanel/tmpl/default.xmlnu &1i� PK �|!]7�Ǵ � � cpanel.phpnu &1i� PK ֠!]�}{[ � cpanel/default.phpnu &1i� PK H
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка