CoreFiles by mySites.guru
default.php76 lines, 3,413 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
c6310f56eb78e5580e2cffa253b4d2f6
sha1
34a45a2a6764995c7c3befb985acbf5486bc44fb
sha256
31c7adaa3629ab0aed5b26122b165e508b4a208e34912877bb0e3cd4a48f5725
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

?>
<div id="installer-database" class="clearfix">
	<form action="<?php echo JRoute::_('index.php?option=com_installer&view=database'); ?>" 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 if ($this->errorCount === 0) : ?>
					<?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'other')); ?>
				<?php else : ?>
					<?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'problems')); ?>
					<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'problems', JText::plural('COM_INSTALLER_MSG_N_DATABASE_ERROR_PANEL', $this->errorCount)); ?>
						<fieldset class="panelform">
							<ul>
								<?php if (!$this->filterParams) : ?>
									<li><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_FILTER_ERROR'); ?></li>
								<?php endif; ?>

								<?php if ($this->schemaVersion != $this->changeSet->getSchema()) : ?>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_ERROR', $this->schemaVersion, $this->changeSet->getSchema()); ?></li>
								<?php endif; ?>

								<?php if (version_compare($this->updateVersion, JVERSION) != 0) : ?>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATEVERSION_ERROR', $this->updateVersion, JVERSION); ?></li>
								<?php endif; ?>

								<?php foreach ($this->errors as $line => $error) : ?>
									<?php $key = 'COM_INSTALLER_MSG_DATABASE_' . $error->queryType;
									$msgs = $error->msgElements;
									$file = basename($error->file);
									$msg0 = $msgs[0] ?? ' ';
									$msg1 = $msgs[1] ?? ' ';
									$msg2 = $msgs[2] ?? ' ';
									$message = JText::sprintf($key, $file, $msg0, $msg1, $msg2); ?>
									<li><?php echo $message; ?></li>
								<?php endforeach; ?>
							</ul>
						</fieldset>
					<?php echo JHtml::_('bootstrap.endTab'); ?>
				<?php endif; ?>
					<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'other', JText::_('COM_INSTALLER_MSG_DATABASE_INFO')); ?>
						<div class="control-group">
							<fieldset class="panelform">
								<ul>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_VERSION', $this->schemaVersion); ?></li>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATE_VERSION', $this->updateVersion); ?></li>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_DRIVER', JFactory::getDbo()->name); ?></li>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_CHECKED_OK', count($this->results['ok'])); ?></li>
									<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SKIPPED', count($this->results['skipped'])); ?></li>
								</ul>
							</fieldset>
						</div>
						<?php echo JHtml::_('bootstrap.endTab'); ?>
					<?php echo JHtml::_('bootstrap.endTabSet'); ?>

					<input type="hidden" name="task" value="">
					<input type="hidden" name="boxchecked" value="0">
					<?php echo JHtml::_('form.token'); ?>
				</div>
			</div>
		</div>
	</form>
</div>

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