Skip to content

Commit

Permalink
refs vufind-org#2999 sync checkbox examples with dev - should be chan…
Browse files Browse the repository at this point in the history
…ged in following PRs
  • Loading branch information
RLangeUni committed Oct 18, 2024
1 parent d614377 commit 3a9b9d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/record/checkbox.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<label class="record-checkbox hidden-print">
<input class="checkbox-select-item" type="checkbox" name="ids[]" value="<?=$this->escapeHtmlAttr($this->id) ?>"<?php if (isset($this->formAttr)): ?> form="<?=$this->formAttr ?>"<?php endif; ?><?php if (isset($this->checkboxElementId)): ?> aria-describedby="<?=$this->escapeHtmlAttr($this->checkboxElementId) ?>"<?php endif; ?> aria-label="<?=$this->transEscAttr('select_item')?>">
<input class="checkbox-select-item" type="checkbox" name="ids[]" value="<?=$this->escapeHtmlAttr($this->id) ?>"<?php if (isset($this->formAttr)): ?> form="<?=$this->formAttr ?>"<?php endif; ?> aria-label="<?=$this->transEscAttr('select_item')?>">
<span class="checkbox-icon"></span>
<?php if (strlen($this->number ?? '') > 0): ?><span class="sr-only"><?=$this->transEsc('result_checkbox_label', ['%%number%%' => $this->number]) ?></span><?php endif; ?>
</label>
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/record/checkbox.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<label class="record-checkbox hidden-print">
<input class="checkbox-select-item" type="checkbox" name="ids[]" value="<?=$this->escapeHtmlAttr($this->id) ?>"<?php if (isset($this->formAttr)): ?> form="<?=$this->formAttr ?>"<?php endif; ?><?php if (isset($this->checkboxElementId)): ?> aria-describedby="<?=$this->escapeHtmlAttr($this->checkboxElementId) ?>"<?php endif; ?> aria-label="<?=$this->transEscAttr('select_item')?>">
<input class="checkbox-select-item" type="checkbox" name="ids[]" value="<?=$this->escapeHtmlAttr($this->id) ?>"<?php if (isset($this->formAttr)): ?> form="<?=$this->formAttr ?>"<?php endif; ?> aria-label="<?=$this->transEscAttr('select_item')?>">
<span class="checkbox-icon"></span>
<?php if (strlen($this->number ?? '') > 0): ?><span class="sr-only"><?=$this->transEsc('result_checkbox_label', ['%%number%%' => $this->number]) ?></span><?php endif; ?>
</label>
Expand Down

0 comments on commit 3a9b9d5

Please sign in to comment.