This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via e3c1704453af2ec96e9c99f5f3ed8a2e0979d072 (commit) from 8e6a8fd5d3b36919ff427abcdd0e7072fc7f85d9 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit e3c1704453af2ec96e9c99f5f3ed8a2e0979d072 Author: Michael Tremer michael.tremer@ipfire.org Date: Tue Aug 20 10:39:40 2013 +0200
tor.cgi: Remember selected exit node country.
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/tor.cgi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Difference in files: diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index a1d0ae7..b920724 100755 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -321,7 +321,13 @@ END foreach my $country_name (sort @country_names) { my $country_code = Locale::Country::country2code($country_name); $country_code = uc($country_code); - print "<option value='$country_code'>$country_name ($country_code)</option>\n"; + print "<option value='$country_code'"; + + if ($settings{'TOR_EXIT_COUNTRY'} eq $country_code) { + print " selected"; + } + + print ">$country_name ($country_code)</option>\n"; }
print <<END;
hooks/post-receive -- IPFire 2.x development tree