2013-05-29 13:42:04 +02:00
|
|
|
<div class="events form">
|
|
|
|
<?php echo $this->Form->create('Event', array('type' => 'file'));?>
|
|
|
|
<fieldset>
|
|
|
|
<legend><?php echo __('Import OpenIOC'); ?></legend>
|
|
|
|
<?php
|
|
|
|
echo $this->Form->input('Event.submittedioc', array(
|
|
|
|
'label' => '<b>OpenIOC</b>',
|
|
|
|
'type' => 'file',
|
|
|
|
));
|
|
|
|
?>
|
|
|
|
</fieldset>
|
2013-06-03 10:48:38 +02:00
|
|
|
<?php
|
|
|
|
echo $this->Form->button('Upload', array('class' => 'btn btn-primary'));
|
|
|
|
echo $this->Form->end();
|
|
|
|
?>
|
2014-08-21 13:52:36 +02:00
|
|
|
<div id="confirmation_box" class="confirmation_box"></div>
|
2013-05-29 13:42:04 +02:00
|
|
|
</div>
|
2013-10-24 10:33:34 +02:00
|
|
|
<?php
|
|
|
|
$event['Event']['id'] = $id;
|
|
|
|
$event['Event']['published'] = $published;
|
|
|
|
echo $this->element('side_menu', array('menuList' => 'event', 'menuItem' => 'addIOC', 'event' => $event));
|
|
|
|
?>
|