From cf0b2c70d5934ffdb36132028e7ededbb9580a51 Mon Sep 17 00:00:00 2001 From: x99bachelart Date: Wed, 3 Sep 2003 14:48:32 +0000 Subject: [PATCH] HTML bugfix --- install.d/format.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.d/format.inc.php b/install.d/format.inc.php index 362acc2..46e2ae1 100644 --- a/install.d/format.inc.php +++ b/install.d/format.inc.php @@ -44,10 +44,10 @@ function formatSpoolHeader($_header,$_text,$_id,$_group,$_isref,$_isread=true) { return ''.htmlentities($_text).''; } else { if ($_isread) { - return "" + return "" .htmlentities($_text).""; }else { - return "" + return "" .htmlentities($_text).""; } } @@ -104,7 +104,7 @@ function formatDisplayHeader($_header,$_text,$_spool) { $p=array_pop($parents); while ($p) { $rsl .= "group}" - ."&id=$p\">$ndx "; + ."&id=$p\">$ndx "; $_spool->overview[$p]->desc++; $p = $_spool->overview[$p]->parent; $ndx++; @@ -157,7 +157,7 @@ function displayshortcuts() { if ($first==$ndx) { echo "[$ndx-".min($ndx+$news['max']-1,sizeof($spool->overview))."] "; } else { - echo "[$ndx-".min($ndx+$news['max']-1,sizeof($spool->overview)) ."] "; } @@ -170,10 +170,10 @@ function displayshortcuts() { echo "[" .$locale['format']['group_b'].$group .$locale['format']['group_a']."] "; - echo "[" + echo "[" .$locale['format']['followup']."] "; if (checkcancel($post->headers)) { - echo "[" + echo "[" .$locale['format']['cancel']."] "; } break; -- 2.1.4