Commit 5a3ec3b120af16c1ec49183f56c4f9513c7520f3

Authored by Braulio Bhavamitra
1 parent 99fddca0

Use https on addthis urls

app/helpers/layout_helper.rb
... ... @@ -86,7 +86,7 @@ module LayoutHelper
86 86  
87 87 def addthis_javascript
88 88 if NOOSFERO_CONF['addthis_enabled']
89   - '<script src="http://s7.addthis.com/js/152/addthis_widget.js"></script>'
  89 + '<script src="https://s7.addthis.com/js/152/addthis_widget.js"></script>'
90 90 end
91 91 end
92 92  
... ...
app/views/content_viewer/view_page.rhtml
... ... @@ -66,7 +66,7 @@
66 66 };
67 67 addthis_options = '<%= escape_javascript( NOOSFERO_CONF['addthis_options'] ) %>';
68 68 </script>
69   -<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()"><%= addthis_image_tag %></a>
  69 +<a href="https://www.addthis.com/bookmark.php" id="bt_addThis" target="_blank" onmouseover="return addthis_open(this, '', '[URL]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><%= addthis_image_tag %></a>
70 70 </div>
71 71 <% end %>
72 72  
... ...