Skip to content
Browse files

- Template cleanup

  • Loading branch information...
1 parent 4540935 commit 18db86534b2e8aa780114403abe8c34c7c158b76 @chrisglass committed Oct 20, 2010
View
3 cmsplugin_facebook/templates/cmsplugin_facebook/likebox.html
@@ -1,3 +1,4 @@
+{% comment %}
<!-- Example from Facebook website: -->
<!--
<iframe src="http://www.facebook.com/plugins/likebox.php?
@@ -14,7 +15,7 @@
height:587px;"
allowTransparency="true">
</iframe> -->
-
+{% endcomment %}
<iframe src="http://www.facebook.com/plugins/likebox.php?
href={% autoescape on %}{{ instance.pageurl }}{% endautoescape %}&amp;
width={% if instance.width %}{{ instance.width }}{% else %}{{ width|default:295 }}{% endif %}&amp;
View
10 cmsplugin_facebook/templates/cmsplugin_facebook/likebutton.html
@@ -1,3 +1,4 @@
+{% comment %}
<!-- Example from Facebook -->
<!--
<iframe src="http://www.facebook.com/plugins/like.php?
@@ -6,24 +7,21 @@
show_faces=true&amp;
width=450&amp;
action=like&amp;
-
- height=80
- "
+ height=80"
scrolling="no"
frameborder="0"
style="border:none; overflow:hidden; width:450px; height:80px;"
allowTransparency="true">
</iframe> -->
-
+{% endcomment %}
<iframe src="http://www.facebook.com/plugins/like.php?
href={% autoescape on %}{{ instance.pageurl }}{% endautoescape %}&amp;
layout={% if instance.layout %}{{instance.layout}}{% endif %}&amp;
show_faces={% if instance.show_faces %}{{instance.show_faces}}{% endif %}&amp;
width={% if instance.width %}{{ instance.width }}{% else %}{{ width|default:295 }}&amp;{% endif %}
height={{ instance.height }}
action=like&amp;
- colorscheme=light&amp;
- "
+ colorscheme=light&amp;"
scrolling="no"
frameborder="0"
style="border:none;overflow:hidden; width:{% if instance.width %}{{ instance.width }}{% else %}{{ width|default:295 }}{% endif %}px; height:{{ instance.height }}px;"
View
5 cmsplugin_facebook/templates/cmsplugin_facebook/sharebutton.html
@@ -1,16 +1,17 @@
+{% comment %}
<!-- Example from Facebook -->
<!-- <a
name="fb_share"
type="button" # Can be button, button_count or box_count (box_count is above, button_count is inline)
href="http://www.facebook.com/sharer.php">Share</a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
-->
+{% endcomment %}
<a
name="fb_share"
type="{{ instance.style }}" # Can be button, button_count or box_count (box_count is above, button_count is inline)
href="http://www.facebook.com/sharer.php"
{% if instance.share_url %}
share_url="{{instance.share_url}}"
- {% endif %}
- >{{instance.button_text}}</a>
+ {% endif %}>{{instance.button_text}}</a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

0 comments on commit 18db865

Please sign in to comment.
Something went wrong with that request. Please try again.