2020-09-18 22:43:29 +08:00
|
|
|
<?php
|
2020-09-26 20:53:22 +08:00
|
|
|
// This is the HTML representing the Delete confirmation modal on the Events page and other pages
|
|
|
|
|
|
|
|
$delTextKey = isset($_REQUEST['key']) ? $_REQUEST['key'] : 'ConfirmDeleteEvents';
|
2020-09-18 22:43:29 +08:00
|
|
|
|
|
|
|
?>
|
|
|
|
<div id="deleteConfirm" class="modal fade" class="modal" tabindex="-1">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2020-09-26 20:53:22 +08:00
|
|
|
<h5 class="modal-title"><?php echo translate('ConfirmDeleteTitle') ?></h5>
|
2020-09-18 22:43:29 +08:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2020-09-26 20:53:22 +08:00
|
|
|
<p><?php echo translate($delTextKey) ?></p>
|
2020-09-18 22:43:29 +08:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button id="delCancelBtn" type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo translate('Cancel') ?></button>
|
|
|
|
<button id ="delConfirmBtn" type="button" class="btn btn-danger"><?php echo translate('Delete') ?></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|