This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

'reddit this ad' to 'discuss this ad on reddit'

Also delete a static ad file that's no longer used
  • Loading branch information...
1 parent ebb1e2d commit 6976b8d4e6e2cef9bd8e3bf7080d023dfe5db4e8 @Deimos Deimos committed Mar 11, 2013
Showing with 2 additions and 55 deletions.
  1. +0 −53 r2/r2/public/static/ad_default.html
  2. +1 −1 r2/r2/templates/dart_ad.html
  3. +1 −1 r2/r2/templates/housead.html
@@ -1,53 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-<head>
-<title></title>
-<style type="text/css">
-#ad {
-background-color: white; width: 100%; text-align: center;
-font: normal small verdana, arial, sans-serif}
-#adlink {
-background-color: white; width: 100%; text-align: center;
-font: normal small verdana, arial, sans-serif}
-#adlink {width: 100%; text-align: center;}
-#adlink a {color: #336699; text-decoration: none}
-#adlink a:hover {text-decoration: underline}
-</style>
-<script language="javascript" type="text/javascript">
-function rwt(a) {
-var ad = document.getElementById("ad")
-var s = ad.getElementsByTagName("embed")[0]
-if (!s) s = ad.getElementsByTagName("iframe")[0]
-if (!s) s = ad.getElementsByTagName("img")[0]
-if (s) a.href = "http://ads.reddit.com/submit?url=" + encodeURIComponent(s.src);
-else a.target = ""
-return true;
-}
-</script>
-</head>
-<body style="padding: 0; margin: 0;">
-
-<div id="ad">
-<!-- begin ad tag (tile=1) -->
-<script language="JavaScript" type="text/javascript">
-//<![CDATA[
-ord=Math.random()*10000000000000000;
-document.write('<script language="JavaScript" src="http://ad.doubleclick.net/adj/reddit.dart/homepage;kw=homepage;tile=1;dcopt=ist;sz=300x250;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');
-//]]>
-</script>
-<noscript><a href="http://ad.doubleclick.net/jump/reddit.dart/homepage;kw=homepage;tile=1;sz=300x250;ord=123456789?" target="_blank"><img src="http://ad.doubleclick.net/ad/reddit.dart/homepage;kw=homepage;tile=1;sz=300x250;ord=123456789?" width="300" height="250" border="0" alt=""/></a></noscript>
-</div>
-
-<div id="adlink">
-<a target="_top" href="#" onclick="rwt(this)">reddit this ad</a>
-</div>
-
-</body>
-</html>
-
-
-
-
-
-
-
@@ -86,7 +86,7 @@
</div>
<div id="adlink">
<a target="_top" href="#" onmousedown="rwt(this)">
- ${_("reddit this ad")}
+ ${_("discuss this ad on reddit")}
</a>
</div>
<script language="JavaScript" type="text/javascript">
@@ -51,7 +51,7 @@
</div>
<div id="adlink">
<a target="_top" href="${thing.submit_link}">
- ${_("reddit this ad")}
+ ${_("discuss this ad on reddit")}
</a>
</div>
</body>

0 comments on commit 6976b8d

Please sign in to comment.