diff --git a/workflow/engine/methods/login/sysLogin.php b/workflow/engine/methods/login/sysLogin.php index 2048cf888..a256af55e 100755 --- a/workflow/engine/methods/login/sysLogin.php +++ b/workflow/engine/methods/login/sysLogin.php @@ -42,7 +42,7 @@ function getLangFiles() { if (file_exists ( $dir )) { if ($handle = opendir ( $dir )) { while ( false !== ($file = readdir ( $handle )) ) { - + $fileParts = explode ( ".", $file ); if ($fileParts [0] == "translation") { $filesArray [$fileParts [1]] = $file; @@ -128,11 +128,20 @@ G::RenderPage ( "publish" ); ?> \ No newline at end of file + diff --git a/workflow/engine/skinEngine/skinEngine.php b/workflow/engine/skinEngine/skinEngine.php index 06964cc80..f839502f4 100644 --- a/workflow/engine/skinEngine/skinEngine.php +++ b/workflow/engine/skinEngine/skinEngine.php @@ -107,9 +107,7 @@ 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 ); @@ -171,7 +169,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 =(!$toSeeMsg)?"| System Information |
":''; + $footer = "| System Information |
"; } $freeOfChargeText = ""; @@ -319,7 +317,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 = (!$toSeeMsg)?"| System Information |
":''; + $footer = "| System Information |
"; } $footer .= "
Copyright � 2003-2008 Colosa, Inc. All rights reserved."; } @@ -408,7 +406,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 =(!$toSeeMsg) ? "| System Information |
":''; + $footer = "| System Information |
"; } $freeOfChargeText = ""; diff --git a/workflow/engine/xmlform/login/dbInfo.xml b/workflow/engine/xmlform/login/dbInfo.xml index fa6545d6f..0f09e8e9e 100755 --- a/workflow/engine/xmlform/login/dbInfo.xml +++ b/workflow/engine/xmlform/login/dbInfo.xml @@ -1,45 +1,64 @@ - + + + + + System Information - + ProcessMaker -ProcessMaker + Operating System -Sistema operativo + Time zone Web Server -Servidor Web + Server Name -Nombre del servidor + Server IP Address -IP del servidor + PHP version - + Database -Base de Datos + Database Server IP Address - + Database Name -Nombre de la Base de Datos + Available Databases -Bases de datos disponibles + -Navegador del usuario + -IP del usuario - + + + + + +