- md5
- 94055ecaefe25fe82d5ccd87e99049b5
- sha1
- 63f3cb3470dca478fdd118fa8e4e5642069ea888
- sha256
- a873bd779f3f220f6ae087acf6b0a8c5e5df2b2a530ba46313660dc6c37f851b
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
<?php
/**
* @package Joomla.Administrator
* @subpackage com_installer
*
* @copyright Copyright (C) 2005 - 2012 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">
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=warnings');?>" method="post" name="adminForm" id="adminForm">
<?php if ($this->errorCount === 0) : ?>
<p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_OK'); ?></p>
<?php echo JHtml::_('sliders.start', 'database-sliders', array('useCookie' => 1)); ?>
<?php else : ?>
<p class="warning"><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_ERRORS'); ?></p>
<?php echo JHtml::_('sliders.start', 'database-sliders', array('useCookie' => 1)); ?>
<?php $panelName = JText::plural('COM_INSTALLER_MSG_N_DATABASE_ERROR_PANEL', $this->errorCount); ?>
<?php echo JHtml::_('sliders.panel', $panelName, 'error-panel'); ?>
<fieldset class="panelform">
<ul>
<?php if (!$this->filterParams) : ?>
<li><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_FILTER_ERROR'); ?>
<?php endif; ?>
<?php if (!(strncmp($this->schemaVersion, JVERSION, 5) === 0)) : ?>
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_ERROR', $this->schemaVersion, JVERSION); ?></li>
<?php endif; ?>
<?php if (($this->updateVersion != JVERSION)) : ?>
<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 = (isset($msgs[0])) ? $msgs[0] : ' ';
$msg1 = (isset($msgs[1])) ? $msgs[1] : ' ';
$msg2 = (isset($msgs[2])) ? $msgs[2] : ' ';
$message = JText::sprintf($key, $file, $msg0, $msg1, $msg2); ?>
<li><?php echo $message; ?></li>
<?php endforeach; ?>
</ul>
</fieldset>
<?php endif; ?>
<?php echo JHtml::_('sliders.panel', JText::_('COM_INSTALLER_MSG_DATABASE_INFO'), 'furtherinfo-pane'); ?>
<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>
<?php echo JHtml::_('sliders.end'); ?>
<div class="clr"> </div>
<div>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
</div>
The same content is in 2 releases, Joomla 3.0.0 to 3.0.1. See them all, or every version of this file.