Skip to content

Commit

Permalink
[4.0] click to check the checkbox in com_cache (#33413)
Browse files Browse the repository at this point in the history
* class-attribute two to one

* add previous label
  • Loading branch information
rjharishabh authored Apr 30, 2021
1 parent 441f2e3 commit 08c4dd1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions administrator/components/com_cache/tmpl/cache/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Router\Route;

HTMLHelper::_('behavior.multiselect');

/** @var \Joomla\Component\Cache\Administrator\View\Cache\HtmlView $this */

$listOrder = $this->escape($this->state->get('list.ordering'));
Expand Down Expand Up @@ -66,9 +68,9 @@
<tbody>
<?php $i = 0; ?>
<?php foreach ($this->data as $folder => $item) : ?>
<tr>
<tr class="row<?php echo $i % 2; ?>">
<td>
<input class="form-check-input" type="checkbox" id="cb<?php echo $i; ?>" name="cid[]" value="<?php echo $this->escape($item->group); ?>" class="cache-entry">
<input class="form-check-input cache-entry" type="checkbox" id="cb<?php echo $i; ?>" name="cid[]" value="<?php echo $this->escape($item->group); ?>">
</td>
<th scope="row">
<label for="cb<?php echo $i; ?>">
Expand Down

0 comments on commit 08c4dd1

Please sign in to comment.