diff options
-rw-r--r-- | web/css/cobrands/emptyhomes/emptyhomes.css | 14 | ||||
-rwxr-xr-x | web/index.cgi | 13 |
2 files changed, 25 insertions, 2 deletions
diff --git a/web/css/cobrands/emptyhomes/emptyhomes.css b/web/css/cobrands/emptyhomes/emptyhomes.css index 15afee568..61db27054 100644 --- a/web/css/cobrands/emptyhomes/emptyhomes.css +++ b/web/css/cobrands/emptyhomes/emptyhomes.css @@ -193,3 +193,17 @@ blockquote { margin-top: 1px; } +#eha_advert { + clear: both; + width: 55%; + margin: 0 auto; + padding: 0.5em; + text-align: center; + background-color: #ffeecc; + border: solid 1px #ff9900; +} + +#front_intro { + margin-bottom: 1em; +} + diff --git a/web/index.cgi b/web/index.cgi index c2482e26b..ef4b3eee1 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -202,8 +202,17 @@ EOF $out .= '</a></li>'; } $out .= '</ul>' if @$probs; - $out .= '</div>'; - } + $out .= '</div>'; + } + + if ($q->{site} eq 'emptyhomes') { + $out .= <<EOF; +<div id="eha_advert"> +Now is the best time to turn empty properties into empty homes... Don't miss it! +<a href="http://www.emptyhomes.com/EHConference2011.html">Home Again: Empty Homes National Conference 2011</a> +</div> +EOF + } return ($out, %params); } |