From: tokul Date: Mon, 31 Jan 2005 11:17:00 +0000 (+0000) Subject: javascript inserted between ECHO prevents string extraction in gettext v.0.11+ X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2b5e4e10d6c3543ff4a6efc1fdfe6f3680f8c2c1;p=squirrelmail.git javascript inserted between ECHO prevents string extraction in gettext v.0.11+ According to left_main html diff, in this modification only empty lines are removed and single quotes are converted to double quotes for some attributes. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8736 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/left_main.php b/src/left_main.php index c027830b..027fa990 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -658,156 +658,139 @@ if (! isset($oldway) || $oldway=="" ) { } if ($advanced_tree) { -$xtra .= << - - - - - -ECHO; +$xtra .= 'old_col = masterf.cols;'."\n". +' colPat.exec(old_col);'."\n". +' if (direction) {'."\n". +' new_col_width = parseInt(RegExp.$1) + 25;'."\n". +' } else {'."\n". +' if (parseInt(RegExp.$1) > 35) {'."\n". +' new_col_width = parseInt(RegExp.$1) - 25;'."\n". +' }'."\n". +' }'."\n". +' masterf.cols = calc_col(new_col_width);'."\n". +' }'."\n". +'//-->'."\n". +''."\n"; /* style definitions */ -$xtra .= << - - - - -ECHO; - +$xtra .= ''."\n"; } displayHtmlHeader( 'SquirrelMail', $xtra );