From: zoe Date: Sat, 16 Apr 2022 01:07:10 +0000 (+0200) Subject: widget add to static folder X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=83a0d6fe35e926b77876c72a843a6f1dd575300a;p=enc.git widget add to static folder --- diff --git a/en/index.html b/en/index.html index c337b8d4..4fc14b41 100644 --- a/en/index.html +++ b/en/index.html @@ -74,7 +74,7 @@ the world taking the first step towards protecting their privacy.

this.fsf_widget_size = "thin"; this.fsf_associate_id = "2442"; - + diff --git a/static/img/en/widget2.js b/static/img/en/widget2.js new file mode 100644 index 00000000..f44682dd --- /dev/null +++ b/static/img/en/widget2.js @@ -0,0 +1,48 @@ +/* + * 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 + * . + */ + +// @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(""); +document.write(""); +document.write("
"); +document.write("
"); +document.write("

Support software freedom!

"); +document.write("

Get the monthly newsletter —
the Free Software Supporter

"); +document.write("
"); +document.write("

"); +document.write("

"); +document.write(""); +document.write("
"); +document.write(""); +document.write("
"); +document.write("
"); +document.write(""); + +// @license-end