[bknr-cvs] hans changed trunk/projects/quickhoney/website/templates/

BKNR Commits bknr at bknr.net
Sat Sep 6 19:56:48 UTC 2008


Revision: 3824
Author: hans
URL: http://bknr.net/trac/changeset/3824

Add GA tracking.

U   trunk/projects/quickhoney/website/templates/frontpage.xml
U   trunk/projects/quickhoney/website/templates/image-browse.xml
U   trunk/projects/quickhoney/website/templates/index.xml

Modified: trunk/projects/quickhoney/website/templates/frontpage.xml
===================================================================
--- trunk/projects/quickhoney/website/templates/frontpage.xml	2008-09-06 16:38:25 UTC (rev 3823)
+++ trunk/projects/quickhoney/website/templates/frontpage.xml	2008-09-06 19:56:47 UTC (rev 3824)
@@ -1,38 +1,47 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html
-  xmlns:xml="http://www.w3.org/XML/1998/namespace"
-  xmlns="http://www.w3.org/1999/xhtml"
-  xmlns:bknr="http://bknr.net"
-  xmlns:quickhoney="http://quickhoney.com/"
-  >
- <head>
-  <link rel="stylesheet" href="/static/styles.css" />
-  <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/rss/quickhoney" />
-  <script src="/static/javascript.js" type="text/javascript"><!-- x -->   
-  </script> 
-  <title>QuickHoney - Nana Rausch + Peter Stemmler</title>
- </head>
+   xmlns:xml="http://www.w3.org/XML/1998/namespace"
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:bknr="http://bknr.net"
+   xmlns:quickhoney="http://quickhoney.com/"
+   >
+  <head>
+    <link rel="stylesheet" href="/static/yui/reset-fonts/reset-fonts.css" />
+    <link rel="stylesheet" href="/static/quickhoney.css" />
+    <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/rss/quickhoney" />
+    <script src="/static/javascript.js" type="text/javascript"><!-- x -->   
+    </script> 
+    <title>QuickHoney - Nana Rausch + Peter Stemmler</title>
+  </head>
 
- <body id="frontpage">
-  <p>
-   <img src="/image/quickhoney" id="the_logo" name="logo" border="0" width="438" height="66" />
-  </p>
-  <div>
-   <h1>QuickHoney Illustrations</h1>
-   <p>Studio for Illustration, New York</p>
-   <h1>Peter Stemmler</h1>
-   <p>Phone: 646.270.5562<br/>Email: p at quickhoney.com</p>
-   <h1>Nana Rausch</h1>
-   <p>Phone 646.270.5592<br/>Email: n at quickhoney.com</p>
-  </div>
-  <p>
-   This site requires Firefox, Safari or Internet Explorer and Javascript for full viewing pleasure.
-  </p>
-  <p>Enter our <a href="/image-browse">Image gallery</a> for basic view.</p>
-  <script type="text/javascript">
-   document.location.href = '/index';
-  </script>
- </body>
+  <body id="frontpage">
+    <p>
+      <img src="/image/quickhoney" id="the_logo" name="logo" border="0" width="438" height="66" />
+    </p>
+    <div>
+      <h1>QuickHoney Illustrations</h1>
+      <p>Studio for Illustration, New York</p>
+      <h1>Peter Stemmler</h1>
+      <p>Phone: 646.270.5562<br/>Email: p at quickhoney.com</p>
+      <h1>Nana Rausch</h1>
+      <p>Phone 646.270.5592<br/>Email: n at quickhoney.com</p>
+    </div>
+    <p>
+      This site requires Firefox, Safari or Internet Explorer and Javascript for full viewing pleasure.
+    </p>
+    <p>Enter our <a href="/image-browse">Image gallery</a> for basic view.</p>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+var pageTracker = _gat._getTracker("UA-3432041-4");
+pageTracker._trackPageview();
+</script>
+    <script type="text/javascript">
+      document.location.href = '/index';
+    </script>
+  </body>
 </html>

Modified: trunk/projects/quickhoney/website/templates/image-browse.xml
===================================================================
--- trunk/projects/quickhoney/website/templates/image-browse.xml	2008-09-06 16:38:25 UTC (rev 3823)
+++ trunk/projects/quickhoney/website/templates/image-browse.xml	2008-09-06 19:56:47 UTC (rev 3824)
@@ -18,6 +18,14 @@
     <div id="logo">
       <img src="/image/quickhoney-black" id="the_logo" name="logo" border="0" />
     </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+var pageTracker = _gat._getTracker("UA-3432041-4");
+pageTracker._trackPageview();
+</script>
     <quickhoney:simple-image-browser />
     <div id="footer">
       ©1998-2008 QuickHoney Nana Rausch & Peter Stemmler. No part of

Modified: trunk/projects/quickhoney/website/templates/index.xml
===================================================================
--- trunk/projects/quickhoney/website/templates/index.xml	2008-09-06 16:38:25 UTC (rev 3823)
+++ trunk/projects/quickhoney/website/templates/index.xml	2008-09-06 19:56:47 UTC (rev 3824)
@@ -370,6 +370,14 @@
       <iframe src="about:blank" height="0" width="0" name="edit_iframe"> </iframe>
     </div>
 
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+var pageTracker = _gat._getTracker("UA-3432041-4");
+pageTracker._trackPageview();
+</script>
     <script language="javascript" type="text/javascript">
       init();
     </script>




More information about the Bknr-cvs mailing list