X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddrbook_search.php;h=8051122a078662e024720d27c9cc4c510559218e;hb=34a6b7c2cede50f12a9ce43fef49e28ce324d3b6;hp=d94b5f7601f96c2fe32242009afc2d242ec00050;hpb=0397590e2d0620ad93ae22d2c8d33fe1283068f6;p=squirrelmail.git diff --git a/src/addrbook_search.php b/src/addrbook_search.php index d94b5f76..8051122a 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -115,10 +115,10 @@ function display_result($res, $includesource = true) { 'Bcc" . ' ' . - $row['name'] . ' ' . - ' " . $row['email'] . ' ' . - ' ' . $row['label'] . ' '; + $row['name'] . '' . + '" . $row['email'] . '' . + '' . $row['label']; if ($includesource) { echo ' ' . $row['source']; } @@ -140,9 +140,10 @@ displayHtmlHeader(); /* Initialize vars */ if (!isset($query)) { $query = ''; } if (!isset($show)) { $show = ''; } +if (!isset($backend)) { $backend = ''; } /* Choose correct colors for top and bottom frame */ -if ($show == 'form') { +if ($show == 'form' && !isset($listall)) { echo '' . "\n" . '' . - '
' . "\n" . + '
' . "\n" . ' ' . _("Search for") . "\n" . - ' \n"; + ' \n"; /* List all backends to allow the user to choose where to search */ if ($abook->numbackends > 1) { @@ -187,11 +188,11 @@ if ($show == 'form' && empty($listall)) { echo '' . "\n"; } - echo '' . + echo '
'. + '' . ' | ' . "\n" . - '' . "\n" . - '' . "\n" . '
' . "\n"; } else {