mirror of https://github.com/MISP/MISP
Distribution field in event view shortened
- now only shows the distribution level name - the description is in the title of the field, hovering over it will show itpull/274/merge
parent
0b04c6369c
commit
72ec7cc3e1
|
@ -136,8 +136,10 @@ $mayPublish = ($isAclPublish && $event['Event']['orgc'] == $me['org']);
|
|||
|
||||
</dd>
|
||||
<dt>Distribution</dt>
|
||||
<dd <?php if($event['Event']['distribution'] == 0) echo 'class = "privateRedText"';?>>
|
||||
<?php echo h($distributionLevels[$event['Event']['distribution']] . ', ' . strtolower(substr(($distributionDescriptions[$event['Event']['distribution']]['formdesc']), 0, 1)) . substr($distributionDescriptions[$event['Event']['distribution']]['formdesc'], 1) . '.'); ?>
|
||||
<dd <?php if($event['Event']['distribution'] == 0) echo 'class = "privateRedText"';?> title = "<?php echo h($distributionDescriptions[$event['Event']['distribution']]['formdesc'])?>">
|
||||
<?php
|
||||
echo h($distributionLevels[$event['Event']['distribution']]);
|
||||
?>
|
||||
</dd>
|
||||
<dt>Description</dt>
|
||||
<dd>
|
||||
|
|
Loading…
Reference in New Issue