element('side_menu', array('menuList' => 'event', 'menuItem' => 'viewEvent', 'mayModify' => $mayModify, 'mayPublish' => $mayPublish)); ?>
Date | Category | Type | Value | Comment | Related Events | IDS | Distribution | Actions | |
---|---|---|---|---|---|---|---|---|---|
Html->link($filename, array('controller' => 'attributes', 'action' => 'download', $attribute['id'])); } else { echo $this->Html->link($filenameHash[0], array('controller' => 'attributes', 'action' => 'download', $attribute['id'])); } if (isset($filenameHash[1])) echo ' | ' . $filenameHash[1]; } elseif (strpos($attribute['type'], '|') !== false) { $filenameHash = explode('|', $attribute['value']); echo h($filenameHash[0]); if (isset($filenameHash[1])) echo ' | ' . $filenameHash[1]; } elseif ('vulnerability' == $attribute['type']) { if (! is_null(Configure::read('MISP.cveurl'))) { $cveUrl = Configure::read('MISP.cveurl'); } else { $cveUrl = "http://www.google.com/search?q="; } echo $this->Html->link(h($sigDisplay), h($cveUrl) . h($sigDisplay), array('target' => '_blank')); } elseif ('link' == $attribute['type']) { echo $this->Html->link(h($sigDisplay), h($sigDisplay)); } else { $sigDisplay = str_replace("\r", '', $sigDisplay); echo nl2br(h($sigDisplay)); } ?> |
|
Html->link('', array('controller' => 'attributes', 'action' => 'edit', $attribute['id']), array('class' => 'icon-edit', 'title' => 'Edit')); echo $this->Form->postLink('', array('controller' => 'attributes', 'action' => 'delete', $attribute['id']), array('class' => 'icon-trash', 'title' => 'Delete'), __('Are you sure you want to delete this attribute? Keep in mind that this will also delete this attribute on remote MISP instances.')); } else { echo $this->Html->link('', array('controller' => 'shadow_attributes', 'action' => 'edit', $attribute['id']), array('class' => 'icon-edit', 'title' => 'Propose Edit')); } ?> | |||||||
  | Html->link($filename, array('controller' => 'attributes', 'action' => 'download', $shadowAttribute['id'])); } else { echo $this->Html->link($filenameHash[0], array('controller' => 'attributes', 'action' => 'download', $shadowAttribute['id'])); } if (isset($filenameHash[1])) echo ' | ' . $filenameHash[1]; } elseif (strpos($shadowAttribute['type'], '|') !== false) { $filenameHash = explode('|', $shadowAttribute['value']); echo h($filenameHash[0]); if (isset($filenameHash[1])) echo ' | ' . $filenameHash[1]; } elseif ('vulnerability' == $shadowAttribute['type']) { echo $this->Html->link(h($sigDisplay), 'http://www.google.com/search?q=' . h($sigDisplay), array('target' => '_blank')); } elseif ('link' == $shadowAttribute['type']) { echo $this->Html->link(h($sigDisplay), h($sigDisplay)); } else { echo nl2br(h($sigDisplay)); } } ?> | Form->postLink('', array('controller' => 'shadow_attributes', 'action' => 'accept', $shadowAttribute['id']), array('class' => 'icon-ok', 'title' => 'Accept'), 'Are you sure you want to accept this proposal?'); } if (($event['Event']['orgc'] == $me['org'] && $mayModify) || $isSiteAdmin || ($shadowAttribute['org'] == $me['org'])) { echo $this->Form->postLink('', array('controller' => 'shadow_attributes', 'action' => 'discard', $shadowAttribute['id']), array('class' => 'icon-trash', 'title' => 'Discard'), 'Are you sure you want to discard this proposal?'); } ?> | |||||||
Html->link($filename, array('controller' => 'shadow_attributes', 'action' => 'download', $remain['id'])); } else { echo $this->Html->link($filenameHash[0], array('controller' => 'shadow_attributes', 'action' => 'download', $remain['id'])); } if (isset($filenameHash[1])) echo ' | ' . $filenameHash[1]; } elseif (strpos($remain['type'], '|') !== false) { $filenameHash = explode('|', $remain['value']); echo h($filenameHash[0]); if (isset($filenameHash[1])) echo ' | ' . $filenameHash[1]; } elseif ('vulnerability' == $remain['type']) { echo $this->Html->link(h($sigDisplay), 'http://www.google.com/search?q=' . h($sigDisplay), array('target' => '_blank')); } elseif ('link' == $remain['type']) { echo $this->Html->link(h($sigDisplay), h($sigDisplay)); } else { echo nl2br(h($sigDisplay)); } ?> | Form->postLink('', array('controller' => 'shadow_attributes', 'action' => 'accept', $remain['id']), array('class' => 'icon-ok', 'title' => 'Accept'), 'Are you sure you want to accept this proposal?'); } if (($event['Event']['orgc'] == $me['org'] && $mayModify) || $isSiteAdmin || ($remain['org'] == $me['org'])) { echo $this->Form->postLink('', array('controller' => 'shadow_attributes', 'action' => 'discard', $remain['id']), array('class' => 'icon-trash', 'title' => 'Discard'), 'Are you sure you want to discard this proposal?'); } ?> |