From 928e707015fa5b9b3e2dd52c9493552ae1218911 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 24 Nov 2017 12:01:19 +0100 Subject: add shift calendar to angeltype view --- includes/sys_template.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'includes/sys_template.php') diff --git a/includes/sys_template.php b/includes/sys_template.php index 662283b1..96290062 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -1,5 +1,31 @@ $content) { + $class = ''; + if(count($tab_header) == 0) { + $class = 'active'; + } + $tab_header[] = ''; + $tab_content[] = '
' . $content . '
'; + } + return div('', [ + '', + '
' . join($tab_content) . '
' + ]); +} + /** * Display muted (grey) text. * -- cgit v1.2.3-54-g00ecf