diff options
Diffstat (limited to 'web/views/template/toast.php')
-rw-r--r-- | web/views/template/toast.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/web/views/template/toast.php b/web/views/template/toast.php deleted file mode 100644 index 1f74602..0000000 --- a/web/views/template/toast.php +++ /dev/null @@ -1,19 +0,0 @@ -<?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> |