X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddrbook_search_html.php;h=54de9f8ff27c002704a2beb7c7e6e63ce4b83ae1;hb=d625cff3462b402e4a30981015a6c63a695f8911;hp=4b16fe1e5fa81f156b1f97a00f2e9746fa45f80f;hpb=cc99433ec8dce19b5399c45ffbf381cd94ae065f;p=squirrelmail.git diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index 4b16fe1e..54de9f8f 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -24,17 +24,19 @@ require_once('../functions/display_messages.php'); require_once('../functions/addressbook.php'); require_once('../functions/plugin.php'); require_once('../functions/strings.php'); +require_once('../functions/html.php'); /* Insert hidden data */ function addr_insert_hidden() { global $body, $subject, $send_to, $send_to_cc, $send_to_bcc, $mailbox, - $identity; + $identity, $session; echo '' . "\n" . + '' . "\n" . '' . "\n" . '\n" . + echo '
'; @@ -105,26 +135,32 @@ function addr_display_result($res, $includesource = true) { /* --- End functions --- */ global $mailbox; -displayPageHeader($color, $mailbox); - +if ($compose_new_win == '1') { + compose_Header($color, $mailbox); +} +else { + displayPageHeader($color, $mailbox); +} /* Initialize addressbook */ $abook = addressbook_init(); -?> -
- |
\n" . - ' |
' .
+ echo html_tag( 'p', '
' .
sprintf(_("Unable to list addresses from %s"),
- $abook->backends[$backend]->sname) .
- "
' .
- _("Your search failed with the following error(s)") . ':
' .
- $abook->error . "