* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e3c1704453af2ec96e9c99f5f3ed8a2e0979d072
@ 2013-08-20 8:39 git
0 siblings, 0 replies; only message in thread
From: git @ 2013-08-20 8:39 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1690 bytes --]
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(a)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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-20 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-20 8:39 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e3c1704453af2ec96e9c99f5f3ed8a2e0979d072 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox