]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/ipinfo.cgi
firewall.cgi: Use new system commands
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / ipinfo.cgi
index 1b7ceeadc096664f55d2652c0f2e20d6f2a19646..fd490b08e50e343f1b8d4534516c4c70b9558258 100644 (file)
@@ -36,7 +36,7 @@ require "${General::swroot}/location-functions.pl";
 my %color = ();
 my %mainsettings = ();
 &General::readhash("${General::swroot}/main/settings", \%mainsettings);
-&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
+&General::readhash("/srv/web/ipfire/html/themes/ipfire/include/colors.txt", \%color);
 
 my %cgiparams=();
 
@@ -107,7 +107,7 @@ if (&General::validip($addr)) {
                        <table class="tbl" width='100%'>
                                <tr>
                                        <td bgcolor='$color{'color22'}'><strong>$Lang::tr{'country'}</strong></td>
-                                       <td bgcolor='$color{'color22'}'>$cname <a href='country.cgi#$ccode'><img src="$flag_icon" border="0" alt="$cname" title="$cname" /></td>
+                                       <td bgcolor='$color{'color22'}'>$cname <a href='country.cgi#$ccode'><img src="$flag_icon" border="0" align="absmiddle" alt="$cname" title="$cname" /></td>
                                </tr>
                                <tr>
                                        <td bgcolor='$color{'color20'}'><strong>$Lang::tr{'ptr'}</strong></td>