mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
connections.cgi: Fix Expires time Heading in Connections cgi page
- The Expires time heading for the Connections WUI page has seconds listed. However the code is converting the seconds to hours:minutes:seconds. - This patch is changing the heading to H:M:S in English and the equivalent in the other languages. I have basewd this on the initial letter for Hours, Minutes & Seconds in each of the languages. Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
3b20134742
commit
58543d54c6
@@ -352,7 +352,7 @@ if ($SORT_FIELD and $SORT_ORDER) {
|
||||
$Lang::tr{'destination port'},
|
||||
$Lang::tr{'protocol'},
|
||||
$Lang::tr{'connection'}.' '.$Lang::tr{'status'},
|
||||
$Lang::tr{'expires'}.' ('.$Lang::tr{'seconds'}.')',
|
||||
$Lang::tr{'expires'}.' ('.$Lang::tr{'hours:minutes:seconds'}.')',
|
||||
$Lang::tr{'download'},
|
||||
$Lang::tr{'upload'}
|
||||
);
|
||||
@@ -435,7 +435,7 @@ print <<END;
|
||||
$Lang::tr{'connection'}<br>$Lang::tr{'status'}
|
||||
</th>
|
||||
<th style='text-align:center'>
|
||||
$Lang::tr{'expires'}<br>($Lang::tr{'seconds'})
|
||||
$Lang::tr{'expires'}<br>($Lang::tr{'hours:minutes:seconds'})
|
||||
</th>
|
||||
</tr>
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user