CoreFiles by mySites.guru
default.php46 lines, 1,385 bytes, from Joomla_4.0.0-beta4-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta3
md5
30f900fef9bd51b9f3b366320dd54433
sha1
d1fdf166b12273305dc58df131f180abba1759f2
sha256
0ca1e34a5eede062045a125f5be956b7aa322c78b973eedf295a6ca9d10b8430
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Installer.folderinstaller
 *
 * @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;

use Joomla\CMS\Language\Text;

/** @var PlgInstallerFolderInstaller $this */

Text::script('PLG_INSTALLER_FOLDERINSTALLER_NO_INSTALL_PATH');

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

?>
<legend><?php echo Text::_('PLG_INSTALLER_FOLDERINSTALLER_TEXT'); ?></legend>
<hr>
<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->app->input->get('install_directory', $this->app->get('tmp_path')); ?>">
	</div>
</div>
<hr>
<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 2 releases, Joomla 4.0.0-beta4 to 4.0.0-beta5. See them all, or every version of this file.