Code

added bottom add
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 18 Apr 2006 19:02:35 +0000 (19:02 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 18 Apr 2006 19:02:35 +0000 (19:02 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@797 a5681a0c-68f1-0310-ab6d-d61299d08faa

website/inc/design.css
website/inc/template.inc

index 460dc34958ae1fa2cb24d4a516760eb50c0a69e1..0e0bb33818855247543450094d5e2d84b012c5e6 100644 (file)
@@ -116,6 +116,7 @@ div#googlead_right {
  * footer
  **************************/
 table#frame td#footcell {
+  padding-left: 40px;
 }
 
 div#address  {
index 35c2fb3d13a718f35c04292c89e1c833d3dfd522..06dd2b753feb0ec49a004de861de8403dc6c0a51 100644 (file)
@@ -135,6 +135,30 @@ LINE
 </perl>
 </small>
 </div>
+<perl>
+if ( -s "$(WML_SRC_FILENAME)" > 4000 ) {
+print <<'GOOGLEAD';
+<p>
+<script type="text/javascript"><!--
+google_ad_client = "pub-8135238818549668";
+google_ad_width = 728;
+google_ad_height = 90;
+google_ad_format = "728x90_as";
+google_ad_type = "text";
+google_ad_channel ="6085696737";
+google_color_border = "616FC5";
+google_color_bg = "202020";     
+google_color_link = "66A5FF";      
+google_color_url = "FFBBE8";      
+google_color_text = "FFFFFF";
+//--></script>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</p>
+GOOGLEAD
+}
+</perl>
 </td></tr>
 </table>
 <hr class="legacy"/>