Skip to content

Commit

Permalink
RTL support in Hathor #16844 Redo
Browse files Browse the repository at this point in the history
  • Loading branch information
roland-d committed Jul 6, 2017
1 parent 2dd79fc commit 34dc757
Showing 1 changed file with 7 additions and 3 deletions.
Expand Up @@ -141,11 +141,15 @@
<?php echo $this->pagination->getListFooter(); ?>
<p class="footer-tip">
<?php if ($this->enabled && $this->collect_urls_enabled) : ?>
<span class="enabled"><?php echo JText::_('COM_REDIRECT_PLUGIN_ENABLED'); ?></span>
<span class="enabled"><?php echo JText::sprintf('COM_REDIRECT_COLLECT_URLS_ENABLED', JText::_('COM_REDIRECT_PLUGIN_ENABLED')); ?></span>
<?php elseif ($this->enabled && !$this->collect_urls_enabled) : ?>
<span class="enabled"><?php echo JText::_('COM_REDIRECT_PLUGIN_ENABLED'); ?></span>
<span class="enabled"><?php echo JText::sprintf('COM_REDIRECT_COLLECT_URLS_DISABLED', 'index.php?option=com_plugins&task=plugin.edit&extension_id=' . RedirectHelper::getRedirectPluginId()); ?></span>
<?php $link = JHtml::_(
'link',
JRoute::_('index.php?option=com_plugins&task=plugin.edit&extension_id=' . RedirectHelper::getRedirectPluginId()),
JText::_('COM_REDIRECT_SYSTEM_PLUGIN')
);
?>
<span class="enabled"><?php echo JText::sprintf('COM_REDIRECT_COLLECT_MODAL_URLS_DISABLED', JText::_('COM_REDIRECT_PLUGIN_ENABLED'), $link); ?></span>
<?php elseif (!$this->enabled) : ?>
<span class="disabled"><?php echo JText::sprintf('COM_REDIRECT_PLUGIN_DISABLED', 'index.php?option=com_plugins&task=plugin.edit&extension_id=' . RedirectHelper::getRedirectPluginId()); ?></span>
<?php endif; ?>
Expand Down

0 comments on commit 34dc757

Please sign in to comment.