Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed POST send, since it crashes if user is logged out

  • Loading branch information...
commit e0574de2fd3f8658cd3632f3bab6ce133e9acd25 1 parent b4c7751
Christopher Käck authored
Showing with 6 additions and 6 deletions.
  1. +2 −1  index.html
  2. +4 −5 send.php
3  index.html
View
@@ -10,6 +10,7 @@
<p>This form adds flattr buttons to your blogger.com (blogspot.com) blog!<br/>
Here is a <a href="http://test-flattr-blogger.blogspot.com/">preview website</a>.<br />
The source code is hosted on <a href="https://github.com/melpomene/flattr-on-blogger">GitHub</a>.</p>
-
+ <a href="http://flattr.com/thing/331822/Flattr-widget-for-Blogger" target="_blank">
+ <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
</body>
</html>
9 send.php
View
@@ -26,15 +26,14 @@
</head>
<body>
- <form name="send" action="http://www.blogger.com/add-widget">
- <form method="POST" action="http://www.blogger.com/add-widget">
- <input type="hidden" name="widget.title" value="Flattr on Blogger"/>
+ <form method="POST" action="http://www.blogger.com/add-widget">
+ <input type="hidden" name="widget.title" value="Flattr this blog"/>
<input type="hidden" name="widget.content" value="
<?php echo htmlspecialchars( str_replace('"', "'", $script)); ?>
"/>
<input type="hidden" name="widget.template" value="&lt;data:content/&gt;" />
- <!-- <input type="hidden" name="infoUrl" value="http://www.bloggingtips.com"/>
- <input type="hidden" name="logoUrl" value="http://www.bloggingtips.com/wp-content/uploads/2008/11/bt-icon.gif"/> -->
+ <!--<input type="hidden" name="infoUrl" value="http://flattr.kejsarmakten.se/blogger" />
+ <input type="hidden" name="logoUrl" value="https://flattr.com/_img/icons/flattr_logo_16.png" /> -->
</form>
<script type="text/javascript" language="JavaScript">
document.send.submit();
Please sign in to comment.
Something went wrong with that request. Please try again.