diff options
author | Freya Murphy <freya@freyacat.org> | 2024-05-20 17:11:38 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-05-20 17:11:38 -0400 |
commit | 708594d32ffe779cf547c816fa7cdd19d095be2e (patch) | |
tree | 30d28553316db02bc027664e17b76d58f2e352ff /src/web/_controller/template.php | |
parent | add en_CAT makefile and use ucfirst/ucwords (diff) | |
download | xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.tar.gz xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.tar.bz2 xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.zip |
v2 done
Diffstat (limited to 'src/web/_controller/template.php')
-rw-r--r-- | src/web/_controller/template.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |