From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] backup.cgi: Cosmetic fix - mark backup files bold for better readability Date: Fri, 22 May 2020 14:13:38 +0200 Message-ID: <20200522121338.4908-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1472952420290506733==" List-Id: --===============1472952420290506733== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Matthias Fischer --- html/cgi-bin/backup.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html/cgi-bin/backup.cgi b/html/cgi-bin/backup.cgi index cac4146ab..3ced1371d 100644 --- a/html/cgi-bin/backup.cgi +++ b/html/cgi-bin/backup.cgi @@ -202,7 +202,7 @@ my $Datei =3D "/var/ipfire/backup/".$_; my @Info =3D stat($Datei); my $Size =3D $Info[7] / 1024 / 1024; $Size =3D sprintf("%0.2f", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size MB
"; +print "$Lang::tr{'backup from'} $_ $Lang::tr= {'size'} $Size MB
"; print "
=
<= /td>"; } foreach (@backupisos){ @@ -212,7 +212,7 @@ my $Datei =3D "/var/tmp/backupiso/".$_; my @Info =3D stat($Datei); my $Size =3D $Info[7] / 1024 / 1024; $Size =3D sprintf("%0.2f", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size MB
"; +print "$Lang::tr{'backup from'} $_ $Lang::tr= {'size'} $Size MB
=
"; print "
=
<= /td>"; } print <$Lang::tr{'backup from'} $_ $Lang::tr{'si= ze'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; + print "$Lang::tr{'backup from'} $_ $Lang:= :tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; } else { $Size =3D sprintf("%2d", $Size); - print "$Lang::tr{'backup from'} $_ $Lang::tr{'si= ze'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; + print "$Lang::tr{'backup from'} $_ $Lang:= :tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; =20 } =20 @@ -272,7 +272,7 @@ END ; } else{ - print "$Lang::tr{'backup from'} $_ "; + print "$Lang::tr{'backup from'} $_ "; } print < @@ -291,7 +291,7 @@ my $Datei =3D "/var/ipfire/backup/addons/backup/".$_.".ip= f"; my @Info =3D stat($Datei); my $Size =3D $Info[7] / 1024; $Size =3D sprintf("%2d", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; +print "$Lang::tr{'backup from'} $_ $Lang::tr= {'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; print <
--=20 2.18.0 --===============1472952420290506733==--