-/* Insert hidden data */
-function addr_insert_hidden() {
- global $body, $subject, $send_to, $send_to_cc, $send_to_bcc, $mailbox,
- $identity;
-
- echo '<input type=hidden value="';
- if (substr($body, 0, 1) == "\r")
- echo "\n";
- echo htmlspecialchars($body) . '" name=body>' . "\n" .
- '<input type=hidden value="' . htmlspecialchars($subject) .
- '" name=subject>' . "\n" .
- '<input type=hidden value="' . htmlspecialchars($send_to) .
- '" name=send_to>' . "\n" .
- '<input type=hidden value="' . htmlspecialchars($send_to_cc) .
- '" name=send_to_cc>' . "\n" .
- '<input type=hidden value="' . htmlspecialchars($send_to_bcc) .
- '" name=send_to_bcc>' . "\n" .
- '<input type=hidden value="' . htmlspecialchars($identity) .
- '" name=identity>' . "\n" .
- '<input type=hidden name=mailbox value="' . htmlspecialchars($mailbox) .
- "\">\n" . '<input type=hidden value="true" name=from_htmladdr_search>' .
- "\n";
- }