mirror of https://github.com/MISP/MISP
fix: [export] fixed the export page breaking for text exports, fixes #5563
parent
a92aa565bd
commit
17918f916c
|
@ -158,7 +158,7 @@
|
||||||
echo sprintf(
|
echo sprintf(
|
||||||
'<li class="actions" style="text-align:center; width: auto; padding: 7px 2px;">%s</li>',
|
'<li class="actions" style="text-align:center; width: auto; padding: 7px 2px;">%s</li>',
|
||||||
$background ?
|
$background ?
|
||||||
$this->Html->link($sigType, array('action' => 'downloadExport', $k, $sigType), array('class' => 'btn btn-inverse btn-small btn.active qet')) :
|
$this->Html->link($sigType, array('action' => 'downloadExport', 'text', $sigType), array('class' => 'btn btn-inverse btn-small btn.active qet')) :
|
||||||
sprintf(
|
sprintf(
|
||||||
'<a href="%s" class="btn btn-inverse btn-small">%s</a>',
|
'<a href="%s" class="btn btn-inverse btn-small">%s</a>',
|
||||||
$baseurl . '/attributes/restSearch/returnFormat:text/type:' . $sigType . '.json',
|
$baseurl . '/attributes/restSearch/returnFormat:text/type:' . $sigType . '.json',
|
||||||
|
|
Loading…
Reference in New Issue