[cc-commits] [SCM] cc.engine: License chooser, public domain chooser, deeds (branch next) updated. e483934d036534a6eb8045ba570f17ab9627bf6c

Gitosis User git at gandi0.creativecommons.org
Tue Jan 10 15:01:31 EST 2012


The branch, next has been updated
       via  e483934d036534a6eb8045ba570f17ab9627bf6c (commit)
      from  99a650e0f61deaee4c86496c47862504d11daad2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e483934d036534a6eb8045ba570f17ab9627bf6c
Author: Jonathan Palecek <jonathan at creativecommons.org>
Date:   Tue Jan 10 14:05:31 2012 -0600

    Issue 1008: minor bug fix and fixed for pdb tools

-----------------------------------------------------------------------

Summary of changes (followed by patch):
 cc/engine/templates/macros_templates/deed.html     |    4 ++--
 .../templates/macros_templates/pdtool_deed.html    |    6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/cc/engine/templates/macros_templates/deed.html b/cc/engine/templates/macros_templates/deed.html
index 3577bf9..9479b68 100644
--- a/cc/engine/templates/macros_templates/deed.html
+++ b/cc/engine/templates/macros_templates/deed.html
@@ -159,12 +159,12 @@
         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       })();
-//]]]>
+//]]>
     </script>
     <script type="text/javascript">
 //<![CDATA[
       document.write("<" + "script type='text/javascript' src='http://scraper.creativecommons.org/apps/deed?url=" + encodeURIComponent(document.referrer) + "&amp;license_uri=" + encodeURIComponent(document.URL) + "&amp;callback=YAHOO.cc.success'" + "><" + "/script>");
-//]]]>
+//]]>
     </script>
   </body>
 </html>
diff --git a/cc/engine/templates/macros_templates/pdtool_deed.html b/cc/engine/templates/macros_templates/pdtool_deed.html
index 5bcffd6..3712910 100644
--- a/cc/engine/templates/macros_templates/pdtool_deed.html
+++ b/cc/engine/templates/macros_templates/pdtool_deed.html
@@ -106,7 +106,7 @@
     </div>
 
     <script type="text/javascript">
-
+      //<![CDATA[
       var _gaq = _gaq || [];
       _gaq.push(['_setAccount', 'UA-2010376-1']);
       _gaq.push(['_trackPageview']);
@@ -116,10 +116,12 @@
         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       })();
-
+//]]>
     </script>
     <script type="text/javascript">
+      //<![CDATA[
       document.write("<" + "script type='text/javascript' src='http://scraper.creativecommons.org/apps/pddeed?url=" + encodeURIComponent(document.referrer) + "&license_uri=" + encodeURIComponent(document.URL) + "&callback=YAHOO.cc.success'" + "><" + "/script>");
+//]]>
     </script>
   </body>
 </html>


hooks/post-receive
-- 
cc.engine: License chooser, public domain chooser, deeds


More information about the cc-commits mailing list