diff options
author | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-02-18 17:00:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-02-18 17:00:30 +0000 |
commit | 9d9b077d4ade97e65efa41daf45adfb68d068932 (patch) | |
tree | ef0587196bad38503d00abb9f5bd033ca56942ef /perllib/CrossSell.pm | |
parent | f5d9bd3ec2c7cd8074189c33982869a0022afcfb (diff) |
Style tweak.
Diffstat (limited to 'perllib/CrossSell.pm')
-rw-r--r-- | perllib/CrossSell.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perllib/CrossSell.pm b/perllib/CrossSell.pm index 6c22fda66..a533ecfc7 100644 --- a/perllib/CrossSell.pm +++ b/perllib/CrossSell.pm @@ -113,7 +113,9 @@ EOF sub display_democracyclub { my (%input) = @_; return <<EOF; -<h2 style="margin-bottom:0">Help make the next election the most accountable ever</h2> <p style="font-size:120%;margin-top:0.5em;text-align:center;"><a href="http://www.democracyclub.org.uk/">Join Democracy Club</a> and have fun keeping an eye on your election candidates. <a href="http://www.democracyclub.org.uk/">Sign me up</a>! +<div id="advert_thin" style="text-align:center"> +<h2 style="margin-bottom:0">Help make the next election the most accountable ever</h2> <p style="font-size:120%;margin-top:0.5em;"><a href="http://www.democracyclub.org.uk/">Join Democracy Club</a> and have fun keeping an eye on your election candidates. <a href="http://www.democracyclub.org.uk/">Sign me up</a>! +</div> EOF } @@ -218,8 +220,7 @@ sub display_advert ($$;$%) { # ALWAYS return democracy club advert for the mo $q->{scratch} = 'advert=demclub0'; - return '<div style="margin: 0 5em; border-top: dotted 1px #666666;">' - . display_democracyclub() . '</div>'; + return display_democracyclub(); #unless (defined $data{done_tms} && $data{done_tms}==1) { $q->{scratch} = 'advert=news'; |