diff options
| author | cflem <carson.fl3ming@gmail.com> | 2017-01-01 19:32:37 -0700 |
|---|---|---|
| committer | cflem <carson.fl3ming@gmail.com> | 2017-01-01 19:32:37 -0700 |
| commit | d8543707426d6a4645c270929f999df8209bb587 (patch) | |
| tree | 7ae008b2844bad684e9b4b81f1281939be37bdee /dash/dash_functions.php | |
| parent | cab89c911147b4dcf9027d972995b981b8247673 (diff) | |
| download | bulletin-d8543707426d6a4645c270929f999df8209bb587.tar.gz | |
Added inc/config.php to the gitignore, opting for a sample version instead
Diffstat (limited to 'dash/dash_functions.php')
| -rw-r--r-- | dash/dash_functions.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dash/dash_functions.php b/dash/dash_functions.php new file mode 100644 index 0000000..49664a3 --- /dev/null +++ b/dash/dash_functions.php @@ -0,0 +1,9 @@ +<?php +function dash_fatal ($msg = null, $link = null, $label = null) { + if ($link === null) $link = 'javascript:history.go(-1);'; + if ($label == null) $label = '← Got It'; + echo tpl(array('message' => $msg, 'link' => $link, 'label' => $label), 'dash_fatal.tpl').PHP_EOL; + require('footer.php'); + die; +} +?> |
