aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-10-04 09:48:15 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-10-04 09:48:15 +0000
commitf438c3aee114497ce57cc3569589e690dbe1a0c3 (patch)
treeed5bff02a5b085db74816d198bea09f1cc337ecf /root
parente52246e2ad626b360613ec05401dc3c91c5cec3f (diff)
downloadmgamirrors-f438c3aee114497ce57cc3569589e690dbe1a0c3.tar
mgamirrors-f438c3aee114497ce57cc3569589e690dbe1a0c3.tar.gz
mgamirrors-f438c3aee114497ce57cc3569589e690dbe1a0c3.tar.bz2
mgamirrors-f438c3aee114497ce57cc3569589e690dbe1a0c3.tar.xz
mgamirrors-f438c3aee114497ce57cc3569589e690dbe1a0c3.zip
- limit countries list to one having mirrors
Diffstat (limited to 'root')
-rw-r--r--root/html/includes/mirrorslist.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/html/includes/mirrorslist.tt b/root/html/includes/mirrorslist.tt
index d10d5de..3332a54 100644
--- a/root/html/includes/mirrorslist.tt
+++ b/root/html/includes/mirrorslist.tt
@@ -1,7 +1,7 @@
<form action="[% c.uri_for() %]" METHOD="POST">
<select name="country">
<option value="">--</option>
-[% FOREACH country = c.model('Mirrors').country_list %]
+[% FOREACH country = c.model('Mirrors').country_list_with_mirror %]
<option value="[% country.code %]" [% "selected=select" IF country.code == c.req.param('country') %]>[% country.name | html %]</option>
[% END %]
</select>