mirror of https://github.com/MISP/MISP
use consistent spacing around else
parent
7cadf8340c
commit
e600df3262
|
@ -553,7 +553,7 @@ class User extends AppModel {
|
|||
// openssl_pkcs7_encrypt good -- Model/User expired;
|
||||
$results[$user['User']['id']][0] = true;
|
||||
}
|
||||
} else{
|
||||
} else {
|
||||
// openssl_pkcs7_encrypt NOT good -- Model/User
|
||||
$results[$user['User']['id']][0] = true;
|
||||
}
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
$gpgpath = ROOT.DS.APP_DIR.DS.WEBROOT_DIR.DS.'gpg.asc';
|
||||
if (file_exists($gpgpath) && is_file($gpgpath)){ ?>
|
||||
<span>Download: <?php echo $this->Html->link('PGP/GPG key', $this->webroot.'gpg.asc');?></span>
|
||||
<?php }else{ ?>
|
||||
<?php } else { ?>
|
||||
<span>Could not locate the PGP/GPG public key.</span>
|
||||
<?php }
|
||||
if (Configure::read('SMIME.enabled')):
|
||||
$smimepath = ROOT.DS.APP_DIR.DS.WEBROOT_DIR.DS.'public_certificate.pem';
|
||||
if (file_exists($smimepath) && is_file($smimepath)){ ?>
|
||||
<span>Download: <?php echo $this->Html->link('SMIME certificate', $this->webroot.'public_certificate.pem');?></span>
|
||||
<?php }else{ ?>
|
||||
<?php } else { ?>
|
||||
<span>Could not locate SMIME certificate.</span>
|
||||
<?php }
|
||||
endif;
|
||||
|
|
Loading…
Reference in New Issue