1. Shlomi Fish
  2. shlomi-fish-homepage

Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed d621eba

r4896@telaviv1: shlomi | 2008-04-23 08:32:48 +0300
Added the after-the-main-text Google adsense ads.

  • Participants
  • Parent commits 23b96ae
  • Branches default

Comments (0)

Files changed (2)

File lib/rest-of-template.wml

View file
 </script>
 </define-tag>
 
+<define-tag google_adsense_code_after_text_proto>
+<script type="text/javascript">
+google_ad_client = "pub-2480595666283917";
+/* 468x60, created 4/22/08 */
+google_ad_slot = "2091732623";
+google_ad_width = 468;
+google_ad_height = 60;
+google_color_border = "008000";
+google_color_text = "6F6F6F";
+google_color_bg = "FFFFFF";
+google_color_link = "0000CC";
+google_color_url = "008000";
+</script>
+<script type="text/javascript"
+src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</define-tag>
+
+<define-tag google_adsense_code_after_text>
+<if "<match "$(LATEMP_FILENAME)" "\.xhtml$" action="report" />"
+    "  <object class="ads_side" data="$(ROOT)/images/ads/ads-aft-text.html" type="text/html"></object>"
+    "<google_adsense_code_after_text_proto />"
+    />
+</define-tag>
+
 <define-tag w2l_notice>
 <a href="http://welcome.linux.org.il/2007/" title="ברוכים הבאים ללינוקס 2007 - הכירו את הסביבה היציבה, החזקה והמגוונת"><img
      src="$(ROOT)/images/welcome-to-linux-2004-banner-256.png" 
 </latemp_extra_head_elements>
 
 <latemp_after_body>
-<add_this_button />
+<add_this_button /><br />
+<google_adsense_code_after_text />
 </latemp_after_body>
+

File t2/images/ads/ads-aft-text.html

View file
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+   "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head><title>Shlomi Fish's Google Ads</title></head>
+<body style="overflow:visible; border:0px; padding:0; margin:0;">
+<script type="text/javascript">
+google_ad_client = "pub-2480595666283917";
+/* 468x60, created 4/22/08 */
+google_ad_slot = "2091732623";
+google_ad_width = 468;
+google_ad_height = 60;
+google_color_border = "008000";
+google_color_text = "6F6F6F";
+google_color_bg = "FFFFFF";
+google_color_link = "0000CC";
+google_color_url = "008000";
+</script>
+    <script type="text/javascript" 
+        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+    </script>
+</body>
+</html>