make the delconfirm modal generic
This commit is contained in:
parent
48a649a132
commit
5b1d6331e4
|
@ -1,18 +1,20 @@
|
|||
<?php
|
||||
// This is the HTML representing the Delete confirmation modal on the Events page
|
||||
// This is the HTML representing the Delete confirmation modal on the Events page and other pages
|
||||
|
||||
$delTextKey = isset($_REQUEST['key']) ? $_REQUEST['key'] : 'ConfirmDeleteEvents';
|
||||
|
||||
?>
|
||||
<div id="deleteConfirm" class="modal fade" class="modal" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Delete Confirmation</h5>
|
||||
<h5 class="modal-title"><?php echo translate('ConfirmDeleteTitle') ?></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php echo translate('ConfirmDeleteEvents') ?></p>
|
||||
<p><?php echo translate($delTextKey) ?></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="delCancelBtn" type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo translate('Cancel') ?></button>
|
||||
|
|
|
@ -262,6 +262,7 @@ $SLANG = array(
|
|||
'ConfiguredFor' => 'Configured for',
|
||||
'ConfigURL' => 'Config Base URL',
|
||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||
'ConfirmDeleteTitle' => 'Delete Confirmation',
|
||||
'ConfirmPassword' => 'Confirm Password',
|
||||
'ConjAnd' => 'and',
|
||||
'ConjOr' => 'or',
|
||||
|
|
Loading…
Reference in New Issue