BUG 8021 2.0.35.rc6: No muestra toda la información en "System Information"
you're right however this problem was fixed when you've not have choosen a workspace then you can't see it (system information)
This commit is contained in:
@@ -107,7 +107,9 @@ if(isset($_GET['debug'])){
|
|||||||
print "<b>layout submenu file:</b>"; G::pr($layoutFileSubmenu);
|
print "<b>layout submenu file:</b>"; 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)){
|
switch(strtolower($G_SKIN)){
|
||||||
case "blank"://This is a special template but need main skin styles
|
case "blank"://This is a special template but need main skin styles
|
||||||
G::verifyPath ( PATH_SMARTY_C, true );
|
G::verifyPath ( PATH_SMARTY_C, true );
|
||||||
@@ -169,7 +171,7 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) {
|
|||||||
$footer = '';
|
$footer = '';
|
||||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||||
if (DB_SYSTEM_INFORMATION == 1) {
|
if (DB_SYSTEM_INFORMATION == 1) {
|
||||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />";
|
$footer =(!$toSeeMsg)?"<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />":'';
|
||||||
}
|
}
|
||||||
|
|
||||||
$freeOfChargeText = "";
|
$freeOfChargeText = "";
|
||||||
@@ -317,7 +319,7 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) {
|
|||||||
$footer = '';
|
$footer = '';
|
||||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||||
if ( defined('SYS_SYS') ) {
|
if ( defined('SYS_SYS') ) {
|
||||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />";
|
$footer = (!$toSeeMsg)?"<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />":'';
|
||||||
}
|
}
|
||||||
$footer .= "<br />Copyright <20> 2003-2008 Colosa, Inc. All rights reserved.";
|
$footer .= "<br />Copyright <20> 2003-2008 Colosa, Inc. All rights reserved.";
|
||||||
}
|
}
|
||||||
@@ -406,7 +408,7 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) {
|
|||||||
$footer = '';
|
$footer = '';
|
||||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||||
if (DB_SYSTEM_INFORMATION == 1) {
|
if (DB_SYSTEM_INFORMATION == 1) {
|
||||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />";
|
$footer =(!$toSeeMsg) ? "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />":'';
|
||||||
}
|
}
|
||||||
|
|
||||||
$freeOfChargeText = "";
|
$freeOfChargeText = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user