From 2c5d4cd49906f09945db34b4c42588da07cbbfa5 Mon Sep 17 00:00:00 2001 From: pallo Date: Wed, 28 Jun 2000 12:55:00 +0000 Subject: [PATCH] Fixed some HTML bugs. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@564 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/addrbook_search.php b/src/addrbook_search.php index fd814e6c..66c484e4 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -4,6 +4,9 @@ ** ** Handle addressbook searching in the popup window. ** + ** NOTE: A lot of this code is similar to the code in + ** addrbook_search_html.html -- If you change one, + ** change the other one too! **/ // Function to include JavaScript code @@ -95,20 +98,20 @@ function bcc_address($addr) { print "\n"; while(list($key, $row) = each($res)) { - printf("". + printf("". "To | ". "Cc | ". "Bcc". - " %s  ". - "%s ". - " %s ", + " %s ". + " %s ". + " %s ", ($line % 2) ? " bgcolor=\"$color[0]\"" : "", $row["email"], $row["email"], $row["email"], $row["name"], $row["email"], $row["email"], $row["label"]); if($includesource) - printf(" %s", $row["source"]); + printf(" %s", $row["source"]); print "\n"; $line++; @@ -175,7 +178,7 @@ function bcc_address($addr) { printf("
\n", $PHP_SELF); printf(""); - printf("
\n"); + printf("
\n"); printf(" %s\n", _("Search for")); printf(" \n", htmlspecialchars($query)); @@ -188,7 +191,7 @@ function bcc_address($addr) { _("All address books")); $ret = $abook->get_backend_list(); while(list($k,$v) = each($ret)) - printf("