Файловый менеджер - Редактировать - /home/opticamezl/www/newok/installer.zip
Назад
PK ld�\rd�ˏ � urlinstaller/urlinstaller.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="installer"> <name>plg_installer_urlinstaller</name> <author>Joomla! Project</author> <creationDate>2016-05</creationDate> <copyright>(C) 2016 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.6.0</version> <description>PLG_INSTALLER_URLINSTALLER_PLUGIN_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Installer\Url</namespace> <files> <folder plugin="urlinstaller">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_installer_urlinstaller.ini</language> <language tag="en-GB">language/en-GB/plg_installer_urlinstaller.sys.ini</language> </languages> </extension> PK ld�\���� � + urlinstaller/src/Extension/UrlInstaller.phpnu �[��� <?php /** * @package Joomla.Plugin * @subpackage Installer.urlinstaller * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Installer\Url\Extension; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\CMS\Plugin\PluginHelper; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * UrlFolderInstaller Plugin. * * @since 3.6.0 */ final class UrlInstaller extends CMSPlugin { /** * Application object. * * @var \Joomla\CMS\Application\CMSApplication * @since 4.0.0 * @deprecated 6.0 Is needed for template overrides, use getApplication instead */ protected $app; /** * Textfield or Form of the Plugin. * * @return array Returns an array with the tab information * * @since 3.6.0 */ public function onInstallerAddInstallationTab() { // Load language files $this->loadLanguage(); $tab = []; $tab['name'] = 'url'; $tab['label'] = $this->getApplication()->getLanguage()->_('PLG_INSTALLER_URLINSTALLER_TEXT'); // Render the input ob_start(); include PluginHelper::getLayoutPath('installer', 'urlinstaller'); $tab['content'] = ob_get_clean(); return $tab; } } PK ld�\$y/� � urlinstaller/tmpl/default.phpnu �[��� <?php /** * @package Joomla.Plugin * @subpackage Installer.urlinstaller * * @copyright (C) 2016 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\CMS\Language\Text; use Joomla\Plugin\Installer\Url\Extension\UrlInstaller; /** @var UrlInstaller $this */ $this->getApplication()->getDocument()->getWebAssetManager() ->registerAndUseScript('plg_installer_urlinstaller.urlinstaller', 'plg_installer_urlinstaller/urlinstaller.js', [], ['defer' => true], ['core']); ?> <legend><?php echo Text::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?></legend> <div class="control-group"> <label for="install_url" class="control-label"> <?php echo Text::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?> </label> <div class="controls"> <input type="text" id="install_url" name="install_url" class="form-control" placeholder="https://"> </div> </div> <div class="control-group"> <div class="controls"> <button type="button" class="btn btn-primary" id="installbutton_url" onclick="Joomla.submitbuttonurl()"> <?php echo Text::_('PLG_INSTALLER_URLINSTALLER_BUTTON'); ?> </button> </div> </div> PK ld�\��i�= = "