X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Ftor.cgi;h=e00bc5fd50b7649b8d7542c7de2807a7c463d8e4;hb=91fc30309fcc929ae3b4b88f6cac67e1214e73a9;hp=befd5083442993a57168fa6315ccdeba3b20b568;hpb=4245fe34792cb67b1fe4b073e3b4d71014c3b277;p=ipfire-2.x.git diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi old mode 100755 new mode 100644 index befd508344..e00bc5fd50 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -20,7 +20,7 @@ ############################################################################### use strict; -use Locale::Country; +use Locale::Codes::Country; # enable only the following on debugging purpose use warnings; @@ -235,8 +235,8 @@ sub showMainBox() { if ( ($memory != 0) && (@pid[0] ne "///") ){ - print ""; - print ""; + print "
$Lang::tr{'tor service'}
"; + print ""; print ""; print ""; print ""; @@ -247,8 +247,8 @@ if ( ($memory != 0) && (@pid[0] ne "///") ){ print ""; print "
$Lang::tr{'tor service'}
$Lang::tr{'tor daemon'}$Lang::tr{'running'}
$memory KB
"; } else { - print ""; - print ""; + print "
$Lang::tr{'tor service'}
"; + print ""; print ""; print ""; print "
$Lang::tr{'tor service'}
$Lang::tr{'tor daemon'}$Lang::tr{'stopped'}
"; @@ -323,9 +323,9 @@ END END - my @country_names = Locale::Country::all_country_names(); + my @country_names = Locale::Codes::Country::all_country_names(); foreach my $country_name (sort @country_names) { - my $country_code = Locale::Country::country2code($country_name); + my $country_code = Locale::Codes::Country::country2code($country_name); $country_code = uc($country_code); print "