Skip to content

Commit

Permalink
Use bdi also for schema and update versions of database checker
Browse files Browse the repository at this point in the history
  • Loading branch information
richard67 committed Oct 23, 2021
1 parent 6c35602 commit 9cb8430
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
<?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>
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_ERROR', '<bdi>' . $this->schemaVersion . '</bdi>', '<bdi>' . $this->changeSet->getSchema() . '</bdi>'); ?></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>
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATEVERSION_ERROR', '<bdi>' . $this->updateVersion . '</bdi>', '<bdi>' . JVERSION . '</bdi>'); ?></li>
<?php endif; ?>

<?php foreach ($this->errors as $line => $error) : ?>
Expand All @@ -58,8 +58,8 @@
<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_SCHEMA_VERSION', '<bdi>' . $this->schemaVersion . '</bdi>'); ?></li>
<li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATE_VERSION', '<bdi>' . $this->updateVersion . '</bdi>'); ?></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>
Expand Down

0 comments on commit 9cb8430

Please sign in to comment.