Commit 5a3ec3b120af16c1ec49183f56c4f9513c7520f3
1 parent
99fddca0
Exists in
master
and in
29 other branches
Use https on addthis urls
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/helpers/layout_helper.rb
@@ -86,7 +86,7 @@ module LayoutHelper | @@ -86,7 +86,7 @@ module LayoutHelper | ||
86 | 86 | ||
87 | def addthis_javascript | 87 | def addthis_javascript |
88 | if NOOSFERO_CONF['addthis_enabled'] | 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 | end | 90 | end |
91 | end | 91 | end |
92 | 92 |
app/views/content_viewer/view_page.rhtml
@@ -66,7 +66,7 @@ | @@ -66,7 +66,7 @@ | ||
66 | }; | 66 | }; |
67 | addthis_options = '<%= escape_javascript( NOOSFERO_CONF['addthis_options'] ) %>'; | 67 | addthis_options = '<%= escape_javascript( NOOSFERO_CONF['addthis_options'] ) %>'; |
68 | </script> | 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 | </div> | 70 | </div> |
71 | <% end %> | 71 | <% end %> |
72 | 72 |