ORIENT/modules/system/controllers/updates/_is_disabled.htm

16 lines
674 B
HTML

<label class="custom-switch" data-check="oc-disable-<?= $record->id ?>" style="margin-bottom:0">
<input data-request="onToggleDisable"
data-request-data="plugin_id: <?= $record->id ?>"
data-request-update="list_manage_toolbar: '#plugin-toolbar'"
type="checkbox"
name="disable_<?= $record->id ?>"
value="<?= $record->is_disabled ?>"
<?php if($record->is_disabled): ?>checked=checked<?php endif ?>>
<span>
<span><?= e(trans('system::lang.plugins.check_yes')) ?></span>
<span><?= e(trans('system::lang.plugins.check_no')) ?></span>
</span>
<a class="slide-button"></a>
</label>