2020-12-01 23:07:42 +08:00
|
|
|
<?php
|
2021-06-09 03:53:35 +08:00
|
|
|
if (!canEdit('Events')) return;
|
2020-12-01 23:07:42 +08:00
|
|
|
|
|
|
|
$eid = isset($_REQUEST['eid']) ? $_REQUEST['eid'] : '';
|
|
|
|
$eid = validInt($eid);
|
|
|
|
$Event = new ZM\Event($eid);
|
|
|
|
?>
|
|
|
|
<div class="modal" id="eventRenameModal" tabindex="-1">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title"><?php echo translate('Rename') .' '. translate('Event') ?></h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<input type="text" value="<?php echo validHtmlStr($Event->Name()) ?>"/>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-primary" id="eventRenameBtn"><?php echo translate('Save') ?></button>
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo translate('Cancel') ?></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|