Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/joomla4/ |
| [Home] [System Details] [Kill Me] |
PK�]�[�&�\\tmpl/default.phpnu�[���<?php
/**
* @package Joomla.Plugin
* @subpackage Installer.urlinstaller
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
* @license GNU General Public License version 2 or later; see
LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('bootstrap.tooltip');
JFactory::getDocument()->addScriptDeclaration('
Joomla.submitbuttonurl = function()
{
var form = document.getElementById("adminForm");
// do field validation
if (form.install_url.value == "" || form.install_url.value ==
"http://" || form.install_url.value == "https://") {
alert("' .
JText::_('PLG_INSTALLER_URLINSTALLER_NO_URL', true) .
'");
}
else
{
JoomlaInstaller.showLoading();
form.installtype.value = "url"
form.submit();
}
};
');
?>
<legend><?php echo
JText::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?></legend>
<div class="control-group">
<label for="install_url"
class="control-label"><?php echo
JText::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?></label>
<div class="controls">
<input type="text" id="install_url"
name="install_url" class="span5 input_box"
size="70" placeholder="https://"/>
</div>
</div>
<div class="form-actions">
<input type="button" class="btn btn-primary"
id="installbutton_url"
value="<?php echo
JText::_('PLG_INSTALLER_URLINSTALLER_BUTTON'); ?>"
onclick="Joomla.submitbuttonurl()" />
</div>
PK�]�[�&���urlinstaller.phpnu�[���<?php
/**
* @package Joomla.Plugin
* @subpackage Installer.urlinstaller
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
* @license GNU General Public License version 2 or later; see
LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* UrlFolderInstaller Plugin.
*
* @since 3.6.0
*/
class PlgInstallerUrlInstaller extends JPlugin
{
/**
* Load the language file on instantiation.
*
* @var boolean
* @since 3.6.0
*/
protected $autoloadLanguage = true;
/**
* Textfield or Form of the Plugin.
*
* @return array Returns an array with the tab information
*
* @since 3.6.0
*/
public function onInstallerAddInstallationTab()
{
$tab = array();
$tab['name'] = 'url';
$tab['label'] =
JText::_('PLG_INSTALLER_URLINSTALLER_TEXT');
// Render the input
ob_start();
include JPluginHelper::getLayoutPath('installer',
'urlinstaller');
$tab['content'] = ob_get_clean();
return $tab;
}
}
PK�]�['{jsMMurlinstaller.xmlnu�[���<?xml
version="1.0" encoding="utf-8"?>
<extension version="3.6" type="plugin"
group="installer">
<name>PLG_INSTALLER_URLINSTALLER</name>
<author>Joomla! Project</author>
<creationDate>May 2016</creationDate>
<copyright>Copyright (C) 2005 - 2020 Open Source Matters. All rights
reserved.</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>
<files>
<filename
plugin="urlinstaller">urlinstaller.php</filename>
</files>
<languages>
<language
tag="en-GB">en-GB.plg_installer_urlinstaller.ini</language>
<language
tag="en-GB">en-GB.plg_installer_urlinstaller.sys.ini</language>
</languages>
</extension>
PK�]�[�&�\\tmpl/default.phpnu�[���PK�]�[�&����urlinstaller.phpnu�[���PK�]�['{jsMM� urlinstaller.xmlnu�[���PK�L