[dw-free] Strip ad-related code from the codebase
[commit: http://hg.dwscoalition.org/dw-free/rev/d8f3f2b53f0a]
http://bugs.dwscoalition.org/show_bug.cgi?id=137
Strip ads from login.bml
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=137
Strip ads from login.bml
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- htdocs/login.bml
-------------------------------------------------------------------------------- diff -r 13d855c380d5 -r d8f3f2b53f0a htdocs/login.bml --- a/htdocs/login.bml Tue Mar 03 09:06:58 2009 +0000 +++ b/htdocs/login.bml Tue Mar 03 14:21:59 2009 +0000 @@ -224,22 +224,8 @@ $body .= "<p><a href='<?siteroot?>/tour/'>$ML{'.createaccount.tour'}</a></p>\n"; $body .= "</div><!-- end .login-create-account -->\n"; $body .= "</div><!-- end .columns-2-left -->\n"; - $body .= "<div class='columns-2-right'>\n"; - $body .= LJ::get_ads({ location => 'bml.login' }) unless $LJ::IS_SSL; - $body .= "</div><!-- end .columns-2-right -->\n"; } - $body .= "</td><td valign='top' style='padding-top: 10px'>\n"; - if ($remote) { - my $box = LJ::CProd->full_box_for($remote, width => 300); - # because post_login_news is really post_login_ad in ljcom .... - # unfortunate hook name :/ - if (!$box || LJ::run_hook('should_show_ad', { ctx => "app", })) { - $body .= LJ::run_hook('post_login_news'); - $body .= "<br />\n"; - } - $body .= $box; - } $body .= "</td></tr></table>"; return $body; }; --------------------------------------------------------------------------------