[Debconf6-data-commit] r46 - in website/www: . sponsors/logos

Neil McGovern neilm at costa.debian.org
Fri Nov 4 11:45:33 UTC 2005


Author: neilm
Date: 2005-11-04 11:45:32 +0000 (Fri, 04 Nov 2005)
New Revision: 46

Added:
   website/www/sponsors/logos/04_www.bytemark.co.uk+r+debian.png
Removed:
   website/www/sponsors/logos/04_www.bytemark.co.uk.png
Modified:
   website/www/sponsors.html
Log:
Added repalcement for + in sponsors logo to /
Changed bytemark logo (every signup we get through that link will get money donated to Debian - http://www.bytemark.co.uk/hosting/prices/referral.html)


Copied: website/www/sponsors/logos/04_www.bytemark.co.uk+r+debian.png (from rev 45, website/www/sponsors/logos/04_www.bytemark.co.uk.png)

Deleted: website/www/sponsors/logos/04_www.bytemark.co.uk.png
===================================================================
(Binary files differ)

Modified: website/www/sponsors.html
===================================================================
--- website/www/sponsors.html	2005-11-04 11:34:33 UTC (rev 45)
+++ website/www/sponsors.html	2005-11-04 11:45:32 UTC (rev 46)
@@ -2,7 +2,9 @@
 $output .= "";
 foreach $name (sort glob("sponsors/logos/*") ) {
 $name =~ /[0-9]{2}_(.*).[a-z]{3}/;
-$output .= "<a href='http://$1'><img src='/$name' alt='Sponsor Logo'/></a><br />&nbsp;<br />";
+$url = $1;
+$url =~ s/\+/\//g;
+$output .= "<a href='http://$url'><img src='/$name' alt='Sponsor Logo'/></a><br />&nbsp;<br />";
 }
 $foo = $output;
 +]




More information about the Debconf6-data-commit mailing list