diff options
-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'; |