mirror of https://github.com/MISP/MISP
Addition to the previous commit
parent
77adf624d9
commit
62532260ef
|
@ -3190,6 +3190,7 @@ class EventsController extends AppController {
|
|||
}
|
||||
|
||||
public function exportChoice($id) {
|
||||
if (!is_numeric($id)) throw new MethodNotAllowedException('Invalid ID');
|
||||
$event = $this->Event->find('first' ,array(
|
||||
'conditions' => array('id' => $id),
|
||||
'recursive' => -1,
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<?php if ($export['checkbox']):
|
||||
echo h($export['checkbox_text']);
|
||||
?>
|
||||
<input id = "<?php echo $k . '_toggle';?>" type="checkbox" style="align;vertical-align:top;margin-top:8px;">
|
||||
<span id ="<?php echo $k?>_set" style="display:none;"><?php echo h($export['checkbox_set']); ?></span>
|
||||
<input id = "<?php echo h($k) . '_toggle';?>" type="checkbox" style="align;vertical-align:top;margin-top:8px;">
|
||||
<span id ="<?php echo h($k);?>_set" style="display:none;"><?php echo h($export['checkbox_set']); ?></span>
|
||||
<?php else: ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue