diff options
author | stilez <stilez@users.noreply.github.com> | 2016-05-31 07:15:07 +0100 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-06-22 11:23:22 -0400 |
commit | d65d58a794e3016f363af2920e31fb2d2aa86484 (patch) | |
tree | 99d99337a13c154fa89f1a0f41ad8822d68b7a61 | |
parent | f2f86310b58b0329cd4d4b417c0aee811b8da999 (diff) | |
download | pfsense-d65d58a794e3016f363af2920e31fb2d2aa86484.zip pfsense-d65d58a794e3016f363af2920e31fb2d2aa86484.tar.gz |
function name hms -> dhms
to match edit to util.inc
(cherry picked from commit c57e936a6596550619f7261e85b633ca5016cbf2)
-rw-r--r-- | src/usr/local/www/status_ipsec.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/status_ipsec.php b/src/usr/local/www/status_ipsec.php index 4968d31..cc4acfe 100644 --- a/src/usr/local/www/status_ipsec.php +++ b/src/usr/local/www/status_ipsec.php @@ -223,7 +223,7 @@ function print_ipsec_body() { print("</td>\n"); print("<td>\n"); - print(htmlspecialchars($ikesa['reauth-time']) . gettext(" seconds (") . convert_seconds_to_hms($ikesa['reauth-time']) . ")"); + print(htmlspecialchars($ikesa['reauth-time']) . gettext(" seconds (") . convert_seconds_to_dhms($ikesa['reauth-time']) . ")"); print("</td>\n"); print("<td>\n"); print(htmlspecialchars($ikesa['encr-alg'])); @@ -245,7 +245,7 @@ function print_ipsec_body() { print(ucfirst(htmlspecialchars($ikesa['state']))); if ($ikesa['state'] == 'ESTABLISHED') { - print("<br/>" . htmlspecialchars($ikesa['established']) . gettext(" seconds (") . convert_seconds_to_hms($ikesa['established']) . gettext(") ago")); + print("<br/>" . htmlspecialchars($ikesa['established']) . gettext(" seconds (") . convert_seconds_to_dhms($ikesa['established']) . gettext(") ago")); } print("</span>"); @@ -333,9 +333,9 @@ function print_ipsec_body() { print("</td>\n"); print("<td>\n"); - print(gettext("Rekey: ") . htmlspecialchars($childsa['rekey-time']) . gettext(" seconds (") . convert_seconds_to_hms($childsa['rekey-time']) . ")"); - print('<br/>' . gettext('Life: ') . htmlspecialchars($childsa['life-time']) . gettext(" seconds (") . convert_seconds_to_hms($childsa['life-time']) . ")"); - print('<br/>' . gettext('Install: ') .htmlspecialchars($childsa['install-time']) . gettext(" seconds (") . convert_seconds_to_hms($childsa['install-time']) . ")"); + print(gettext("Rekey: ") . htmlspecialchars($childsa['rekey-time']) . gettext(" seconds (") . convert_seconds_to_dhms($childsa['rekey-time']) . ")"); + print('<br/>' . gettext('Life: ') . htmlspecialchars($childsa['life-time']) . gettext(" seconds (") . convert_seconds_to_dhms($childsa['life-time']) . ")"); + print('<br/>' . gettext('Install: ') .htmlspecialchars($childsa['install-time']) . gettext(" seconds (") . convert_seconds_to_dhms($childsa['install-time']) . ")"); print("</td>\n"); |