Skip to content
This repository
Browse code

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

Also delete a static ad file that's no longer used
  • Loading branch information...
commit 6976b8d4e6e2cef9bd8e3bf7080d023dfe5db4e8 1 parent ebb1e2d
Chad Birch authored
53  r2/r2/public/static/ad_default.html
... ...
@@ -1,53 +0,0 @@
1  
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2  
-<html>
3  
-<head>
4  
-<title></title>
5  
-<style type="text/css">
6  
-#ad {
7  
-background-color: white; width: 100%; text-align: center;
8  
-font: normal small verdana, arial, sans-serif}
9  
-#adlink {
10  
-background-color: white; width: 100%; text-align: center;
11  
-font: normal small verdana, arial, sans-serif}
12  
-#adlink {width: 100%; text-align: center;}
13  
-#adlink a {color: #336699; text-decoration: none}
14  
-#adlink a:hover {text-decoration: underline}
15  
-</style>
16  
-<script language="javascript" type="text/javascript">
17  
-function rwt(a) {
18  
-var ad = document.getElementById("ad")
19  
-var s = ad.getElementsByTagName("embed")[0]
20  
-if (!s) s = ad.getElementsByTagName("iframe")[0]
21  
-if (!s) s = ad.getElementsByTagName("img")[0]
22  
-if (s) a.href = "http://ads.reddit.com/submit?url=" + encodeURIComponent(s.src);
23  
-else a.target = ""
24  
-return true;
25  
-}
26  
-</script>
27  
-</head>
28  
-<body style="padding: 0; margin: 0;">
29  
-
30  
-<div id="ad">
31  
-<!-- begin ad tag  (tile=1)  -->
32  
-<script language="JavaScript" type="text/javascript">
33  
-//<![CDATA[
34  
-ord=Math.random()*10000000000000000;
35  
-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>');
36  
-//]]>
37  
-</script>
38  
-<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>
39  
-</div>
40  
-
41  
-<div id="adlink">
42  
-<a target="_top" href="#" onclick="rwt(this)">reddit this ad</a>
43  
-</div>
44  
-
45  
-</body>
46  
-</html>
47  
-
48  
-
49  
-
50  
-
51  
-
52  
-
53  
-
2  r2/r2/templates/dart_ad.html
@@ -86,7 +86,7 @@
86 86
     </div>
87 87
     <div id="adlink">
88 88
       <a target="_top" href="#" onmousedown="rwt(this)">
89  
-        ${_("reddit this ad")}
  89
+        ${_("discuss this ad on reddit")}
90 90
       </a>
91 91
     </div>
92 92
     <script language="JavaScript" type="text/javascript">
2  r2/r2/templates/housead.html
@@ -51,7 +51,7 @@
51 51
     </div>
52 52
     <div id="adlink">
53 53
       <a target="_top" href="${thing.submit_link}">
54  
-        ${_("reddit this ad")}
  54
+        ${_("discuss this ad on reddit")}
55 55
       </a>
56 56
     </div>
57 57
   </body>

0 notes on commit 6976b8d

Please sign in to comment.
Something went wrong with that request. Please try again.