Elastic: set some checkbox classes

pull/6040/head
Aleksander Machniak 7 years ago
parent 7a95b148f8
commit e6fd3982f6

@ -858,6 +858,7 @@ class enigma_ui
$chbox->show($this->rc->config->get('enigma_sign_all') ? 1 : 0, array( $chbox->show($this->rc->config->get('enigma_sign_all') ? 1 : 0, array(
'name' => '_enigma_sign', 'name' => '_enigma_sign',
'id' => 'enigmasignopt', 'id' => 'enigmasignopt',
'class' => 'form-check-input',
'disabled' => in_array('sign', $locks), 'disabled' => in_array('sign', $locks),
)))); ))));
@ -868,6 +869,7 @@ class enigma_ui
$chbox->show($this->rc->config->get('enigma_encrypt_all') ? 1 : 0, array( $chbox->show($this->rc->config->get('enigma_encrypt_all') ? 1 : 0, array(
'name' => '_enigma_encrypt', 'name' => '_enigma_encrypt',
'id' => 'enigmaencryptopt', 'id' => 'enigmaencryptopt',
'class' => 'form-check-input',
'disabled' => in_array('encrypt', $locks), 'disabled' => in_array('encrypt', $locks),
)))); ))));
@ -878,6 +880,7 @@ class enigma_ui
$chbox->show($this->rc->config->get('enigma_attach_pubkey') ? 1 : 0, array( $chbox->show($this->rc->config->get('enigma_attach_pubkey') ? 1 : 0, array(
'name' => '_enigma_attachpubkey', 'name' => '_enigma_attachpubkey',
'id' => 'enigmaattachpubkeyopt', 'id' => 'enigmaattachpubkeyopt',
'class' => 'form-check-input',
'disabled' => in_array('pubkey', $locks), 'disabled' => in_array('pubkey', $locks),
)))); ))));

Loading…
Cancel
Save