Skip to content

Commit

Permalink
[4.0] hidden-xs-up (#30837)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Oct 1, 2020
1 parent f751ed7 commit 18bdf22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/com_content/tmpl/category/default_articles.php
Expand Up @@ -67,7 +67,7 @@

<?php if ($this->params->get('filter_field') !== 'hide' || $this->params->get('show_pagination_limit')) : ?>
<fieldset class="com-content-category__filters filters btn-toolbar clearfix">
<legend class="hidden-xs-up"><?php echo Text::_('COM_CONTENT_FORM_FILTER_LEGEND'); ?></legend>
<legend class="sr-only"><?php echo Text::_('COM_CONTENT_FORM_FILTER_LEGEND'); ?></legend>
<div class="btn-group">
<?php if ($this->params->get('filter_field') !== 'hide') : ?>
<?php if ($this->params->get('filter_field') === 'tag') : ?>
Expand All @@ -87,7 +87,7 @@
<input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" onchange="document.adminForm.submit();" title="<?php echo Text::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" placeholder="<?php echo Text::_('COM_CONTENT_' . $this->params->get('filter_field') . '_FILTER_LABEL'); ?>">
<?php endif; ?>
<?php endif; ?>

<?php if ($this->params->get('show_pagination_limit')) : ?>
<div class="com-content-category__pagination btn-group float-right">
<label for="limit" class="sr-only">
Expand All @@ -96,9 +96,9 @@
<?php echo $this->pagination->getLimitBox(); ?>
</div>
<?php endif; ?>

<?php if ($this->params->get('filter_field') !== 'hide') : ?>
<div class="com-content-category__filter-submit control-group hidden-xs-up float-right">
<div class="com-content-category__filter-submit control-group float-right">
<div class="controls">
<button type="submit" name="filter_submit" class="btn btn-primary"><?php echo Text::_('COM_CONTENT_FORM_FILTER_SUBMIT'); ?></button>
</div>
Expand Down

0 comments on commit 18bdf22

Please sign in to comment.