diff --git a/system/functions.php b/system/functions.php index fee72b27..b73868f6 100644 --- a/system/functions.php +++ b/system/functions.php @@ -462,7 +462,7 @@ function tickers() */ function template_place_holder($type) { - global $template_place_holders; + global $twig, $template_place_holders; $ret = ''; if(array_key_exists($type, $template_place_holders) && is_array($template_place_holders[$type])) @@ -471,6 +471,9 @@ function template_place_holder($type) if($type === 'head_start') { $ret .= template_header(); } + elseif ($type === 'body_start') { + $ret .= $twig->render('browsehappy.html.twig'); + } elseif($type === 'body_end') { $ret .= template_ga_code(); } diff --git a/system/templates/browsehappy.html.twig b/system/templates/browsehappy.html.twig new file mode 100644 index 00000000..57c2a0d8 --- /dev/null +++ b/system/templates/browsehappy.html.twig @@ -0,0 +1,3 @@ +