CoreFiles by mySites.guru
default.php88 lines, 3,536 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
53805bd16f85fcb599a58e7d2dfb6070
sha1
2f053feae9bff94068069a844ff7d0a408a597de
sha256
7b160903a8cd16137f8b8e3c0b6152081b2cbb7ce645ff4e3fef6b1739327dbb
<?php
/**
 * @package    Joomla.Installation
 *
 * @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\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

HTMLHelper::_('behavior.formvalidator');

/** @var \Joomla\CMS\Installation\View\Preinstall\HtmlView $this */
?>
<div id="installer-view" class="container" data-page-name="preinstall">
		<div class="row">
			<div class="col-md-12 mb-4">
				<div class="j-install-step active">
					<div class="j-install-step-header">
						<span class="fas fa-check" aria-hidden="true"></span> <?php echo Text::_('INSTL_PRECHECK_TITLE'); ?>
					</div>
					<div class="j-install-step-form">
						<?php foreach ($this->options as $option) : ?>
							<?php if ($option->state === 'JNO' || $option->state === false) : ?>
								<div class="alert preinstall-alert">
									<div class="alert-icon">
										<span class="alert-icon fas fa-exclamation-triangle" aria-hidden="true"></span>
									</div>
									<div class="alert-text">
										<strong><?php echo $option->label; ?></strong>
										<p class="form-text text-muted small"><?php echo $option->notice; ?></p>
									</div>
								</div>
							<?php endif; ?>
						<?php endforeach; ?>
					</div>
				</div>


				<?php if ($option->state === false && preg_match('$configuration.php$', $option->label)) : ?>
					<div id="ftpOptions" class="ftp-options mb-4 hidden">
						<form action="index.php" method="post" id="ftpForm" class="form-validate">
							<!-- 					<h3><?php echo Text::_('INSTL_FTP'); ?></h3>
					<hr> -->
							<div class="form-group row">
								<div class="col-md-8 offset-md-2">
									<?php echo $this->form->getLabel('ftp_user'); ?>
									<?php echo $this->form->getInput('ftp_user'); ?>
									<p class="form-text text-muted small"><?php echo Text::_('INSTL_FTP_USER_DESC'); ?></p>
								</div>
							</div>
							<div class="form-group row">
								<div class="col-md-8 offset-md-2">
									<?php echo $this->form->getLabel('ftp_pass'); ?>
									<?php echo $this->form->getInput('ftp_pass'); ?>
									<p class="form-text text-muted small"><?php echo Text::_('INSTL_FTP_PASSWORD_DESC'); ?></p>
								</div>
							</div>
							<div class="form-group row mb-4">
								<div class="col-md-8 offset-md-2">
									<?php echo $this->form->getLabel('ftp_host'); ?>
									<div class="input-append d-flex">
										<?php echo $this->form->getInput('ftp_host'); ?><button id="findbutton" class="btn btn-secondary ml-2" onclick="Joomla.installation.detectFtpRoot(this);"><span class="fas fa-folder-open"></span> <?php echo Text::_('INSTL_AUTOFIND_FTP_PATH'); ?></button>
									</div>
								</div>
							</div>
							<div class="form-group row">
								<div class="col-md-8 offset-md-2">
									<?php echo $this->form->getLabel('ftp_port'); ?>
									<?php echo $this->form->getInput('ftp_port'); ?>
								</div>
							</div>
							<div class="form-group row">
								<div class="col-md-8 offset-md-2 justify-content-end d-flex">
									<button id="verifybutton" class="btn btn-success"><span class="fas fa-check icon-white"></span> <?php echo Text::_('INSTL_VERIFY_FTP_SETTINGS'); ?></button>
								</div>
							</div>
							<input type="hidden" name="format" value="json">
							<?php echo HTMLHelper::_('form.token'); ?>
						</form>
					</div>
				<?php endif; ?>
			</div>
		</div>
</div>

The same content is in 3 releases, Joomla 4.0.0-beta3 to 4.0.0-beta5. See them all, or every version of this file.