country.cgi: Cosmetic fix for 'Back'-button'

While testing Peter's patch for Bug #12560 I noticed that the standard 'back'-button
at the end of the page - like in 'ipinfo.cgi' - was implemented as a text string.

I just took the code segment with the 'back'-*image* from 'ipinfo.cgi' to make this
link looking similar to the other pages.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Matthias Fischer
2020-12-24 11:56:13 +01:00
committed by Michael Tremer
parent 4ed49291c2
commit f65629dd47

View File

@@ -96,10 +96,17 @@ foreach my $country (@countries) {
print "</table>";
&Header::closebox();
print <<END
<div align='center'>
<table width='80%'>
<tr>
<-><td align='center'><a href='$ENV{'HTTP_REFERER'}'><img src='/images/back.png' alt='$Lang::tr{'back'}' title='$Lang::tr{'back'}' /></a></td>
</tr>
</table>
</div>
END
;
&Header::closebigbox();
print "<div style='text-align:center'><a href='$ENV{'HTTP_REFERER'}'>$Lang::tr{'back'}</a></div>\n";
&Header::closepage();