mirror of https://github.com/MISP/MISP
parent
c604241487
commit
93b39eb76d
|
@ -29,7 +29,7 @@
|
|||
echo $this->Form->input('to_ids', array(
|
||||
'checked' => false,
|
||||
'data-content' => isset($attrDescriptions['signature']['formdesc']) ? $attrDescriptions['signature']['formdesc'] : $attrDescriptions['signature']['desc'],
|
||||
'label' => 'IDS Signature?',
|
||||
'label' => 'IOC',
|
||||
));
|
||||
echo $this->Form->input('batch_import', array(
|
||||
'type' => 'checkbox',
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
echo $this->Form->input('to_ids', array(
|
||||
'checked' => true,
|
||||
'data-content' => isset($attrDescriptions['signature']['formdesc']) ? $attrDescriptions['signature']['formdesc'] : $attrDescriptions['signature']['desc'],
|
||||
'label' => 'IDS Signature?',
|
||||
'label' => 'IOC',
|
||||
));
|
||||
echo $this->Form->input('batch_import', array(
|
||||
'type' => 'checkbox',
|
||||
|
|
|
@ -33,7 +33,7 @@ if ($isSearch == 1) {
|
|||
<th><?php echo $this->Paginator->sort('type');?></th>
|
||||
<th><?php echo $this->Paginator->sort('value');?></th>
|
||||
<th<?php echo ' title="' . $attrDescriptions['signature']['desc'] . '"';?>>
|
||||
<?php echo $this->Paginator->sort('signature');?></th>
|
||||
<?php echo $this->Paginator->sort('IOC');?></th>
|
||||
<th class="actions">Actions</th>
|
||||
</tr>
|
||||
<?php
|
||||
|
|
|
@ -10,12 +10,11 @@
|
|||
*/
|
||||
|
||||
$imgId = h($id);
|
||||
$imgRelativePath = 'orgs' . DS . $imgId . '.png';
|
||||
$imgRelativePath = 'orgs/' . $imgId . '.png';
|
||||
$imgAbsolutePath = APP . WEBROOT_DIR . DS . 'img' . DS . $imgRelativePath;
|
||||
$imgExtraOptions = array('style' => 'float:right;');
|
||||
|
||||
if (file_exists($imgAbsolutePath)) {
|
||||
echo $this->Html->image($imgRelativePath, Set::merge(array('alt' => $imgId,'width' => '48', 'hight' => '48'), $imgExtraOptions));
|
||||
echo $this->Html->image($imgRelativePath, Set::merge(array('alt' => $imgId,'width' => '48', 'height' => '48'), $imgExtraOptions));
|
||||
} else {
|
||||
echo $this->Html->tag('span', $imgId, Set::merge(array('class' => 'img'), $imgExtraOptions));
|
||||
}
|
|
@ -145,7 +145,7 @@ if (!empty($event['Attribute'])):?>
|
|||
<th>Type</th>
|
||||
<th>Value</th>
|
||||
<th>Related Events</th>
|
||||
<th title="<?php echo $attrDescriptions['signature']['desc'];?>">IDS Signature</th>
|
||||
<th title="<?php echo $attrDescriptions['signature']['desc'];?>">IOC</th>
|
||||
<th title="<?php echo $attrDescriptions['private']['desc'];?>">Distribution</th>
|
||||
<th class="actions">Actions</th>
|
||||
</tr><?php
|
||||
|
|
Loading…
Reference in New Issue