Commit 2f66c34a26134f49e8435ed3a49e072e0a941435

Authored by Caio SBA
Committed by Antonio Terceiro
1 parent ad8d04a7

Removing duplicated AddThis

Showing 1 changed file with 0 additions and 19 deletions   Show diff stats
app/views/content_viewer/view_page.rhtml
@@ -116,25 +116,6 @@ @@ -116,25 +116,6 @@
116 </div> 116 </div>
117 <% end %> 117 <% end %>
118 118
119 -<%  
120 - # AddThis Button  
121 - if block_given? && web2_conf['addthis']  
122 - opts = web2_conf['addthis']  
123 -%>  
124 -<div id="addThis">  
125 -<script type="text/javascript">  
126 - addthis_brand = '<%= escape_javascript( @environment.name ) %>';  
127 -<%=  
128 - str = ''  
129 - opts.each { |k, v|  
130 - str += ' addthis_'+ k +' = "'+ escape_javascript( v ) +"\";\n"  
131 - }  
132 - str  
133 -%></script>  
134 -<a href="http://www.addthis.com/bookmark.php" id="bt_addThis" target="_blank" onmouseover="return addthis_open(this, '', '[URL]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="/images/bt-bookmark.gif" width="53" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>  
135 -</div>  
136 -<% end %>  
137 -  
138 <div class="comments"> 119 <div class="comments">
139 <a name="comments_list"></a> 120 <a name="comments_list"></a>
140 <% if @page.accept_comments? %> 121 <% if @page.accept_comments? %>