19 lines
373 B
PHP
19 lines
373 B
PHP
<?php /* Copyright (c) 2024 Freya Murphy */ ?>
|
|
<?php /* vi: syntax=php */ ?>
|
|
<?php
|
|
$params = array();
|
|
|
|
if ($detail) {
|
|
array_push($params, lang('api_column_' . $detail));
|
|
}
|
|
|
|
if ($hint) {
|
|
array_push($params, $hint);
|
|
}
|
|
|
|
$msg = lang($msg, sub: $params);
|
|
?>
|
|
<div class="toast error">
|
|
<?=ucfirst($msg)?>
|
|
<?=ilang('action_close', class: 'action-close-toast')?>
|
|
</div>
|