xssbook2/web/_views/template/modal.php

14 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>