X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fabook_take%2Ffunctions.php;h=7294190e900bf9ffb6cd416bdfcb1e69a4dac3ce;hb=d790ef41e1b29244bfa8f4ca5e5556ead6018f89;hp=b8042501897d6835a04eb87e56ba488866dc76a3;hpb=1bf86d6fcd2b17cc7d903f426517d76a60e6fac2;p=squirrelmail.git diff --git a/plugins/abook_take/functions.php b/plugins/abook_take/functions.php index b8042501..7294190e 100644 --- a/plugins/abook_take/functions.php +++ b/plugins/abook_take/functions.php @@ -13,7 +13,7 @@ * @subpackage abook_take */ -/* SquirrelMail required files. */ +/** SquirrelMail required files. */ require_once(SM_PATH . 'functions/url_parser.php'); require_once(SM_PATH . 'functions/forms.php'); @@ -39,7 +39,7 @@ function abook_take_read_string($str) $str = substr(strstr($str, $hits[0]), strlen($hits[0])); if (! isset($abook_found_email[$hits[0]])) { - echo addHidden('email[]', htmlspecialchars($hits[0])); + echo addHidden('email[]', $hits[0]); $abook_found_email[$hits[0]] = 1; } } @@ -70,7 +70,7 @@ function abook_take_read() abook_take_read_array($message->rfc822_header->to); echo addSubmit(_("Take Address")) . - ''; + ''; } function abook_take_pref() @@ -84,7 +84,7 @@ function abook_take_options() { global $abook_take_verify; - echo '' . html_tag('td',_("Address Book Take:"),'right','','nowrap') . "\n" . '' . + echo '' . html_tag('td',_("Address Book Take:"),'right','','style="white-space: nowrap;"') . "\n" . '' . addCheckbox('abook_take_abook_take_verify', $abook_take_verify) . _("Try to verify addresses") . "\n"; } @@ -99,4 +99,4 @@ function abook_take_save() setPref($data_dir, $username, 'abook_take_verify', ''); } -?> +?> \ No newline at end of file