Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion layouts/joomla/form/field/checkboxes.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<fieldset id="<?php echo $id; ?>" class="<?php echo trim($class . ' checkboxes'); ?>"
<?php echo $required ? 'required' : ''; ?>
<?php echo $autofocus ? 'autofocus' : ''; ?>>
<legend><?php echo $label; ?></legend>

<?php foreach ($options as $i => $option) : ?>
<?php
Expand All @@ -78,8 +79,8 @@
$attributes = array_filter(array($checked, $optionClass, $optionDisabled, $onchange, $onclick));
?>
<div class="form-check form-check-inline">
<?php echo sprintf($format, $oid, $name, $value, implode(' ', $attributes)); ?>
<label for="<?php echo $oid; ?>" class="form-check-label">
<?php echo sprintf($format, $oid, $name, $value, implode(' ', $attributes)); ?>
<?php echo $option->text; ?>
</label>
</div>
Expand Down
1 change: 1 addition & 0 deletions plugins/editors/codemirror/codemirror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
name="fullScreenMod"
type="checkboxes"
label="PLG_CODEMIRROR_FIELD_FULLSCREEN_MOD_LABEL"
hiddenLabel="true"
filter="options"
>
<option value="Shift">PLG_CODEMIRROR_FIELD_VALUE_FULLSCREEN_MOD_SHIFT</option>
Expand Down