mirror of https://github.com/MISP/MISP
show org for admin
parent
b0bb827261
commit
cd78cb260f
|
@ -3,7 +3,7 @@
|
|||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<th><?php echo $this->Paginator->sort('id');?></th>
|
||||
<?php if ('true' == Configure::read('CyDefSIG.showorg')): ?>
|
||||
<?php if ('true' == Configure::read('CyDefSIG.showorg') || $isAdmin): ?>
|
||||
<th><?php echo $this->Paginator->sort('org');?></th>
|
||||
<?php endif; ?>
|
||||
<th><?php echo $this->Paginator->sort('date');?></th>
|
||||
|
@ -21,7 +21,7 @@
|
|||
?>
|
||||
<tr<?php echo $class;?> onclick="document.location ='<?php echo $this->Html->url(array('action' => 'view', $event['Event']['id']), true) ;?>';">
|
||||
<td style="white-space: nowrap"><?php echo $event['Event']['id']; ?> </td>
|
||||
<?php if ('true' == Configure::read('CyDefSIG.showorg')): ?>
|
||||
<?php if ('true' == Configure::read('CyDefSIG.showorg') || $isAdmin): ?>
|
||||
<td style="white-space: nowrap"><?php echo Sanitize::html($event['Event']['org']); ?> </td>
|
||||
<?php endif; ?>
|
||||
<td style="white-space: nowrap"><?php echo $event['Event']['date']; ?> </td>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<?php echo Sanitize::html($event['Event']['id']); ?>
|
||||
|
||||
</dd>
|
||||
<?php if ('true' == Configure::read('CyDefSIG.showorg')): ?>
|
||||
<?php if ('true' == Configure::read('CyDefSIG.showorg') || $isAdmin): ?>
|
||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Org'); ?></dt>
|
||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
||||
<?php echo Sanitize::html($event['Event']['org']); ?>
|
||||
|
|
Loading…
Reference in New Issue