mirror of https://github.com/MISP/MISP
fix: [UI] Provide proper description for S/MIME cert
parent
5d994f8799
commit
aa58de115f
|
@ -71,7 +71,7 @@
|
|||
?>
|
||||
<div class="clear"><span role="button" tabindex="0" aria-label="<?php echo __('Fetch the user\'s GnuPG key');?>" onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;"><?php echo __('Fetch GnuPG key');?></span></div>
|
||||
<?php
|
||||
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => __('SMIME key'), 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => __('Paste the user\'s SMIME public key in PEM format here.')));
|
||||
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => __('S/MIME Public certificate (PEM format)'), 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => __('Paste the user\'s S/MIME public key in PEM format here.')));
|
||||
$default_publish_alert = Configure::check('MISP.default_publish_alert') ? Configure::read('MISP.default_publish_alert') : true;
|
||||
echo $this->Form->input('autoalert', array(
|
||||
'label' => __('Receive alerts when events are published'),
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
?>
|
||||
<div class="clear"><span role="button" tabindex="0" aria-label="<?php echo __('Fetch the user\'s GnuPG key');?>" onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;"><?php echo __('Fetch GnuPG key');?></span></div>
|
||||
<?php
|
||||
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => __('SMIME key'), 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => __('Paste the user\'s SMIME public key in PEM format here.')));
|
||||
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => __('S/MIME Public certificate (PEM format)'), 'div' => 'clear', 'class' => 'input-xxlarge', 'placeholder' => __('Paste the user\'s S/MIME public key in PEM format here.')));
|
||||
echo $this->Form->input('termsaccepted', array('type' => 'checkbox', 'label' => __('Terms accepted')));
|
||||
echo $this->Form->input('change_pw', array('type' => 'checkbox', 'label' => __('Change Password')));
|
||||
echo $this->Form->input('autoalert', array('label' => __('Receive alerts when events are published'), 'type' => 'checkbox'));
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
'data_path' => 'User.gpgkey'
|
||||
),
|
||||
array(
|
||||
'name' => __('SMIME'),
|
||||
'name' => __('S/MIME'),
|
||||
'element' => 'boolean',
|
||||
'sort' => 'User.certif_public',
|
||||
'class' => 'short',
|
||||
|
|
|
@ -55,7 +55,7 @@ $buttonModifyStatus = $mayModify ? 'button_on':'button_off';
|
|||
}
|
||||
$table_data[] = array(
|
||||
'key' => __('Invited By'),
|
||||
'html' => empty($user2['User']['email']) ? 'N/A' : sprintf('<a href="%s/admin/users/view/%s">%s</a>', h($user2['User']['id']), h($user2['User']['email'])),
|
||||
'html' => empty($user2['User']['email']) ? 'N/A' : sprintf('<a href="%s/admin/users/view/%s">%s</a>', $baseurl, h($user2['User']['id']), h($user2['User']['email'])),
|
||||
);
|
||||
$org_admin_data = array();
|
||||
foreach ($user['User']['orgAdmins'] as $orgAdminId => $orgAdminEmail) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
endif;
|
||||
?>
|
||||
<p><?php echo $message; ?><br />
|
||||
<?php echo $this->Form->input('firstTime', array('label' => false, 'type' => 'checkbox', 'div' => false, 'style' => 'border:0px;margin:0px;')); ?><?php echo __('First time registration');?>
|
||||
<?php echo $this->Form->input('firstTime', array('label' => false, 'type' => 'checkbox', 'div' => false, 'style' => 'border:0px;margin:0px;')); ?> <?php echo __('First time registration');?>
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
?>
|
||||
<div class="clear"><span role="button" tabindex="0" aria-label="<?php echo __('Fetch GnuPG key');?>" onClick="lookupPGPKey('UserEmail');" class="btn btn-inverse" style="margin-bottom:10px;"><?php echo __('Fetch GnuPG key');?></span></div>
|
||||
<?php
|
||||
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => __('SMIME Public certificate (PEM format)'), 'div' => 'clear', 'class' => 'input-xxlarge'));
|
||||
if (Configure::read('SMIME.enabled')) echo $this->Form->input('certif_public', array('label' => __('S/MIME Public certificate (PEM format)'), 'div' => 'clear', 'class' => 'input-xxlarge'));
|
||||
echo $this->Form->input('autoalert', array('label' => __('Receive alerts when events are published'), 'type' => 'checkbox'));
|
||||
echo $this->Form->input('contactalert', array('label' => __('Receive alerts from "contact reporter" requests'), 'type' => 'checkbox'));
|
||||
?>
|
||||
|
|
|
@ -2615,7 +2615,7 @@ table tr:hover .down-expand-button {
|
|||
color: rgb(35,120,40);
|
||||
}
|
||||
|
||||
#UserGpgkey {
|
||||
#UserGpgkey, #UserCertifPublic {
|
||||
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
||||
font-size: 100%;
|
||||
width: 45em;
|
||||
|
|
Loading…
Reference in New Issue