From 7431eca94d0a1233675ff61865528919f01511fa Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 28 Dec 2004 11:25:23 +0000 Subject: [PATCH] moved imap_test function to right place git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8482 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/info/options.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/info/options.php b/plugins/info/options.php index 6a8db4ae..421a16ee 100644 --- a/plugins/info/options.php +++ b/plugins/info/options.php @@ -166,20 +166,21 @@ if ($submit == 'submit') { } } for ($i=0;$i\n". '\n". '\n". - '\n"; + // imap_test function outputs imap command + $response = imap_test($imap_stream, $type[$tests[$i]]); + echo '\n". '
'.$tests[$i]."
'. - _("Request:")."
'. + _("Request:")."
'. _("Response:")."
'; print_response($response); echo "

\n"; } } - echo ''; - sqimap_logout($imap_stream); +echo ''; +sqimap_logout($imap_stream); /** * Optional hook in info plugin -- 2.25.1