mirror of https://github.com/MISP/MISP
26 lines
1.4 KiB
PHP
26 lines
1.4 KiB
PHP
<div class="confirmation">
|
|
<?php
|
|
echo $this->Form->create($model, array('style' => 'margin:0px;', 'id' => 'PromptForm', 'url' => $baseurl . '/' . strtolower($model) . 's/removeTag/' . $id . '/' . $tag_id));
|
|
$action = "removeObjectTag('" . $model . "', '" . h($id) . "', '" . h($tag_id) . "');";
|
|
?>
|
|
<legend><?php echo __('Remove Tag'); ?></legend>
|
|
<div style="padding-left:5px;padding-right:5px;padding-bottom:5px;">
|
|
<p><?php echo __('Remove tag '); ?> (<?php echo h($tag_id); ?>) <?php echo __('from '); ?> <?php echo ucfirst(h($model)); ?> (<?php echo h($id); ?>)?</p>
|
|
<table>
|
|
<tr>
|
|
<td style="vertical-align:top">
|
|
<span id="PromptYesButton" class="btn btn-primary" title="<?php echo __('Remove'); ?>" role="button" tabindex="0" aria-label="<?php echo __('Remove'); ?>" onClick="<?php echo $action; ?>"><?php echo __('Yes'); ?></span>
|
|
</td>
|
|
<td style="width:540px;">
|
|
</td>
|
|
<td style="vertical-align:top;">
|
|
<span class="btn btn-inverse" id="PromptNoButton" title="<?php echo __('Cancel'); ?>" role="button" tabindex="0" aria-label="<?php echo __('Cancel'); ?>" onClick="cancelPrompt();"><?php echo __('No'); ?></span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<?php
|
|
echo $this->Form->end();
|
|
?>
|
|
</div>
|