From f2e9f1c8d498f2cd5a66acbab352d98487953ede Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Wed, 26 Jan 2011 23:49:57 +0000 Subject: [PATCH] Added DEFAULT_TAB and DEFAULT_TAB_APPOINTMNT to config files to define default tab to see on case screen --- config.default.php | 10 ++++++++++ index.php | 36 ++++++++++++++++++++++++++---------- 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/config.default.php b/config.default.php index c0a06f4b..6f33c5cc 100644 --- a/config.default.php +++ b/config.default.php @@ -192,6 +192,16 @@ if (!defined('AUTO_COMPLETE_OUTCOME')) define('AUTO_COMPLETE_OUTCOME',false); */ if (!defined('AUTO_LOGOUT_MINUTES')) define('AUTO_LOGOUT_MINUTES',false); +/** + * The default tab to start on on the main screen + */ +if (!defined('DEFAULT_TAB')) define('DEFAULT_TAB','casenotes'); + +/** + * The default tab to start on for appointments + */ +if (!defined('DEFAULT_TAB_APPOINTMENT')) define('DEFAULT_TAB_APPOINTMENT','casenotes'); + /** * Database configuration for queXS */ diff --git a/index.php b/index.php index 0abc54b2..d389d859 100644 --- a/index.php +++ b/index.php @@ -126,8 +126,16 @@ print $script;
-
+
">

-
+
">

-
+
" id="tab-shifts">

-
+
">

-
+
">

-
+
">

-
+
">

-
+
">