mirror of https://github.com/MISP/MISP
parent
2a12a5db3e
commit
5d37e93eb6
|
@ -272,6 +272,8 @@ class EventsController extends AppController {
|
|||
// passing type and category definitions (explanations)
|
||||
$this->set('typeDefinitions', $this->Attribute->typeDefinitions);
|
||||
$this->set('categoryDefinitions', $this->Attribute->categoryDefinitions);
|
||||
|
||||
$this->set('distributionDescriptions', $this->Event->distributionDescriptions);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -59,7 +59,7 @@ if ($isAdmin || $mayPublish) {
|
|||
<?php if ('true' == Configure::read('CyDefSIG.private')): ?>
|
||||
<dt>Distribution</dt>
|
||||
<dd>
|
||||
<?php echo ($event['Event']['distribution'] == 'All') ? 'All, to be distributed to other connected CyDefSIG servers.' : (($event['Event']['distribution'] == 'Community') ? 'Community, event visible to all on this CyDefSIG instance but will not be shared past it.' : 'Org, only organization memebers will see the event.'); ?>
|
||||
<?php echo $event['Event']['distribution'] . ', ' . lcfirst($distributionDescriptions[$event['Event']['distribution']]['formdesc']) . '.'; ?>
|
||||
|
||||
</dd>
|
||||
<?php else: ?>
|
||||
|
|
Loading…
Reference in New Issue