X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Faddrbook_search_html.php;h=9862ced6c3e38c0ec2e83c83b7d77a96528269c1;hb=f7cd8eb4e788b45f94c494836eae2ac63522a672;hp=887c93703cfb0275756444a484c92413e5a5c80c;hpb=dcc1cc825e550711d0207a737f9ea3ac2b38e923;p=squirrelmail.git diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index 887c9370..9862ced6 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -1,37 +1,40 @@ ' . "\n" . - '' . "\n" . - '' . "\n" . - '' . "\n" . - '' . "\n" . - '' . "\n" . - '' . "\n" . - '\n" . '' . - "\n"; + echo addHidden('body', "\n".$body); + } else { + echo addHidden('body', $body); } + echo addHidden('session', $session). + addHidden('subject', $subject). + addHidden('send_to', $send_to). + addHidden('send_to_bcc', $send_to_bcc). + addHidden('send_to_cc', $send_to_cc). + addHidden('identity', $identity). + addHidden('mailbox', $mailbox). + addHidden('from_htmladdr_search', 'true'); +} + /** * List search results * @param array $res Array containing results of search - * @param bool $includesource UNDOCUMENTED [Default=true] + * @param bool $includesource If true, adds backend column to address listing */ function addr_display_result($res, $includesource = true) { global $color, $javascript_on, $PHP_SELF, $squirrelmail_language; if (sizeof($res) <= 0) return; - echo '
'; + '' . + addHidden('html_addr_search_done', '1'). + ''; } /* --- End functions --- */ @@ -171,11 +177,16 @@ if ($compose_new_win == '1') { else { displayPageHeader($color, $mailbox); } + +/** set correct value of $default_charset */ +global $default_charset; +set_my_charset(); + /* Initialize addressbook */ $abook = addressbook_init(); -echo '