Some css changes broke the shadow attributes

- should be fixed
pull/217/head
iglocska 2013-07-17 12:04:57 +02:00
parent 30d6bebcf8
commit 62d4addb9d
2 changed files with 7 additions and 10 deletions

View File

@ -175,8 +175,7 @@ if (!empty($event['Attribute'])):?>
<?php echo h($attribute['type']);?>
</td>
<td class="showspaces <?php echo $extra; ?>"><?php
$sigDisplay = $attribute['value'];
<td class="showspaces <?php echo $extra; ?>"><?php $sigDisplay = $attribute['value'];
if ('attachment' == $attribute['type'] || 'malware-sample' == $attribute['type'] ) {
$filenameHash = explode('|', $attribute['value']);
if (strrpos($filenameHash[0], '\\')) {
@ -264,8 +263,7 @@ if (!empty($event['Attribute'])):?>
if ($shadowAttribute['type'] != $attribute['type']) echo h($shadowAttribute['type']);
?>
</td>
<td class="showspaces highlight2">
<?php
<td class="showspaces highlight2"><?php
if ($shadowAttribute['value'] != $attribute['value']) {
$sigDisplay = $shadowAttribute['value'];
if ('attachment' == $shadowAttribute['type'] || 'malware-sample' == $shadowAttribute['type'] ) {
@ -291,8 +289,7 @@ if (!empty($event['Attribute'])):?>
echo h($sigDisplay);
}
}
?>
</td>
?></td>
<td class="short highlight2">
</td>
<td class="short highlight2">

View File

@ -236,13 +236,13 @@ td.short {
}
td.highlight1 {
background-color: #0088cc;
color: #ffffff;
background-color: #0088cc !important;
color: #ffffff !important;
}
td.highlight2 {
background-color: #747170;
color: #ffffff;
background-color: #747170 !important;
color: #ffffff !important;
}