From 708594d32ffe779cf547c816fa7cdd19d095be2e Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 20 May 2024 17:11:38 -0400 Subject: v2 done --- src/web/_controller/template.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/web/_controller/template.php') diff --git a/src/web/_controller/template.php b/src/web/_controller/template.php index 7a8cdf8..879eadc 100644 --- a/src/web/_controller/template.php +++ b/src/web/_controller/template.php @@ -13,7 +13,8 @@ class Template_controller extends Controller { $data = array( 'msg' => $this->request_model->get_str('msg', FALSE), 'detail' => $this->request_model->get_str('detail', FALSE), - 'hint' => $this->request_model->get_str('hint', FALSE) + 'hint' => $this->request_model->get_str('hint', FALSE), + 'type' => $this->request_model->get_str('type', 'error') ); $this->view('template/toast', $data); } -- cgit v1.2.3-freya