From 9d9f46f53221b637143050c52ff2c724375cadea Mon Sep 17 00:00:00 2001 From: bgigon Date: Tue, 27 Jul 2004 09:01:23 +0000 Subject: [PATCH] Fix display bug. If this line replace all \n by
, Toolbox in calendar are too big (x2) (and other is blank; for the display is very very bad) --- phpgwapi/inc/class.html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 615a5a791e..781e43d217 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -93,7 +93,7 @@ class html } if ($text === False) return ' onmouseover="'.$opt_out.'return escape(this.innerHTML);"'; - return ' onmouseover="'.$opt_out.'return escape(\''.str_replace(array("\n","\r","'",'"'),array('
','',"\\'",'"'),$text).'\')"'; + return ' onmouseover="'.$opt_out.'return escape(\''.str_replace(array("\n","\r","'",'"'),array('\n','',"\\'",'"'),$text).'\')"'; } function activate_links($content)