X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Ffoot.tmpl;h=d5287c2de38fd44acccb103bc48c43b62ce59054;hb=ba5be70ae27ddcb97cae5b9e5ceb9c97c06649f3;hp=cbabd66a1b25a1d05841300ed8f942e9e3510590;hpb=07134d873c7eed36befdb9fc06f6538ef8670f1c;p=deb%2Fpackages.git diff --git a/templates/html/foot.tmpl b/templates/html/foot.tmpl index cbabd66..d5287c2 100644 --- a/templates/html/foot.tmpl +++ b/templates/html/foot.tmpl @@ -1,14 +1,15 @@ [%- IF benchmark && debug -%] Total page evaluation took [% benchmark %]
[%- END -%] - + +
-[% IF sponsor.name %] +[% IF sponsors.size %]

-[% g('Hosting provided by %s.', sponsor.url, sponsor.name) %] +[% USE Math; random = Math.int(Math.rand(sponsors.size)); + g('This service is sponsored by %s.', sponsors.${random}.url, sponsors.${random}.name) -%]

[% END %]
- +