xssbook2/web/views/template/modal.php
2024-03-30 12:14:42 -04:00

15 lines
343 B
PHP

<?php /* Copyright (c) 2024 Freya Murphy */ ?>
<?php /* vi: syntax=php */ ?>
<div class="modal-container">
<div class="modal">
<div class="modal-header row">
<?=$title?>
<?=ilang(
'action_modal_close',
class: 'float-right btn btn-action modal-close',
)?>
</div>
<?php $this->view('modal/' . $content) ?>
</div>
</div>