From 5a4701066eb826f1fd638b028c2e405458389ef9 Mon Sep 17 00:00:00 2001 From: jengo Date: Sat, 23 Dec 2000 03:23:17 +0000 Subject: [PATCH] Removed some commented code and fixed the "about about" problem --- phpgwapi/inc/phpgw_common.inc.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/phpgwapi/inc/phpgw_common.inc.php b/phpgwapi/inc/phpgw_common.inc.php index 1d9b316a3e..1d3f376834 100644 --- a/phpgwapi/inc/phpgw_common.inc.php +++ b/phpgwapi/inc/phpgw_common.inc.php @@ -361,13 +361,10 @@ } elseif ($appname == "logout") { $output_text = "link($urlbasename."/logout.php"); } elseif ($appname == "about") { - if ($phpgw_info["flags"]["currentapp"] != "home" && $phpgw_info["flags"]["currentapp"] != "preferences") { + if ($phpgw_info["flags"]["currentapp"] != "home" && $phpgw_info["flags"]["currentapp"] != "preferences" && $phpgw_info["flags"]["currentapp"] != "about") { $about_app = "app=" . $phpgw_info["flags"]["currentapp"]; } $output_text = "link($urlbasename."/about.php",$about_app); -// This might be fixable so that the size of the popup window can be limited. I havent been able to get it to work at this point -Seek3r -// $output_text = ""; -// $output_text .= 'show_icon(&$tpl,$td_width,"preferences","Preferences"); - if ($phpgw_info["flags"]["currentapp"] == "home" || $phpgw_info["flags"]["currentapp"] == "preferences") { + if ($phpgw_info["flags"]["currentapp"] == "home" || $phpgw_info["flags"]["currentapp"] == "preferences" || $phpgw_info["flags"]["currentapp"] == "about") { $app = "phpGroupWare"; } else { $app = $phpgw_info["flags"]["currentapp"];