diff --git a/app/Config/bootstrap.default.php b/app/Config/bootstrap.default.php index 86e8b0284..f5a0e7af3 100755 --- a/app/Config/bootstrap.default.php +++ b/app/Config/bootstrap.default.php @@ -141,6 +141,7 @@ Configure::write('MISP.default_attribute_distribution', 'event'); // Enable the tagging feature, it shou Configure::write('MISP.tagging', true); +Configure::write('MISP.full_tags_on_event_index', false); // enabling this flag will allow the event description to be transmitted in the alert e-mail's subject. Be aware that this is not encrypted by PGP, so only enable it if you accept that part of the event description will be sent out in clear-text Configure::write('MISP.extended_alert_subject', false); diff --git a/app/Controller/EventsController.php b/app/Controller/EventsController.php index 77b226e18..5887cc73d 100755 --- a/app/Controller/EventsController.php +++ b/app/Controller/EventsController.php @@ -235,6 +235,8 @@ class EventsController extends AppController { $this->set('eventDescriptions', $this->Event->fieldDescriptions); $this->set('analysisLevels', $this->Event->analysisLevels); $this->set('distributionLevels', $this->Event->distributionLevels); + $shortDist = array(0 => 'Organisation', 1 => 'Community', 2 => 'Connected', 3 => 'All'); + $this->set('shortDist', $shortDist); } public function filterEventIndex() { @@ -316,7 +318,6 @@ class EventsController extends AppController { } else { $this->set('showorg', false); } - $rules = $this->_arrayToValuesIndexArray($rules); $this->set('tags', $tagNames); $this->set('tagJSON', json_encode($tagJSON)); diff --git a/app/View/Events/index.ctp b/app/View/Events/index.ctp index 8550de398..95148f482 100755 --- a/app/View/Events/index.ctp +++ b/app/View/Events/index.ctp @@ -112,17 +112,20 @@   - + - - -   + + + - +   @@ -146,8 +149,8 @@   - - + +