CoreFiles by mySites.guru
default.php46 lines, 1,534 bytes, from Joomla_5.2.3-Stable-Full_Package.zip
Raw History Compare with 5.2.2
md5
d101a9edd624ef67fa0c63889f32366b
sha1
0913ce9b58c3f98413b6b4ccf3038569836ea382
sha256
586c4d2211ba778921d6cc2f108df1cdcee775afc440f9fc60bd08b74cf62865
<?php

/**
 * @package     Joomla.Plugin
 * @subpackage  Installer.folderinstaller
 *
 * @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;

/** @var \Joomla\Plugin\Installer\Folder\Extension\FolderInstaller $this */

Text::script('PLG_INSTALLER_FOLDERINSTALLER_NO_INSTALL_PATH');

$this->getApplication()->getDocument()->getWebAssetManager()
    ->registerAndUseScript(
        'plg_installer_folderinstaller.folderinstaller',
        'plg_installer_folderinstaller/folderinstaller.js',
        [],
        ['defer' => true],
        ['core']
    );

?>
<legend><?php echo Text::_('PLG_INSTALLER_FOLDERINSTALLER_TEXT'); ?></legend>

<div class="control-group">
    <label for="install_directory" class="control-label">
        <?php echo Text::_('PLG_INSTALLER_FOLDERINSTALLER_TEXT'); ?>
    </label>
    <div class="controls">
        <input type="text" id="install_directory" name="install_directory" class="form-control"
            value="<?php echo $this->getApplication()->getInput()->get('install_directory', $this->getApplication()->get('tmp_path')); ?>">
    </div>
</div>
<div class="control-group">
    <div class="controls">
        <button type="button" class="btn btn-primary" id="installbutton_directory" onclick="Joomla.submitbuttonfolder()">
            <?php echo Text::_('PLG_INSTALLER_FOLDERINSTALLER_BUTTON'); ?>
        </button>
    </div>
</div>

The same content is in 135 releases, Joomla 5.1.0-alpha3 to 6.2.1-rc1. See them all, or every version of this file.