X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Ffoot.tmpl;h=6dc492550d05ebf6ef95087f23e61a509ac0cd3d;hb=66a3f9223a4d8ba393f0f3e4a05a5d46a8b33daf;hp=cbabd66a1b25a1d05841300ed8f942e9e3510590;hpb=07134d873c7eed36befdb9fc06f6538ef8670f1c;p=deb%2Fpackages.git diff --git a/templates/html/foot.tmpl b/templates/html/foot.tmpl index cbabd66..6dc4925 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 %]
- +