[rig3] r457 committed - Add Google +1 buttons to posts....

0 views
Skip to first unread message

ri...@googlecode.com

unread,
Jul 25, 2011, 12:07:35 AM7/25/11
to rig3-d...@googlegroups.com
Revision: 457
Author: ralfoide
Date: Sun Jul 24 21:07:03 2011
Log: Add Google +1 buttons to posts.

That's not really what we want, but right now that's all we got.
http://code.google.com/p/rig3/source/detail?r=457

Modified:
/trunk/rig3serv/templates/default/html_entry.html
/trunk/rig3serv/templates/default/html_index.html
/trunk/rig3serv/templates/default/html_single.html

=======================================
--- /trunk/rig3serv/templates/default/html_entry.html Sat Feb 13 23:14:18
2010
+++ /trunk/rig3serv/templates/default/html_entry.html Sun Jul 24 21:07:03
2011
@@ -39,6 +39,8 @@

[[if enable_sharing]]
<span style="float:right">
+<!-- +1 -->
+<g:plusone size="small" href="[[html abs_permalink_url]]"></g:plusone>
<!-- Reader & Buzz -->
<a href="http://www.google.com/reader/link?title=[[url title]]&url=[[url
abs_permalink_url]]"
onclick="window.open('http://www.google.com/reader/link?title=[[url
title]]&url=[[url
abs_permalink_url]]', 'GoogleReader','toolbar=no,width=650,height=550');
return false;"
=======================================
--- /trunk/rig3serv/templates/default/html_index.html Sat Feb 13 09:47:26
2010
+++ /trunk/rig3serv/templates/default/html_index.html Sun Jul 24 21:07:03
2011
@@ -34,6 +34,9 @@
<meta name="medium" content="blog" />
<meta name="title" content="[[html title]]" />
<meta name="description" content="[[html public_name]]" />
+
+ <!-- Google +1 -->
+ <script type="text/javascript"
src="https://apis.google.com/js/plusone.js"></script>
</head>
<body>

=======================================
--- /trunk/rig3serv/templates/default/html_single.html Sat Feb 13 21:14:38
2010
+++ /trunk/rig3serv/templates/default/html_single.html Sun Jul 24 21:07:03
2011
@@ -32,6 +32,9 @@
<meta name="medium" content="blog" />
<meta name="title" content="[[html entry.title]]" />
<meta name="description" content="[[html public_name]]" />
+
+ <!-- Google +1 -->
+ <script type="text/javascript"
src="https://apis.google.com/js/plusone.js"></script>
</head>
<body>

Reply all
Reply to author
Forward
0 new messages