mirror of https://github.com/MISP/MISP
Fix to some deprecated action references in some forms throwing deprecated notices after upgrading to CakePHP 2.8
parent
5a131acc2d
commit
09acdf4f31
|
@ -96,7 +96,7 @@
|
|||
<div class="">
|
||||
<?php
|
||||
if ($mayModify) {
|
||||
echo $this->Form->create('TemplateElement', array('class' => 'inline-delete', 'style' => 'display:inline-block;', 'id' => 'TemplateElement_' . h($element_id) . '_delete', 'action' => 'delete'));
|
||||
echo $this->Form->create('TemplateElement', array('class' => 'inline-delete', 'style' => 'display:inline-block;', 'id' => 'TemplateElement_' . h($element_id) . '_delete', 'url' => array('action' => 'delete')));
|
||||
?>
|
||||
<span class="icon-trash useCursorPointer" onClick="deleteObject('template_elements', 'delete' ,'<?php echo h($element_id); ?>', '<?php echo h($element['TemplateElement']['template_id']); ?>');"></span>
|
||||
<?php
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<div class="">
|
||||
<?php
|
||||
if ($mayModify) {
|
||||
echo $this->Form->create('TemplateElement', array('class' => 'inline-delete', 'style' => 'display:inline-block;', 'id' => 'TemplateElement_' . h($element_id) . '_delete', 'action' => 'delete'));
|
||||
echo $this->Form->create('TemplateElement', array('class' => 'inline-delete', 'style' => 'display:inline-block;', 'id' => 'TemplateElement_' . h($element_id) . '_delete', 'url' => array('action' => 'delete')));
|
||||
?>
|
||||
<span class="icon-trash useCursorPointer" onClick="deleteObject('template_elements', 'delete' ,'<?php echo h($element_id); ?>', '<?php echo h($element['TemplateElement']['template_id']); ?>');"></span>
|
||||
<?php
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<div class="">
|
||||
<?php
|
||||
if ($mayModify) {
|
||||
echo $this->Form->create('TemplateElement', array('class' => 'inline-delete', 'style' => 'display:inline-block;', 'id' => 'TemplateElement_' . h($element_id) . '_delete', 'action' => 'delete'));
|
||||
echo $this->Form->create('TemplateElement', array('class' => 'inline-delete', 'style' => 'display:inline-block;', 'id' => 'TemplateElement_' . h($element_id) . '_delete', 'url' => array('action' => 'delete')));
|
||||
?>
|
||||
<span class="icon-trash useCursorPointer" onClick="deleteObject('template_elements', 'delete' ,'<?php echo h($element_id); ?>', '<?php echo h($element['TemplateElement']['template_id']); ?>');"></span>
|
||||
<?php
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<div>
|
||||
<?php
|
||||
}
|
||||
echo $this->Form->create('User', array('action' => 'login'));
|
||||
echo $this->Form->create('User');
|
||||
echo $this->Form->inputs(array(
|
||||
'legend' => __('Login', true),
|
||||
'email' => array('autocomplete' => 'off'),
|
||||
|
|
Loading…
Reference in New Issue