CoreFiles by mySites.guru
default.php88 lines, 3,755 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
e51a3339abef33b197dc5c3a8b9aee41
sha1
735efb2c2ee1f4813af77b49037f62f411c92700
sha256
5bbaa07713a61eb0bbbdaa8ef9bbca703cacf07f166698af4d8150fe312d44aa
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JHtml::_('behavior.core');
JText::script('PLG_INSTALLER_PACKAGEINSTALLER_NO_PACKAGE');
JText::script('PLG_INSTALLER_FOLDERINSTALLER_NO_INSTALL_PATH');
JText::script('PLG_INSTALLER_URLINSTALLER_NO_URL');
JText::script('COM_INSTALLER_MSG_INSTALL_ENTER_A_URL');

JHtml::_('behavior.tabstate');
JHtml::_('stylesheet', 'com_installer/installer.css', false, true);
JHtml::_('script', 'com_installer/installer.js', false, true);

$app = JFactory::getApplication();
?>

<div id="installer-install" class="clearfix">

	<form enctype="multipart/form-data" action="<?php echo JRoute::_('index.php?option=com_installer&view=install'); ?>" method="post" name="adminForm" id="adminForm">
		<div class="row">
			<div id="j-sidebar-container" class="col-md-2">
				<?php echo $this->sidebar; ?>
			</div>
			<div class="col-md-10">
				<div id="j-main-container" class="j-main-container">
					<?php // Render messages set by extension install scripts here ?>
					<?php if ($this->showMessage) : ?>
						<?php echo $this->loadTemplate('message'); ?>
					<?php elseif ($this->showJedAndWebInstaller) : ?>
						<div class="alert alert-info j-jed-message">
							<?php echo JHtml::_(
								'link',
								JRoute::_('index.php?option=com_config&view=component&component=com_installer&path=&return=' . urlencode(base64_encode(JUri::getInstance()))),
								'',
								'class="alert-options float-right hasTooltip icon-options" title="' . str_replace('"', '&quot;', JText::_('COM_INSTALLER_SHOW_JED_INFORMATION_TOOLTIP')) . '"'
							);
							?>
							<p><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_INFO'); ?>
								<?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_TOS'); ?></p>
							<button class="btn btn-primary" type="button" onclick="Joomla.submitbuttonInstallWebInstaller()">
								<?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_ADD_TAB'); ?>
							</button>
						</div>
					<?php endif; ?>
					<?php // Show installation tabs at the start ?>
					<?php $firstTab = $app->triggerEvent('onInstallerViewBeforeFirstTab', array()); ?>
					<?php $tabs = $app->triggerEvent('onInstallerAddInstallationTab', array()); ?>
					<?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => $tabs[0]['name'])); ?>
					<?php // Show installation tabs ?>
					<?php foreach ($tabs as $tab) : ?>
						<?php echo JHtml::_('bootstrap.addTab', 'myTab', $tab['name'], $tab['label']); ?>
						<fieldset class="uploadform">
							<?php echo $tab['content']; ?>
						</fieldset>
						<?php echo JHtml::_('bootstrap.endTab'); ?>
					<?php endforeach; ?>
					<?php // Show installation tabs at the end ?>
					<?php $lastTab = $app->triggerEvent('onInstallerViewAfterLastTab', array()); ?>
					<?php $tabs = array_merge($firstTab, $tabs, $lastTab); ?>
					<?php if (!$tabs) : ?>
						<?php $app->enqueueMessage(JText::_('COM_INSTALLER_NO_INSTALLATION_PLUGINS_FOUND'), 'warning'); ?>
					<?php endif; ?>

					<?php if ($this->ftp) : ?>
						<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'ftp', JText::_('COM_INSTALLER_MSG_DESCFTPTITLE')); ?>
						<?php echo $this->loadTemplate('ftp'); ?>
						<?php echo JHtml::_('bootstrap.endTab'); ?>
					<?php endif; ?>

					<input type="hidden" name="installtype" value="">
					<input type="hidden" name="task" value="install.install">
					<?php echo JHtml::_('form.token'); ?>

					<?php echo JHtml::_('bootstrap.endTabSet'); ?>
				</div>
			</div>
		</div>
	</form>
</div>
<div id="loading"></div>

No other release has this exact content. See every version of this file.