widget
authorzoe <zoe@fsf.org>
Sat, 16 Apr 2022 01:23:34 +0000 (03:23 +0200)
committerzoe <zoe@fsf.org>
Sat, 16 Apr 2022 01:23:34 +0000 (03:23 +0200)
en/index.html
static/img/en/widget2.js [deleted file]

index e5a869990f11c1bcf86c113e2c56a94cff7df885..634318ad5a3e39acc028bcc0f87532aa5e92e545 100644 (file)
@@ -90,7 +90,7 @@ the world taking the first step towards protecting their privacy.</strong></p>
 this.fsf_widget_size = "thin";
 this.fsf_associate_id = "2442";
 </script>
-<script type="text/javascript" src="../static/img/en/widget2.js"></script>
+<script type="text/javascript" src="../static/js/widget2.js"></script>
 
 </div><!-- End #fsf-intro -->
 
diff --git a/static/img/en/widget2.js b/static/img/en/widget2.js
deleted file mode 100644 (file)
index f44682d..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * widget.js -- Fundraising web widget
- * Copyright (c) 2007 Creative Commons
- * Copyright (c) 2007 Free Software Foundation, Inc.
- *
- * Modified by the FSF in November 2007 to make it FSF-specific.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * A copy of the GNU Lesser General Public License is available at
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- */
-
-// @license magnet:?xt=urn:btih:0ef1b8170b3b615170ff270def6427c317705f85&dn=lgpl-3.0.txt LGPL-3.0
-
-if (fsf_widget_text == "Help protect your freedom!") {
-    var fsf_widget_text = "Get updates from the FSF";
-       }
-
-if (fsf_widget_text == "Help fight DRM!") {
-    var fsf_widget_text = "Get updates from the FSF";
-       }
-
-document.write("<link href=\"//www.fsf.org/graphics/widget/campaignwidget.css?1.0.1\" rel=\"stylesheet\" type=\"text/css\" />");
-document.write("");
-document.write("<div id=\"fsf_campaign_widget\" class=\"" + fsf_widget_size + "\">");
-document.write("<div id=\"fsf_campaign_widget_bg\"><div id=\"fsf_campaign_widget_bg_logo\">");
-document.write("<p style='text-align:center;'><a href=\"//www.fsf.org/associate/support_freedom/join_fsf?referrer=" +  fsf_associate_id + "\">Support software freedom!</a></p>");
-document.write("<p style='text-align:center;'>Get <span id='thinhide'>the monthly newsletter &mdash; <br /><em></span>the Free Software Supporter</em></p>");
-document.write("<form action=\"https://crm.fsf.org/civicrm/profile/create&amp;reset=1&amp;gid=31\" method=\"post\">");
-document.write("<p style='text-align:center;'><input type=\"text\" id=\"frmEmail\" name=\"email-Primary\" size=\"10\" /></p>");
-document.write("<p style='text-align: center; margin-top: 10px;'><input type=\"submit\" name=\"_qf_Edit_next\" value=\"Subscribe Me\" /></p>");
-document.write("<input type=\"hidden\" name=\"group[25]\" value=\"1\" />");
-document.write("</form>");
-document.write("");
-document.write("</div></div>");
-document.write("</div>");
-document.write("");
-
-// @license-end