diff --git a/workflow/engine/skinEngine/skinEngine.php b/workflow/engine/skinEngine/skinEngine.php index 4a1827f85..06964cc80 100644 --- a/workflow/engine/skinEngine/skinEngine.php +++ b/workflow/engine/skinEngine/skinEngine.php @@ -107,7 +107,9 @@ if(isset($_GET['debug'])){ print "layout submenu file:"; G::pr($layoutFileSubmenu); } - +// note added by carlos pacha carlos[at]colosa[dot]com pckrlos[at]gmail[dot]com +// the following line has true or false value to see the System information text. Related 8021 bug +$toSeeMsg = (array_key_exists('_DBArray', $_SESSION) && array_key_exists('availableWorkspace', $_SESSION['_DBArray']))?true:false; switch(strtolower($G_SKIN)){ case "blank"://This is a special template but need main skin styles G::verifyPath ( PATH_SMARTY_C, true ); @@ -169,7 +171,7 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) { $footer = ''; if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) { if (DB_SYSTEM_INFORMATION == 1) { - $footer = "| System Information |
"; + $footer =(!$toSeeMsg)?"| System Information |
":''; } $freeOfChargeText = ""; @@ -317,7 +319,7 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) { $footer = ''; if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) { if ( defined('SYS_SYS') ) { - $footer = "| System Information |
"; + $footer = (!$toSeeMsg)?"| System Information |
":''; } $footer .= "
Copyright � 2003-2008 Colosa, Inc. All rights reserved."; } @@ -406,7 +408,7 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) { $footer = ''; if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) { if (DB_SYSTEM_INFORMATION == 1) { - $footer = "| System Information |
"; + $footer =(!$toSeeMsg) ? "| System Information |
":''; } $freeOfChargeText = "";