From 3f6dd931c687028827bd0c17148628603de5c6d7 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 8 Jan 2006 10:28:22 +0000 Subject: [PATCH] removed * from list prefix added script execution time updated plugin maintainer information git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10526 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/info/README | 7 ++----- plugins/info/options.php | 22 ++++++++++++++++++++-- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/plugins/info/README b/plugins/info/README index dd3aeedb..d85a37b6 100644 --- a/plugins/info/README +++ b/plugins/info/README @@ -34,8 +34,5 @@ to the defaults. You can manually reset the commands using the 'default' button, or clear the contents of all the commands with the 'clear' button. -Questions, problems, comments welcome at - -jason@stdbev.com -Jason Munro - +This plugin has been originally developed by Jason Munro and is now +maintained by the SquirrelMail Project Team. diff --git a/plugins/info/options.php b/plugins/info/options.php index fcd02571..2c0a64b0 100644 --- a/plugins/info/options.php +++ b/plugins/info/options.php @@ -124,7 +124,7 @@ elseif (!$submit || $submit == 'default') { 'TEST_5' => "SORT (DATE) $default_charset ALL", 'TEST_6' => "FETCH 1:* (FLAGS BODY[HEADER.FIELDS (FROM DATE TO)])", 'TEST_7' => "LSUB \"$folder_prefix\" \"*%\"", - 'TEST_8' => "LIST \"$folder_prefix*\" \"*\"", + 'TEST_8' => "LIST \"$folder_prefix\" \"*\"", 'TEST_9' => ""); } @@ -166,6 +166,12 @@ if ($submit == 'submit') { } } for ($i=0;$i\n". '\n". '\n". '
'.$tests[$i]."
'. @@ -176,7 +182,19 @@ if ($submit == 'submit') { _("Response:")."
'; print_response($response); - echo "

\n"; + echo "\n"; + + if (function_exists('microtime')) { + // get script execution time + list($usec, $sec) = explode(" ", microtime()); + $endtime = (float)$sec + (float)$usec; + // i18n: ms = short for miliseconds + echo ''. + _("Execution time:")."\n". + ''.sprintf(_("%s ms"),round((($endtime - $starttime)*1000),3))."\n"; + } + + echo "
\n"; } } echo ''; -- 2.25.1