Skip to content

Commit

Permalink
[a11y & c/s] Module settings (#19128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy authored and Michael Babker committed Dec 23, 2017
1 parent e25b307 commit 3967dad
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions components/com_config/view/modules/tmpl/default.php
Expand Up @@ -48,22 +48,22 @@ class="form-validate">
<div class="btn-group">
<button type="button" class="btn btn-primary"
onclick="Joomla.submitbutton('config.save.modules.apply')">
<span class="icon-apply"></span>
<?php echo JText::_('JAPPLY') ?>
<span class="icon-apply" aria-hidden="true"></span>
<?php echo JText::_('JAPPLY'); ?>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn"
onclick="Joomla.submitbutton('config.save.modules.save')">
<span class="icon-save"></span>
<?php echo JText::_('JSAVE') ?>
<span class="icon-save" aria-hidden="true"></span>
<?php echo JText::_('JSAVE'); ?>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn"
onclick="Joomla.submitbutton('config.cancel.modules')">
<span class="icon-cancel"></span>
<?php echo JText::_('JCANCEL') ?>
<span class="icon-cancel" aria-hidden="true"></span>
<?php echo JText::_('JCANCEL'); ?>
</button>
</div>
</div>
Expand All @@ -73,11 +73,11 @@ class="form-validate">
<legend><?php echo JText::_('COM_CONFIG_MODULES_SETTINGS_TITLE'); ?></legend>

<div>
<?php echo JText::_('COM_CONFIG_MODULES_MODULE_NAME') ?>
<span class="label label-default"><?php echo $this->item['title'] ?></span>
<?php echo JText::_('COM_CONFIG_MODULES_MODULE_NAME'); ?>
<span class="label label-default"><?php echo $this->item['title']; ?></span>
&nbsp;&nbsp;
<?php echo JText::_('COM_CONFIG_MODULES_MODULE_TYPE') ?>
<span class="label label-default"><?php echo $this->item['module'] ?></span>
<?php echo JText::_('COM_CONFIG_MODULES_MODULE_TYPE'); ?>
<span class="label label-default"><?php echo $this->item['module']; ?></span>
</div>
<hr />

Expand Down Expand Up @@ -111,8 +111,7 @@ class="form-validate">

<hr />

<?php
if (JFactory::getUser()->authorise('core.edit.state', 'com_modules.module.' . $this->item['id'])) : ?>
<?php if (JFactory::getUser()->authorise('core.edit.state', 'com_modules.module.' . $this->item['id'])) : ?>
<div class="control-group">
<div class="control-label">
<?php echo $this->form->getLabel('published'); ?>
Expand Down

0 comments on commit 3967dad

Please sign in to comment.