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

View File

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