]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/foot.tmpl
Merge commit 'alioth/master' into ubuntu-master
[deb/packages.git] / templates / html / foot.tmpl
index 580e280f6cae5523673e1d989dee6070e33737f6..d5287c2de38fd44acccb103bc48c43b62ce59054 100644 (file)
@@ -36,9 +36,10 @@ Total page evaluation took [% benchmark %]<br>
  <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 -->