[%- END -%]
</div></div></div>
-<div class=\"clear mozclear\"></div><div id=\"prefooter\">
+<div class="clear mozclear"></div><div id="prefooter">
<div id="footer">
-[% IF langs.size > 0 %]
+[% IF langs && langs.size > 0 %]
<hr class="hidecss">
<!--UdmComment-->
<p>[% g('This page is also available in the following languages:') %]</p>
<a href="/about/">[% g('Learn more about this site') %]</a>.</p>
[% END %]
</div> <!-- end impressum -->
-[% IF sponsor.name %]
+[% IF sponsors.size %]
<div id="sponsorfooter"><p>
-[% g('Hosting provided by <a href="%s">%s</a>.', sponsor.url, sponsor.name) %]
+[% USE Math; random = Math.int(Math.rand(sponsors.size));
+ g('This service is sponsored by <a href="%s">%s</a>.', sponsors.${random}.url, sponsors.${random}.name) -%]
</p></div>
[% END %]
</div> <!-- end fineprint -->