Version Description
Download this release
Release Info
Developer | MattyRob |
Plugin | Subscribe2 |
Version | 4.9 |
Comparing to | |
See all releases |
Code changes from version 4.7 to 4.9
- Licence.txt +674 -0
- ReadMe.txt +49 -12
- include/options.php +8 -0
- include/s2_checkbox.js +20 -0
- include/s2_edit.js +33 -0
- subscribe2.php +315 -247
- subscribe2.pot +197 -148
- subscribe2debug.php +12 -10
- subscribe2uninstaller.php +12 -10
Licence.txt
ADDED
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 3, 29 June 2007
|
3 |
+
|
4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
6 |
+
of this license document, but changing it is not allowed.
|
7 |
+
|
8 |
+
Preamble
|
9 |
+
|
10 |
+
The GNU General Public License is a free, copyleft license for
|
11 |
+
software and other kinds of works.
|
12 |
+
|
13 |
+
The licenses for most software and other practical works are designed
|
14 |
+
to take away your freedom to share and change the works. By contrast,
|
15 |
+
the GNU General Public License is intended to guarantee your freedom to
|
16 |
+
share and change all versions of a program--to make sure it remains free
|
17 |
+
software for all its users. We, the Free Software Foundation, use the
|
18 |
+
GNU General Public License for most of our software; it applies also to
|
19 |
+
any other work released this way by its authors. You can apply it to
|
20 |
+
your programs, too.
|
21 |
+
|
22 |
+
When we speak of free software, we are referring to freedom, not
|
23 |
+
price. Our General Public Licenses are designed to make sure that you
|
24 |
+
have the freedom to distribute copies of free software (and charge for
|
25 |
+
them if you wish), that you receive source code or can get it if you
|
26 |
+
want it, that you can change the software or use pieces of it in new
|
27 |
+
free programs, and that you know you can do these things.
|
28 |
+
|
29 |
+
To protect your rights, we need to prevent others from denying you
|
30 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
31 |
+
certain responsibilities if you distribute copies of the software, or if
|
32 |
+
you modify it: responsibilities to respect the freedom of others.
|
33 |
+
|
34 |
+
For example, if you distribute copies of such a program, whether
|
35 |
+
gratis or for a fee, you must pass on to the recipients the same
|
36 |
+
freedoms that you received. You must make sure that they, too, receive
|
37 |
+
or can get the source code. And you must show them these terms so they
|
38 |
+
know their rights.
|
39 |
+
|
40 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
41 |
+
(1) assert copyright on the software, and (2) offer you this License
|
42 |
+
giving you legal permission to copy, distribute and/or modify it.
|
43 |
+
|
44 |
+
For the developers' and authors' protection, the GPL clearly explains
|
45 |
+
that there is no warranty for this free software. For both users' and
|
46 |
+
authors' sake, the GPL requires that modified versions be marked as
|
47 |
+
changed, so that their problems will not be attributed erroneously to
|
48 |
+
authors of previous versions.
|
49 |
+
|
50 |
+
Some devices are designed to deny users access to install or run
|
51 |
+
modified versions of the software inside them, although the manufacturer
|
52 |
+
can do so. This is fundamentally incompatible with the aim of
|
53 |
+
protecting users' freedom to change the software. The systematic
|
54 |
+
pattern of such abuse occurs in the area of products for individuals to
|
55 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
56 |
+
have designed this version of the GPL to prohibit the practice for those
|
57 |
+
products. If such problems arise substantially in other domains, we
|
58 |
+
stand ready to extend this provision to those domains in future versions
|
59 |
+
of the GPL, as needed to protect the freedom of users.
|
60 |
+
|
61 |
+
Finally, every program is threatened constantly by software patents.
|
62 |
+
States should not allow patents to restrict development and use of
|
63 |
+
software on general-purpose computers, but in those that do, we wish to
|
64 |
+
avoid the special danger that patents applied to a free program could
|
65 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
66 |
+
patents cannot be used to render the program non-free.
|
67 |
+
|
68 |
+
The precise terms and conditions for copying, distribution and
|
69 |
+
modification follow.
|
70 |
+
|
71 |
+
TERMS AND CONDITIONS
|
72 |
+
|
73 |
+
0. Definitions.
|
74 |
+
|
75 |
+
"This License" refers to version 3 of the GNU General Public License.
|
76 |
+
|
77 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
78 |
+
works, such as semiconductor masks.
|
79 |
+
|
80 |
+
"The Program" refers to any copyrightable work licensed under this
|
81 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
82 |
+
"recipients" may be individuals or organizations.
|
83 |
+
|
84 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
85 |
+
in a fashion requiring copyright permission, other than the making of an
|
86 |
+
exact copy. The resulting work is called a "modified version" of the
|
87 |
+
earlier work or a work "based on" the earlier work.
|
88 |
+
|
89 |
+
A "covered work" means either the unmodified Program or a work based
|
90 |
+
on the Program.
|
91 |
+
|
92 |
+
To "propagate" a work means to do anything with it that, without
|
93 |
+
permission, would make you directly or secondarily liable for
|
94 |
+
infringement under applicable copyright law, except executing it on a
|
95 |
+
computer or modifying a private copy. Propagation includes copying,
|
96 |
+
distribution (with or without modification), making available to the
|
97 |
+
public, and in some countries other activities as well.
|
98 |
+
|
99 |
+
To "convey" a work means any kind of propagation that enables other
|
100 |
+
parties to make or receive copies. Mere interaction with a user through
|
101 |
+
a computer network, with no transfer of a copy, is not conveying.
|
102 |
+
|
103 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
104 |
+
to the extent that it includes a convenient and prominently visible
|
105 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
106 |
+
tells the user that there is no warranty for the work (except to the
|
107 |
+
extent that warranties are provided), that licensees may convey the
|
108 |
+
work under this License, and how to view a copy of this License. If
|
109 |
+
the interface presents a list of user commands or options, such as a
|
110 |
+
menu, a prominent item in the list meets this criterion.
|
111 |
+
|
112 |
+
1. Source Code.
|
113 |
+
|
114 |
+
The "source code" for a work means the preferred form of the work
|
115 |
+
for making modifications to it. "Object code" means any non-source
|
116 |
+
form of a work.
|
117 |
+
|
118 |
+
A "Standard Interface" means an interface that either is an official
|
119 |
+
standard defined by a recognized standards body, or, in the case of
|
120 |
+
interfaces specified for a particular programming language, one that
|
121 |
+
is widely used among developers working in that language.
|
122 |
+
|
123 |
+
The "System Libraries" of an executable work include anything, other
|
124 |
+
than the work as a whole, that (a) is included in the normal form of
|
125 |
+
packaging a Major Component, but which is not part of that Major
|
126 |
+
Component, and (b) serves only to enable use of the work with that
|
127 |
+
Major Component, or to implement a Standard Interface for which an
|
128 |
+
implementation is available to the public in source code form. A
|
129 |
+
"Major Component", in this context, means a major essential component
|
130 |
+
(kernel, window system, and so on) of the specific operating system
|
131 |
+
(if any) on which the executable work runs, or a compiler used to
|
132 |
+
produce the work, or an object code interpreter used to run it.
|
133 |
+
|
134 |
+
The "Corresponding Source" for a work in object code form means all
|
135 |
+
the source code needed to generate, install, and (for an executable
|
136 |
+
work) run the object code and to modify the work, including scripts to
|
137 |
+
control those activities. However, it does not include the work's
|
138 |
+
System Libraries, or general-purpose tools or generally available free
|
139 |
+
programs which are used unmodified in performing those activities but
|
140 |
+
which are not part of the work. For example, Corresponding Source
|
141 |
+
includes interface definition files associated with source files for
|
142 |
+
the work, and the source code for shared libraries and dynamically
|
143 |
+
linked subprograms that the work is specifically designed to require,
|
144 |
+
such as by intimate data communication or control flow between those
|
145 |
+
subprograms and other parts of the work.
|
146 |
+
|
147 |
+
The Corresponding Source need not include anything that users
|
148 |
+
can regenerate automatically from other parts of the Corresponding
|
149 |
+
Source.
|
150 |
+
|
151 |
+
The Corresponding Source for a work in source code form is that
|
152 |
+
same work.
|
153 |
+
|
154 |
+
2. Basic Permissions.
|
155 |
+
|
156 |
+
All rights granted under this License are granted for the term of
|
157 |
+
copyright on the Program, and are irrevocable provided the stated
|
158 |
+
conditions are met. This License explicitly affirms your unlimited
|
159 |
+
permission to run the unmodified Program. The output from running a
|
160 |
+
covered work is covered by this License only if the output, given its
|
161 |
+
content, constitutes a covered work. This License acknowledges your
|
162 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
163 |
+
|
164 |
+
You may make, run and propagate covered works that you do not
|
165 |
+
convey, without conditions so long as your license otherwise remains
|
166 |
+
in force. You may convey covered works to others for the sole purpose
|
167 |
+
of having them make modifications exclusively for you, or provide you
|
168 |
+
with facilities for running those works, provided that you comply with
|
169 |
+
the terms of this License in conveying all material for which you do
|
170 |
+
not control copyright. Those thus making or running the covered works
|
171 |
+
for you must do so exclusively on your behalf, under your direction
|
172 |
+
and control, on terms that prohibit them from making any copies of
|
173 |
+
your copyrighted material outside their relationship with you.
|
174 |
+
|
175 |
+
Conveying under any other circumstances is permitted solely under
|
176 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
177 |
+
makes it unnecessary.
|
178 |
+
|
179 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
180 |
+
|
181 |
+
No covered work shall be deemed part of an effective technological
|
182 |
+
measure under any applicable law fulfilling obligations under article
|
183 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
184 |
+
similar laws prohibiting or restricting circumvention of such
|
185 |
+
measures.
|
186 |
+
|
187 |
+
When you convey a covered work, you waive any legal power to forbid
|
188 |
+
circumvention of technological measures to the extent such circumvention
|
189 |
+
is effected by exercising rights under this License with respect to
|
190 |
+
the covered work, and you disclaim any intention to limit operation or
|
191 |
+
modification of the work as a means of enforcing, against the work's
|
192 |
+
users, your or third parties' legal rights to forbid circumvention of
|
193 |
+
technological measures.
|
194 |
+
|
195 |
+
4. Conveying Verbatim Copies.
|
196 |
+
|
197 |
+
You may convey verbatim copies of the Program's source code as you
|
198 |
+
receive it, in any medium, provided that you conspicuously and
|
199 |
+
appropriately publish on each copy an appropriate copyright notice;
|
200 |
+
keep intact all notices stating that this License and any
|
201 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
202 |
+
keep intact all notices of the absence of any warranty; and give all
|
203 |
+
recipients a copy of this License along with the Program.
|
204 |
+
|
205 |
+
You may charge any price or no price for each copy that you convey,
|
206 |
+
and you may offer support or warranty protection for a fee.
|
207 |
+
|
208 |
+
5. Conveying Modified Source Versions.
|
209 |
+
|
210 |
+
You may convey a work based on the Program, or the modifications to
|
211 |
+
produce it from the Program, in the form of source code under the
|
212 |
+
terms of section 4, provided that you also meet all of these conditions:
|
213 |
+
|
214 |
+
a) The work must carry prominent notices stating that you modified
|
215 |
+
it, and giving a relevant date.
|
216 |
+
|
217 |
+
b) The work must carry prominent notices stating that it is
|
218 |
+
released under this License and any conditions added under section
|
219 |
+
7. This requirement modifies the requirement in section 4 to
|
220 |
+
"keep intact all notices".
|
221 |
+
|
222 |
+
c) You must license the entire work, as a whole, under this
|
223 |
+
License to anyone who comes into possession of a copy. This
|
224 |
+
License will therefore apply, along with any applicable section 7
|
225 |
+
additional terms, to the whole of the work, and all its parts,
|
226 |
+
regardless of how they are packaged. This License gives no
|
227 |
+
permission to license the work in any other way, but it does not
|
228 |
+
invalidate such permission if you have separately received it.
|
229 |
+
|
230 |
+
d) If the work has interactive user interfaces, each must display
|
231 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
232 |
+
interfaces that do not display Appropriate Legal Notices, your
|
233 |
+
work need not make them do so.
|
234 |
+
|
235 |
+
A compilation of a covered work with other separate and independent
|
236 |
+
works, which are not by their nature extensions of the covered work,
|
237 |
+
and which are not combined with it such as to form a larger program,
|
238 |
+
in or on a volume of a storage or distribution medium, is called an
|
239 |
+
"aggregate" if the compilation and its resulting copyright are not
|
240 |
+
used to limit the access or legal rights of the compilation's users
|
241 |
+
beyond what the individual works permit. Inclusion of a covered work
|
242 |
+
in an aggregate does not cause this License to apply to the other
|
243 |
+
parts of the aggregate.
|
244 |
+
|
245 |
+
6. Conveying Non-Source Forms.
|
246 |
+
|
247 |
+
You may convey a covered work in object code form under the terms
|
248 |
+
of sections 4 and 5, provided that you also convey the
|
249 |
+
machine-readable Corresponding Source under the terms of this License,
|
250 |
+
in one of these ways:
|
251 |
+
|
252 |
+
a) Convey the object code in, or embodied in, a physical product
|
253 |
+
(including a physical distribution medium), accompanied by the
|
254 |
+
Corresponding Source fixed on a durable physical medium
|
255 |
+
customarily used for software interchange.
|
256 |
+
|
257 |
+
b) Convey the object code in, or embodied in, a physical product
|
258 |
+
(including a physical distribution medium), accompanied by a
|
259 |
+
written offer, valid for at least three years and valid for as
|
260 |
+
long as you offer spare parts or customer support for that product
|
261 |
+
model, to give anyone who possesses the object code either (1) a
|
262 |
+
copy of the Corresponding Source for all the software in the
|
263 |
+
product that is covered by this License, on a durable physical
|
264 |
+
medium customarily used for software interchange, for a price no
|
265 |
+
more than your reasonable cost of physically performing this
|
266 |
+
conveying of source, or (2) access to copy the
|
267 |
+
Corresponding Source from a network server at no charge.
|
268 |
+
|
269 |
+
c) Convey individual copies of the object code with a copy of the
|
270 |
+
written offer to provide the Corresponding Source. This
|
271 |
+
alternative is allowed only occasionally and noncommercially, and
|
272 |
+
only if you received the object code with such an offer, in accord
|
273 |
+
with subsection 6b.
|
274 |
+
|
275 |
+
d) Convey the object code by offering access from a designated
|
276 |
+
place (gratis or for a charge), and offer equivalent access to the
|
277 |
+
Corresponding Source in the same way through the same place at no
|
278 |
+
further charge. You need not require recipients to copy the
|
279 |
+
Corresponding Source along with the object code. If the place to
|
280 |
+
copy the object code is a network server, the Corresponding Source
|
281 |
+
may be on a different server (operated by you or a third party)
|
282 |
+
that supports equivalent copying facilities, provided you maintain
|
283 |
+
clear directions next to the object code saying where to find the
|
284 |
+
Corresponding Source. Regardless of what server hosts the
|
285 |
+
Corresponding Source, you remain obligated to ensure that it is
|
286 |
+
available for as long as needed to satisfy these requirements.
|
287 |
+
|
288 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
289 |
+
you inform other peers where the object code and Corresponding
|
290 |
+
Source of the work are being offered to the general public at no
|
291 |
+
charge under subsection 6d.
|
292 |
+
|
293 |
+
A separable portion of the object code, whose source code is excluded
|
294 |
+
from the Corresponding Source as a System Library, need not be
|
295 |
+
included in conveying the object code work.
|
296 |
+
|
297 |
+
A "User Product" is either (1) a "consumer product", which means any
|
298 |
+
tangible personal property which is normally used for personal, family,
|
299 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
300 |
+
into a dwelling. In determining whether a product is a consumer product,
|
301 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
302 |
+
product received by a particular user, "normally used" refers to a
|
303 |
+
typical or common use of that class of product, regardless of the status
|
304 |
+
of the particular user or of the way in which the particular user
|
305 |
+
actually uses, or expects or is expected to use, the product. A product
|
306 |
+
is a consumer product regardless of whether the product has substantial
|
307 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
308 |
+
the only significant mode of use of the product.
|
309 |
+
|
310 |
+
"Installation Information" for a User Product means any methods,
|
311 |
+
procedures, authorization keys, or other information required to install
|
312 |
+
and execute modified versions of a covered work in that User Product from
|
313 |
+
a modified version of its Corresponding Source. The information must
|
314 |
+
suffice to ensure that the continued functioning of the modified object
|
315 |
+
code is in no case prevented or interfered with solely because
|
316 |
+
modification has been made.
|
317 |
+
|
318 |
+
If you convey an object code work under this section in, or with, or
|
319 |
+
specifically for use in, a User Product, and the conveying occurs as
|
320 |
+
part of a transaction in which the right of possession and use of the
|
321 |
+
User Product is transferred to the recipient in perpetuity or for a
|
322 |
+
fixed term (regardless of how the transaction is characterized), the
|
323 |
+
Corresponding Source conveyed under this section must be accompanied
|
324 |
+
by the Installation Information. But this requirement does not apply
|
325 |
+
if neither you nor any third party retains the ability to install
|
326 |
+
modified object code on the User Product (for example, the work has
|
327 |
+
been installed in ROM).
|
328 |
+
|
329 |
+
The requirement to provide Installation Information does not include a
|
330 |
+
requirement to continue to provide support service, warranty, or updates
|
331 |
+
for a work that has been modified or installed by the recipient, or for
|
332 |
+
the User Product in which it has been modified or installed. Access to a
|
333 |
+
network may be denied when the modification itself materially and
|
334 |
+
adversely affects the operation of the network or violates the rules and
|
335 |
+
protocols for communication across the network.
|
336 |
+
|
337 |
+
Corresponding Source conveyed, and Installation Information provided,
|
338 |
+
in accord with this section must be in a format that is publicly
|
339 |
+
documented (and with an implementation available to the public in
|
340 |
+
source code form), and must require no special password or key for
|
341 |
+
unpacking, reading or copying.
|
342 |
+
|
343 |
+
7. Additional Terms.
|
344 |
+
|
345 |
+
"Additional permissions" are terms that supplement the terms of this
|
346 |
+
License by making exceptions from one or more of its conditions.
|
347 |
+
Additional permissions that are applicable to the entire Program shall
|
348 |
+
be treated as though they were included in this License, to the extent
|
349 |
+
that they are valid under applicable law. If additional permissions
|
350 |
+
apply only to part of the Program, that part may be used separately
|
351 |
+
under those permissions, but the entire Program remains governed by
|
352 |
+
this License without regard to the additional permissions.
|
353 |
+
|
354 |
+
When you convey a copy of a covered work, you may at your option
|
355 |
+
remove any additional permissions from that copy, or from any part of
|
356 |
+
it. (Additional permissions may be written to require their own
|
357 |
+
removal in certain cases when you modify the work.) You may place
|
358 |
+
additional permissions on material, added by you to a covered work,
|
359 |
+
for which you have or can give appropriate copyright permission.
|
360 |
+
|
361 |
+
Notwithstanding any other provision of this License, for material you
|
362 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
363 |
+
that material) supplement the terms of this License with terms:
|
364 |
+
|
365 |
+
a) Disclaiming warranty or limiting liability differently from the
|
366 |
+
terms of sections 15 and 16 of this License; or
|
367 |
+
|
368 |
+
b) Requiring preservation of specified reasonable legal notices or
|
369 |
+
author attributions in that material or in the Appropriate Legal
|
370 |
+
Notices displayed by works containing it; or
|
371 |
+
|
372 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
373 |
+
requiring that modified versions of such material be marked in
|
374 |
+
reasonable ways as different from the original version; or
|
375 |
+
|
376 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
377 |
+
authors of the material; or
|
378 |
+
|
379 |
+
e) Declining to grant rights under trademark law for use of some
|
380 |
+
trade names, trademarks, or service marks; or
|
381 |
+
|
382 |
+
f) Requiring indemnification of licensors and authors of that
|
383 |
+
material by anyone who conveys the material (or modified versions of
|
384 |
+
it) with contractual assumptions of liability to the recipient, for
|
385 |
+
any liability that these contractual assumptions directly impose on
|
386 |
+
those licensors and authors.
|
387 |
+
|
388 |
+
All other non-permissive additional terms are considered "further
|
389 |
+
restrictions" within the meaning of section 10. If the Program as you
|
390 |
+
received it, or any part of it, contains a notice stating that it is
|
391 |
+
governed by this License along with a term that is a further
|
392 |
+
restriction, you may remove that term. If a license document contains
|
393 |
+
a further restriction but permits relicensing or conveying under this
|
394 |
+
License, you may add to a covered work material governed by the terms
|
395 |
+
of that license document, provided that the further restriction does
|
396 |
+
not survive such relicensing or conveying.
|
397 |
+
|
398 |
+
If you add terms to a covered work in accord with this section, you
|
399 |
+
must place, in the relevant source files, a statement of the
|
400 |
+
additional terms that apply to those files, or a notice indicating
|
401 |
+
where to find the applicable terms.
|
402 |
+
|
403 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
404 |
+
form of a separately written license, or stated as exceptions;
|
405 |
+
the above requirements apply either way.
|
406 |
+
|
407 |
+
8. Termination.
|
408 |
+
|
409 |
+
You may not propagate or modify a covered work except as expressly
|
410 |
+
provided under this License. Any attempt otherwise to propagate or
|
411 |
+
modify it is void, and will automatically terminate your rights under
|
412 |
+
this License (including any patent licenses granted under the third
|
413 |
+
paragraph of section 11).
|
414 |
+
|
415 |
+
However, if you cease all violation of this License, then your
|
416 |
+
license from a particular copyright holder is reinstated (a)
|
417 |
+
provisionally, unless and until the copyright holder explicitly and
|
418 |
+
finally terminates your license, and (b) permanently, if the copyright
|
419 |
+
holder fails to notify you of the violation by some reasonable means
|
420 |
+
prior to 60 days after the cessation.
|
421 |
+
|
422 |
+
Moreover, your license from a particular copyright holder is
|
423 |
+
reinstated permanently if the copyright holder notifies you of the
|
424 |
+
violation by some reasonable means, this is the first time you have
|
425 |
+
received notice of violation of this License (for any work) from that
|
426 |
+
copyright holder, and you cure the violation prior to 30 days after
|
427 |
+
your receipt of the notice.
|
428 |
+
|
429 |
+
Termination of your rights under this section does not terminate the
|
430 |
+
licenses of parties who have received copies or rights from you under
|
431 |
+
this License. If your rights have been terminated and not permanently
|
432 |
+
reinstated, you do not qualify to receive new licenses for the same
|
433 |
+
material under section 10.
|
434 |
+
|
435 |
+
9. Acceptance Not Required for Having Copies.
|
436 |
+
|
437 |
+
You are not required to accept this License in order to receive or
|
438 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
439 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
440 |
+
to receive a copy likewise does not require acceptance. However,
|
441 |
+
nothing other than this License grants you permission to propagate or
|
442 |
+
modify any covered work. These actions infringe copyright if you do
|
443 |
+
not accept this License. Therefore, by modifying or propagating a
|
444 |
+
covered work, you indicate your acceptance of this License to do so.
|
445 |
+
|
446 |
+
10. Automatic Licensing of Downstream Recipients.
|
447 |
+
|
448 |
+
Each time you convey a covered work, the recipient automatically
|
449 |
+
receives a license from the original licensors, to run, modify and
|
450 |
+
propagate that work, subject to this License. You are not responsible
|
451 |
+
for enforcing compliance by third parties with this License.
|
452 |
+
|
453 |
+
An "entity transaction" is a transaction transferring control of an
|
454 |
+
organization, or substantially all assets of one, or subdividing an
|
455 |
+
organization, or merging organizations. If propagation of a covered
|
456 |
+
work results from an entity transaction, each party to that
|
457 |
+
transaction who receives a copy of the work also receives whatever
|
458 |
+
licenses to the work the party's predecessor in interest had or could
|
459 |
+
give under the previous paragraph, plus a right to possession of the
|
460 |
+
Corresponding Source of the work from the predecessor in interest, if
|
461 |
+
the predecessor has it or can get it with reasonable efforts.
|
462 |
+
|
463 |
+
You may not impose any further restrictions on the exercise of the
|
464 |
+
rights granted or affirmed under this License. For example, you may
|
465 |
+
not impose a license fee, royalty, or other charge for exercise of
|
466 |
+
rights granted under this License, and you may not initiate litigation
|
467 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
468 |
+
any patent claim is infringed by making, using, selling, offering for
|
469 |
+
sale, or importing the Program or any portion of it.
|
470 |
+
|
471 |
+
11. Patents.
|
472 |
+
|
473 |
+
A "contributor" is a copyright holder who authorizes use under this
|
474 |
+
License of the Program or a work on which the Program is based. The
|
475 |
+
work thus licensed is called the contributor's "contributor version".
|
476 |
+
|
477 |
+
A contributor's "essential patent claims" are all patent claims
|
478 |
+
owned or controlled by the contributor, whether already acquired or
|
479 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
480 |
+
by this License, of making, using, or selling its contributor version,
|
481 |
+
but do not include claims that would be infringed only as a
|
482 |
+
consequence of further modification of the contributor version. For
|
483 |
+
purposes of this definition, "control" includes the right to grant
|
484 |
+
patent sublicenses in a manner consistent with the requirements of
|
485 |
+
this License.
|
486 |
+
|
487 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
488 |
+
patent license under the contributor's essential patent claims, to
|
489 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
490 |
+
propagate the contents of its contributor version.
|
491 |
+
|
492 |
+
In the following three paragraphs, a "patent license" is any express
|
493 |
+
agreement or commitment, however denominated, not to enforce a patent
|
494 |
+
(such as an express permission to practice a patent or covenant not to
|
495 |
+
sue for patent infringement). To "grant" such a patent license to a
|
496 |
+
party means to make such an agreement or commitment not to enforce a
|
497 |
+
patent against the party.
|
498 |
+
|
499 |
+
If you convey a covered work, knowingly relying on a patent license,
|
500 |
+
and the Corresponding Source of the work is not available for anyone
|
501 |
+
to copy, free of charge and under the terms of this License, through a
|
502 |
+
publicly available network server or other readily accessible means,
|
503 |
+
then you must either (1) cause the Corresponding Source to be so
|
504 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
505 |
+
patent license for this particular work, or (3) arrange, in a manner
|
506 |
+
consistent with the requirements of this License, to extend the patent
|
507 |
+
license to downstream recipients. "Knowingly relying" means you have
|
508 |
+
actual knowledge that, but for the patent license, your conveying the
|
509 |
+
covered work in a country, or your recipient's use of the covered work
|
510 |
+
in a country, would infringe one or more identifiable patents in that
|
511 |
+
country that you have reason to believe are valid.
|
512 |
+
|
513 |
+
If, pursuant to or in connection with a single transaction or
|
514 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
515 |
+
covered work, and grant a patent license to some of the parties
|
516 |
+
receiving the covered work authorizing them to use, propagate, modify
|
517 |
+
or convey a specific copy of the covered work, then the patent license
|
518 |
+
you grant is automatically extended to all recipients of the covered
|
519 |
+
work and works based on it.
|
520 |
+
|
521 |
+
A patent license is "discriminatory" if it does not include within
|
522 |
+
the scope of its coverage, prohibits the exercise of, or is
|
523 |
+
conditioned on the non-exercise of one or more of the rights that are
|
524 |
+
specifically granted under this License. You may not convey a covered
|
525 |
+
work if you are a party to an arrangement with a third party that is
|
526 |
+
in the business of distributing software, under which you make payment
|
527 |
+
to the third party based on the extent of your activity of conveying
|
528 |
+
the work, and under which the third party grants, to any of the
|
529 |
+
parties who would receive the covered work from you, a discriminatory
|
530 |
+
patent license (a) in connection with copies of the covered work
|
531 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
532 |
+
for and in connection with specific products or compilations that
|
533 |
+
contain the covered work, unless you entered into that arrangement,
|
534 |
+
or that patent license was granted, prior to 28 March 2007.
|
535 |
+
|
536 |
+
Nothing in this License shall be construed as excluding or limiting
|
537 |
+
any implied license or other defenses to infringement that may
|
538 |
+
otherwise be available to you under applicable patent law.
|
539 |
+
|
540 |
+
12. No Surrender of Others' Freedom.
|
541 |
+
|
542 |
+
If conditions are imposed on you (whether by court order, agreement or
|
543 |
+
otherwise) that contradict the conditions of this License, they do not
|
544 |
+
excuse you from the conditions of this License. If you cannot convey a
|
545 |
+
covered work so as to satisfy simultaneously your obligations under this
|
546 |
+
License and any other pertinent obligations, then as a consequence you may
|
547 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
548 |
+
to collect a royalty for further conveying from those to whom you convey
|
549 |
+
the Program, the only way you could satisfy both those terms and this
|
550 |
+
License would be to refrain entirely from conveying the Program.
|
551 |
+
|
552 |
+
13. Use with the GNU Affero General Public License.
|
553 |
+
|
554 |
+
Notwithstanding any other provision of this License, you have
|
555 |
+
permission to link or combine any covered work with a work licensed
|
556 |
+
under version 3 of the GNU Affero General Public License into a single
|
557 |
+
combined work, and to convey the resulting work. The terms of this
|
558 |
+
License will continue to apply to the part which is the covered work,
|
559 |
+
but the special requirements of the GNU Affero General Public License,
|
560 |
+
section 13, concerning interaction through a network will apply to the
|
561 |
+
combination as such.
|
562 |
+
|
563 |
+
14. Revised Versions of this License.
|
564 |
+
|
565 |
+
The Free Software Foundation may publish revised and/or new versions of
|
566 |
+
the GNU General Public License from time to time. Such new versions will
|
567 |
+
be similar in spirit to the present version, but may differ in detail to
|
568 |
+
address new problems or concerns.
|
569 |
+
|
570 |
+
Each version is given a distinguishing version number. If the
|
571 |
+
Program specifies that a certain numbered version of the GNU General
|
572 |
+
Public License "or any later version" applies to it, you have the
|
573 |
+
option of following the terms and conditions either of that numbered
|
574 |
+
version or of any later version published by the Free Software
|
575 |
+
Foundation. If the Program does not specify a version number of the
|
576 |
+
GNU General Public License, you may choose any version ever published
|
577 |
+
by the Free Software Foundation.
|
578 |
+
|
579 |
+
If the Program specifies that a proxy can decide which future
|
580 |
+
versions of the GNU General Public License can be used, that proxy's
|
581 |
+
public statement of acceptance of a version permanently authorizes you
|
582 |
+
to choose that version for the Program.
|
583 |
+
|
584 |
+
Later license versions may give you additional or different
|
585 |
+
permissions. However, no additional obligations are imposed on any
|
586 |
+
author or copyright holder as a result of your choosing to follow a
|
587 |
+
later version.
|
588 |
+
|
589 |
+
15. Disclaimer of Warranty.
|
590 |
+
|
591 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
592 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
593 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
594 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
595 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
596 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
597 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
598 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
599 |
+
|
600 |
+
16. Limitation of Liability.
|
601 |
+
|
602 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
603 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
604 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
605 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
606 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
607 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
608 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
609 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
610 |
+
SUCH DAMAGES.
|
611 |
+
|
612 |
+
17. Interpretation of Sections 15 and 16.
|
613 |
+
|
614 |
+
If the disclaimer of warranty and limitation of liability provided
|
615 |
+
above cannot be given local legal effect according to their terms,
|
616 |
+
reviewing courts shall apply local law that most closely approximates
|
617 |
+
an absolute waiver of all civil liability in connection with the
|
618 |
+
Program, unless a warranty or assumption of liability accompanies a
|
619 |
+
copy of the Program in return for a fee.
|
620 |
+
|
621 |
+
END OF TERMS AND CONDITIONS
|
622 |
+
|
623 |
+
How to Apply These Terms to Your New Programs
|
624 |
+
|
625 |
+
If you develop a new program, and you want it to be of the greatest
|
626 |
+
possible use to the public, the best way to achieve this is to make it
|
627 |
+
free software which everyone can redistribute and change under these terms.
|
628 |
+
|
629 |
+
To do so, attach the following notices to the program. It is safest
|
630 |
+
to attach them to the start of each source file to most effectively
|
631 |
+
state the exclusion of warranty; and each file should have at least
|
632 |
+
the "copyright" line and a pointer to where the full notice is found.
|
633 |
+
|
634 |
+
<one line to give the program's name and a brief idea of what it does.>
|
635 |
+
Copyright (C) <year> <name of author>
|
636 |
+
|
637 |
+
This program is free software: you can redistribute it and/or modify
|
638 |
+
it under the terms of the GNU General Public License as published by
|
639 |
+
the Free Software Foundation, either version 3 of the License, or
|
640 |
+
(at your option) any later version.
|
641 |
+
|
642 |
+
This program is distributed in the hope that it will be useful,
|
643 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
644 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
645 |
+
GNU General Public License for more details.
|
646 |
+
|
647 |
+
You should have received a copy of the GNU General Public License
|
648 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
649 |
+
|
650 |
+
Also add information on how to contact you by electronic and paper mail.
|
651 |
+
|
652 |
+
If the program does terminal interaction, make it output a short
|
653 |
+
notice like this when it starts in an interactive mode:
|
654 |
+
|
655 |
+
<program> Copyright (C) <year> <name of author>
|
656 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
657 |
+
This is free software, and you are welcome to redistribute it
|
658 |
+
under certain conditions; type `show c' for details.
|
659 |
+
|
660 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
661 |
+
parts of the General Public License. Of course, your program's commands
|
662 |
+
might be different; for a GUI interface, you would use an "about box".
|
663 |
+
|
664 |
+
You should also get your employer (if you work as a programmer) or school,
|
665 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
666 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
667 |
+
<http://www.gnu.org/licenses/>.
|
668 |
+
|
669 |
+
The GNU General Public License does not permit incorporating your program
|
670 |
+
into proprietary programs. If your program is a subroutine library, you
|
671 |
+
may consider it more useful to permit linking proprietary applications with
|
672 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
673 |
+
Public License instead of this License. But first, please read
|
674 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
ReadMe.txt
CHANGED
@@ -4,27 +4,25 @@ Donate link: http://subscribe2.wordpress.com/donate/
|
|
4 |
Tags: posts, subscription, email
|
5 |
Requires at least: 2.0.x
|
6 |
Tested up to: 2.5
|
7 |
-
Stable tag: 4.
|
8 |
|
9 |
Sends a list of subscribers an email notification when new posts are published to your blog
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
Subscribe2 provides a comprehensive subscription management system for WordPress blogs that sends email notifications to a list of subscribers when you publish new content to your blog.
|
14 |
|
15 |
-
Email Notifications can be sent on a per-post basis or periodically in a Digest email. Additionally, certain categories can be excluded from inclusion in the notification and post can be excluded on an individual basis by setting a custom field of 's2mail' to 'no'.
|
16 |
-
|
17 |
-
Subscribe2 supports two classes of subscribers: the general public, and registered users of the blog. The general public may subscribe and unsubscribe. They will receive a limited email notification when new post is made or periodically (unless that post is assigned to one of the excluded categories you defined). The general public will receive a plaintext email with an excerpt of the post: either the excerpt you created when making the post, the portion of text before a <!--more--> tag (if present), or the first 55 words of the post.
|
18 |
-
|
19 |
-
Registered users of the blog can elect to receive email notifications for specific categories (unless Digest email are select, then it is an opt in or out decision). The Users->Subscription menu item will allow them to select the delivery format (plaintext or HTML), amount of message (excerpt or full post), and the categories to which they want to subscribe. You, the blog owner, have the option (Options->Subscribe2) to allow registered users to subscribe to your excluded categories or not.
|
20 |
-
|
21 |
-
When you post a new item, subscribe2 will generate (at least) one email for each of the following combinations of subscribers:
|
22 |
|
23 |
* plaintext excerpt
|
24 |
* plaintext full post
|
25 |
* HTML full post
|
26 |
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
|
29 |
== Installation ==
|
30 |
|
@@ -38,7 +36,7 @@ So for each new post you make, you may receive up to three emails.
|
|
38 |
<!--subscribe2-->
|
39 |
***Ensure the token is on a line by itself and that it has a blank line above and below.***
|
40 |
This token will automatically be replaced by the subscription form, and will display all messages as necessary.
|
41 |
-
8. In the
|
42 |
|
43 |
== Frequently Asked Questions ==
|
44 |
|
@@ -53,7 +51,7 @@ Finally, WordPress 2.3 and 2.5 are supported. Again, for the latest information
|
|
53 |
If you are upgrading from any 2.1.x version of subscribe2, please delete both the /subscribe.php and /wp-content/plugins/subscribe2.php files before copying the new files into place. Your subscriber list will remain intact, and your options should be preserved. Now create a WordPress Page as described above.
|
54 |
|
55 |
= Why doesn't the form appear in my WordPress page? =
|
56 |
-
This is usually caused by one of two things. Firstly, it is possible that the form is there but
|
57 |
|
58 |
Secondly, make sure that the token (<!--subscribe2-->) is correctly entered in your page with a blank line above and below. The easient way to do this is to deactivate the plugin, visit your WordPress page and view the source. The token should be contained in the source code of the page. If it is not there you either have not correctly entered the token or you have another plguin that is stripping the token from the page code.
|
59 |
|
@@ -70,6 +68,14 @@ Reminder: because subscribe2 places all recipients in BCC fields, and places the
|
|
70 |
|
71 |
Batches will occur for each group of message as described above. A site on Dreamhost with many public and registered subscribers could conceivably generate a lot of email for your own inbox.
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
== Screenshots ==
|
74 |
|
75 |
1. The Write->Subscribers admin page generated by the plugin.
|
@@ -79,6 +85,37 @@ Batches will occur for each group of message as described above. A site on Drea
|
|
79 |
|
80 |
== Version History ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
Version 4.7 by Matthew Robinson
|
83 |
|
84 |
* Added admin control over default auto subscribe to new category option
|
4 |
Tags: posts, subscription, email
|
5 |
Requires at least: 2.0.x
|
6 |
Tested up to: 2.5
|
7 |
+
Stable tag: 4.9
|
8 |
|
9 |
Sends a list of subscribers an email notification when new posts are published to your blog
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Subscribe2 provides a comprehensive subscription management and email notification system for WordPress blogs that sends email notifications to a list of subscribers when you publish new content to your blog.
|
14 |
|
15 |
+
Email Notifications can be sent on a per-post basis or periodically in a Digest email. Additionally, certain categories can be excluded from inclusion in the notification and post can be excluded on an individual basis by setting a custom field of 's2mail' to 'no'. The format of the email can also be customised for per-post notifications, subscribe2 can generate emails for each of the following formats:
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
* plaintext excerpt
|
18 |
* plaintext full post
|
19 |
* HTML full post
|
20 |
|
21 |
+
The plugin also handles subscription requests allowing users to publically subscribe by submitting their email address in an easy to use form or to register with your blog which enables greater flexibility over the email content for per-post notifications for the subscriber. Admins are given control over the presentation of the email notifications, can bulk manage subscriptions for users and manually send email notices to subscribers.
|
22 |
+
|
23 |
+
Subscribe2 supports two classes of subscribers: the general public, and registered users of the blog. The general public may subscribe and unsubscribe. They will receive a limited email notification when new post is made or periodically (unless that post is assigned to one of the excluded categories you defined). The general public will receive a plaintext email with an excerpt of the post: either the excerpt you created when making the post, the portion of text before a <!--more--> tag (if present), or the first 55 words of the post.
|
24 |
+
|
25 |
+
Registered users of the blog can elect to receive email notifications for specific categories (unless Digest email are select, then it is an opt in or out decision). The Users->Subscription menu item will allow them to select the delivery format (plaintext or HTML), amount of message (excerpt or full post), and the categories to which they want to subscribe. You, the blog owner, have the option (Options->Subscribe2) to allow registered users to subscribe to your excluded categories or not.
|
26 |
|
27 |
== Installation ==
|
28 |
|
36 |
<!--subscribe2-->
|
37 |
***Ensure the token is on a line by itself and that it has a blank line above and below.***
|
38 |
This token will automatically be replaced by the subscription form, and will display all messages as necessary.
|
39 |
+
8. In the Subscribe2 "Options" admin link set the default page ID to the ID of the WordPress page created in step 8.
|
40 |
|
41 |
== Frequently Asked Questions ==
|
42 |
|
51 |
If you are upgrading from any 2.1.x version of subscribe2, please delete both the /subscribe.php and /wp-content/plugins/subscribe2.php files before copying the new files into place. Your subscriber list will remain intact, and your options should be preserved. Now create a WordPress Page as described above.
|
52 |
|
53 |
= Why doesn't the form appear in my WordPress page? =
|
54 |
+
This is usually caused by one of two things. Firstly, it is possible that the form is there but because you haven't logged out of WordPress yourself you are seeing a message about managing your profile instead. Log out of WordPress and it will appear as the subscription form you are probably expecting.
|
55 |
|
56 |
Secondly, make sure that the token (<!--subscribe2-->) is correctly entered in your page with a blank line above and below. The easient way to do this is to deactivate the plugin, visit your WordPress page and view the source. The token should be contained in the source code of the page. If it is not there you either have not correctly entered the token or you have another plguin that is stripping the token from the page code.
|
57 |
|
68 |
|
69 |
Batches will occur for each group of message as described above. A site on Dreamhost with many public and registered subscribers could conceivably generate a lot of email for your own inbox.
|
70 |
|
71 |
+
= Why is my admin address getting emails from Subscribe2? =
|
72 |
+
|
73 |
+
This plugin sends emails to your subscribers using the BCC (Blind Cardon Copy) header in email messages. Each email is sent TO: the admin address. There may be emails for a plain text excerpt notification, palin text full text and HTML format emails and additionally if the BCCLIMIT has been set due to hosting restrictions duplicate copies of these emails will be sent to the admin address.
|
74 |
+
|
75 |
+
= I can't find or insert the Subscribe2 token, help! =
|
76 |
+
|
77 |
+
If, for some reason the Subscribe2 button does not appear in your browser window try refreshing your browser and cache (Shift and Reload in Firefox). If this still fails then insert the token manually. In the Rich Text Editor (TinyMCE) make sure you switch to the "code" view and type in <!--subscribe2-->.
|
78 |
+
|
79 |
== Screenshots ==
|
80 |
|
81 |
1. The Write->Subscribers admin page generated by the plugin.
|
85 |
|
86 |
== Version History ==
|
87 |
|
88 |
+
Version 4.9 by Matthew Robinson
|
89 |
+
|
90 |
+
* Send email direct to recipient if BCC is set as 1
|
91 |
+
* Fix issue where WordPress shortcodes were not stripped out of emails
|
92 |
+
* Amended Manage page to resolve issues with IE and Opera not passing form information correctly
|
93 |
+
* Amended Manage page to allow for bulk management of public users
|
94 |
+
* Amended WordPress API usage for translation files to 2.6 compatible syntax
|
95 |
+
* Allow Editor and Author users to send emails from Write->Mail Subscribers
|
96 |
+
* Post collection for CRON function is more dynamic
|
97 |
+
* CRON function sanity to checks for post content before sending a notification
|
98 |
+
* Fixed get_register() function to allow for user_activation field
|
99 |
+
* Corrected typos in options.php
|
100 |
+
* Added a search box to the Manage->Subscribers window
|
101 |
+
* Strip tags and HTML entities from email subjects
|
102 |
+
* Improved message feedback in Write->Mail
|
103 |
+
* Added html_entity_decode to sender name fields
|
104 |
+
* Change Menu string for User menu to make it clearer whose preferences are being edited
|
105 |
+
|
106 |
+
Version 4.8 by Matthew Robinson
|
107 |
+
|
108 |
+
* Removed unnecessary return statement at end of publish() function
|
109 |
+
* Ensured posts in digest are listed in date order
|
110 |
+
* Improved compatibility with other plugins by only inserting JavaScript code into Subscribe2's own admin pages
|
111 |
+
* Added BCCLIMIT and S2PAGE to options page with AJAX editing
|
112 |
+
* Improved setting of CRON task base time
|
113 |
+
* Improved handling of option values in the options form
|
114 |
+
* Full XHTML compliance on all subscribe2 admin pages
|
115 |
+
* Decode HTML entity codes in notification email subjects
|
116 |
+
* Added Subscribe2 support for blogging via email
|
117 |
+
* Work-around fix implemented for WordPress the_title bug
|
118 |
+
|
119 |
Version 4.7 by Matthew Robinson
|
120 |
|
121 |
* Added admin control over default auto subscribe to new category option
|
include/options.php
CHANGED
@@ -18,6 +18,14 @@ if (!isset($this->subscribe2_options['autosub_def'])) {
|
|
18 |
$this->subscribe2_options['autosub_def'] = "yes";
|
19 |
} // option for user default auto-subscription to new categories
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
if (!isset($this->subscribe2_options['pages'])) {
|
22 |
$this->subscribe2_options['pages'] = "no";
|
23 |
} // option for sending notifications for WordPress pages
|
18 |
$this->subscribe2_options['autosub_def'] = "yes";
|
19 |
} // option for user default auto-subscription to new categories
|
20 |
|
21 |
+
if(!isset($this->subscribe2_options['bcclimit'])) {
|
22 |
+
$this->subscribe2_options['bcclimit'] = 0;
|
23 |
+
} // option for default bcc limit on email notifications
|
24 |
+
|
25 |
+
if(!isset($this->subscribe2_options['s2page'])) {
|
26 |
+
$this->subscribe2_options['s2page'] = 0;
|
27 |
+
} // option for default WordPress page for Subscribe2 to use
|
28 |
+
|
29 |
if (!isset($this->subscribe2_options['pages'])) {
|
30 |
$this->subscribe2_options['pages'] = "no";
|
31 |
} // option for sending notifications for WordPress pages
|
include/s2_checkbox.js
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
jQuery('input[name=checkall]').click(function(){
|
3 |
+
var checked_status = this.checked;
|
4 |
+
jQuery('input[class=' + this.value + ']').each(function(){
|
5 |
+
this.checked = checked_status;
|
6 |
+
});
|
7 |
+
});
|
8 |
+
jQuery('input[class*=_checkall]').click(function(){
|
9 |
+
var checked_status = true;
|
10 |
+
var s2_class = this.className;
|
11 |
+
jQuery('input[class=' + s2_class + ']').each(function(){
|
12 |
+
if ((this.checked == true) && (checked_status == true)){
|
13 |
+
checked_status = true;
|
14 |
+
} else {
|
15 |
+
checked_status = false;
|
16 |
+
}
|
17 |
+
jQuery('input[@value=' + s2_class + ']').attr('checked', checked_status);
|
18 |
+
});
|
19 |
+
});
|
20 |
+
});
|
include/s2_edit.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function() {
|
2 |
+
// hide our span before page loads
|
3 |
+
jQuery('#s2bcc_2').hide();
|
4 |
+
jQuery('#s2page_2').hide();
|
5 |
+
});
|
6 |
+
|
7 |
+
//show span on clicking the edit link
|
8 |
+
function s2_show(id) {
|
9 |
+
jQuery('#s2'+id+'_2').show();
|
10 |
+
jQuery('#s2'+id+'_1').hide();
|
11 |
+
return false;
|
12 |
+
};
|
13 |
+
|
14 |
+
// hide span on clicking the hide link
|
15 |
+
function s2_hide(id) {
|
16 |
+
jQuery('#s2'+id+'_1').show();
|
17 |
+
jQuery('#s2'+id+'_2').hide();
|
18 |
+
return false;
|
19 |
+
};
|
20 |
+
|
21 |
+
function s2_update(id) {
|
22 |
+
var input = jQuery('input[@name="'+id+'"]').val();
|
23 |
+
jQuery('input[@name="'+id+'"]').val(input);
|
24 |
+
jQuery('#s2'+id).html(input);
|
25 |
+
s2_hide(id);
|
26 |
+
};
|
27 |
+
|
28 |
+
function s2_revert(id) {
|
29 |
+
var option = jQuery('#js'+id).val();
|
30 |
+
jQuery('input[@name="'+id+'"]').val(option);
|
31 |
+
jQuery('#s2'+id).html(option);
|
32 |
+
s2_hide(id);
|
33 |
+
};
|
subscribe2.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Subscribe2
|
4 |
Plugin URI: http://subscribe2.wordpress.com
|
5 |
Description: Notifies an email list when new entries are posted.
|
6 |
-
Version: 4.
|
7 |
Author: Matthew Robinson
|
8 |
Author URI: http://subscribe2.wordpress.com
|
9 |
*/
|
@@ -13,36 +13,26 @@ Copyright (C) 2006-8 Matthew Robinson
|
|
13 |
Based on the Original Subscribe2 plugin by
|
14 |
Copyright (C) 2005 Scott Merrill (skippy@skippy.net)
|
15 |
|
16 |
-
This
|
17 |
-
modify it under the terms of the GNU General Public License
|
18 |
-
as published by the Free Software Foundation; either version 2
|
19 |
-
of the License, or (at your option) any later version.
|
20 |
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
GNU General Public License for more details.
|
25 |
|
26 |
You should have received a copy of the GNU General Public License
|
27 |
-
along with
|
28 |
-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
29 |
-
http://www.gnu.org/licenses/gpl.html
|
30 |
*/
|
31 |
|
32 |
-
// If you are on a host that limits the number of recipients
|
33 |
-
// permitted on each outgoing email message
|
34 |
-
// change the value on the line below to your hosts limit
|
35 |
-
define('BCCLIMIT', '0');
|
36 |
-
|
37 |
-
// by default, Subscribe2 grabs the first page from your database for use
|
38 |
-
// when displaying the confirmation screen to public subscribers.
|
39 |
-
// You can override this by specifying a page ID on the line below.
|
40 |
-
define('S2PAGE', '0');
|
41 |
-
|
42 |
// our version number. Don't touch this or any line below
|
43 |
// unless you know exacly what you are doing
|
44 |
-
define('S2VERSION', '4.
|
45 |
-
define
|
46 |
|
47 |
// use Owen's excellent ButtonSnap library
|
48 |
if (!function_exists(buttonsnap_textbutton)) {
|
@@ -82,6 +72,8 @@ class s2class {
|
|
82 |
|
83 |
$this->mail_sent = "<p>" . __('Message sent!', 'subscribe2') . "</p>";
|
84 |
|
|
|
|
|
85 |
$this->form = "<form method=\"post\" action=\"\">" . __('Your email:', 'subscribe2') . " <input type=\"text\" name=\"email\" value=\"\" size=\"20\" /> <br /><input type=\"radio\" name=\"s2_action\" value=\"subscribe\" checked=\"checked\" /> " . __('Subscribe', 'subscribe2') . " <input type=\"radio\" name=\"s2_action\" value=\"unsubscribe\" /> " . __('Unsubscribe', 'subscribe2') . "  <input type=\"submit\" value=\"" . __('Send', 'subscribe2') . "\" /></form>\r\n";
|
86 |
|
87 |
// confirmation messages
|
@@ -109,33 +101,35 @@ class s2class {
|
|
109 |
Hook the menu
|
110 |
*/
|
111 |
function admin_menu() {
|
112 |
-
add_management_page(__('Subscribers', 'subscribe2'), __('Subscribers', 'subscribe2'), "manage_options", __FILE__, array(&$this, 'manage_menu'));
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
$s2nonce = md5('subscribe2');
|
117 |
}
|
118 |
|
119 |
/**
|
120 |
Insert Javascript into admin_header
|
121 |
*/
|
122 |
-
function
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
echo " if(theForm[z].type == 'checkbox' && theForm[z].name == 'category[]'){\r\n";
|
129 |
-
echo " theForm[z].checked = theElement.checked;\r\n";
|
130 |
-
echo " }\r\n";
|
131 |
-
echo " }\r\n";
|
132 |
-
echo "}\r\n";
|
133 |
-
echo "-->\r\n";
|
134 |
-
echo "</script>\r\n";
|
135 |
}
|
136 |
|
137 |
function add_weekly_sched($sched) {
|
138 |
-
$sched['weekly'] = array('interval' => 604800, 'display' => __('Once Weekly','subscribe2'));
|
139 |
return $sched;
|
140 |
}
|
141 |
|
@@ -237,7 +231,7 @@ class s2class {
|
|
237 |
// Set sender details
|
238 |
if ('' == $this->myname) {
|
239 |
$admin = $this->get_userdata();
|
240 |
-
$this->myname = $admin->display_name;
|
241 |
$this->myemail = $admin->user_email;
|
242 |
}
|
243 |
$headers = "From: \"" . $this->myname . "\" <" . $this->myemail . ">\n";
|
@@ -259,15 +253,27 @@ class s2class {
|
|
259 |
$mailtext = wordwrap(strip_tags($message), 80, "\n");
|
260 |
}
|
261 |
|
|
|
|
|
|
|
262 |
// BCC all recipients
|
263 |
$bcc = '';
|
264 |
-
if (
|
265 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
$count = 1;
|
267 |
$batch = array();
|
268 |
foreach ($recipients as $recipient) {
|
269 |
-
|
270 |
-
|
271 |
next($recipients);
|
272 |
$recipient = trim($recipient);
|
273 |
// sanity check -- make sure we have a valid email
|
@@ -278,14 +284,14 @@ class s2class {
|
|
278 |
('' == $bcc) ? $bcc = "Bcc: $recipient" : $bcc .= ", $recipient";
|
279 |
// Bcc Headers now constructed by phpmailer class
|
280 |
}
|
281 |
-
if (
|
282 |
$count = 1;
|
283 |
$batch[] = $bcc;
|
284 |
$bcc = '';
|
285 |
} else {
|
286 |
if (false == current($recipients)) {
|
287 |
-
|
288 |
-
|
289 |
$batch[] = $bcc;
|
290 |
break;
|
291 |
} else {
|
@@ -293,34 +299,35 @@ class s2class {
|
|
293 |
}
|
294 |
}
|
295 |
}
|
|
|
296 |
// rewind the array, just to be safe
|
297 |
reset($recipients);
|
298 |
} else {
|
299 |
-
// we're not
|
300 |
-
// subscribers, so do it normal
|
301 |
foreach ($recipients as $recipient) {
|
302 |
$recipient = trim($recipient);
|
303 |
// sanity check -- make sure we have a valid email
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
}
|
312 |
$headers .= "$bcc\r\n";
|
313 |
}
|
314 |
// actually send mail
|
315 |
-
if ( (
|
316 |
foreach ($batch as $bcc) {
|
317 |
$newheaders = $headers . "$bcc\r\n";
|
318 |
-
@wp_mail($this->myemail, $subject, $mailtext, $newheaders);
|
319 |
}
|
320 |
} else {
|
321 |
-
@wp_mail($this->myemail, $subject, $mailtext, $headers);
|
322 |
}
|
323 |
-
return;
|
324 |
} // end mail()
|
325 |
|
326 |
/**
|
@@ -411,11 +418,14 @@ class s2class {
|
|
411 |
$this->myemail = $user->user_email;
|
412 |
$this->myname = $user->display_name;
|
413 |
// Get email subject
|
414 |
-
$subject = $this->substitute(
|
415 |
// Get the message template
|
416 |
-
$mailtext = $this->substitute(
|
417 |
|
418 |
$plaintext = $post->post_content;
|
|
|
|
|
|
|
419 |
$content = apply_filters('the_content', $post->post_content);
|
420 |
$content = str_replace("]]>", "]]>", $content);
|
421 |
$excerpt = $post->post_excerpt;
|
@@ -428,14 +438,14 @@ class s2class {
|
|
428 |
$excerpt = trim($excerpt);
|
429 |
} else {
|
430 |
// no <!--more-->, so grab the first 55 words
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
}
|
440 |
}
|
441 |
|
@@ -458,10 +468,19 @@ class s2class {
|
|
458 |
$body = str_replace("\r\n", "<br />\r\n", $mailtext);
|
459 |
$body = str_replace("POST", $content, $body);
|
460 |
$this->mail($this->get_registered("cats=$post_cats_string&format=html"), $subject, $body, 'html');
|
461 |
-
|
462 |
-
return $id;
|
463 |
} // end publish()
|
464 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
/**
|
466 |
Send confirmation email to the user
|
467 |
*/
|
@@ -819,7 +838,7 @@ class s2class {
|
|
819 |
$result = $wpdb->get_col($sql);
|
820 |
if ($result) {
|
821 |
$ids = implode(',', $result);
|
822 |
-
return $wpdb->get_col("SELECT user_email FROM $wpdb->users WHERE ID IN ($ids)");
|
823 |
}
|
824 |
} // end get_registered()
|
825 |
|
@@ -1018,8 +1037,17 @@ class s2class {
|
|
1018 |
Get admin data from record 1 or first user with admin rights
|
1019 |
*/
|
1020 |
function get_userdata() {
|
1021 |
-
global $wpdb;
|
1022 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1023 |
if (empty($admin)) {
|
1024 |
$sql = "SELECT DISTINCT(ID) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $wpdb->usermeta.meta_key='" . $wpdb->prefix . "user_level' AND $wpdb->usermeta.meta_value='10' LIMIT 1";
|
1025 |
$admin = get_userdata($wpdb->get_var($sql));
|
@@ -1042,10 +1070,8 @@ class s2class {
|
|
1042 |
|
1043 |
$what = '';
|
1044 |
$reminderform = false;
|
1045 |
-
$
|
1046 |
-
$
|
1047 |
-
$urlpath = str_replace("\\","/",S2PATH);
|
1048 |
-
$urlpath = trailingslashit(get_option('siteurl')) . substr($urlpath,strpos($urlpath,"wp-content/"));
|
1049 |
if ( isset( $_GET['s2page'] ) ) {
|
1050 |
$page = (int) $_GET['s2page'];
|
1051 |
} else {
|
@@ -1055,7 +1081,7 @@ class s2class {
|
|
1055 |
// was anything POSTed ?
|
1056 |
if (isset($_POST['s2_admin'])) {
|
1057 |
check_admin_referer('subscribe2-manage_subscribers' . $s2nonce);
|
1058 |
-
if (
|
1059 |
foreach (preg_split ("/[\s,]+/", $_POST['addresses']) as $email) {
|
1060 |
if (is_email($email)) {
|
1061 |
$this->activate($email);
|
@@ -1063,21 +1089,41 @@ class s2class {
|
|
1063 |
}
|
1064 |
$_POST['what'] = 'confirmed';
|
1065 |
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Address(es) subscribed!', 'subscribe2') . "</strong></p></div>";
|
1066 |
-
} elseif (
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1073 |
$this->remind($_POST['reminderemails']);
|
1074 |
-
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Reminder Email(s) Sent!','subscribe2') . "</strong></p></div>";
|
1075 |
-
} elseif ( (
|
1076 |
$this->subscribe_registered_users($_POST['emails'], $_POST['category']);
|
1077 |
-
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Registered Users Subscribed!','subscribe2') . "</strong></p></div>";
|
1078 |
-
} elseif ( (
|
1079 |
$this->unsubscribe_registered_users($_POST['emails'], $_POST['category']);
|
1080 |
-
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Registered Users Unsubscribed!','subscribe2') . "</strong></p></div>";
|
1081 |
}
|
1082 |
}
|
1083 |
|
@@ -1160,12 +1206,16 @@ class s2class {
|
|
1160 |
}
|
1161 |
}
|
1162 |
}
|
|
|
|
|
|
|
|
|
1163 |
if (!empty($subscribers)) {
|
1164 |
natcasesort($subscribers);
|
1165 |
// Displays a page number strip - adapted from code in Akismet
|
1166 |
$args['what'] = $what;
|
1167 |
$total_subscribers = count($subscribers);
|
1168 |
-
$total_pages = ceil($total_subscribers /
|
1169 |
$strip = '';
|
1170 |
if ( $page > 1 ) {
|
1171 |
$args['s2page'] = $page - 1;
|
@@ -1187,7 +1237,7 @@ class s2class {
|
|
1187 |
}
|
1188 |
}
|
1189 |
}
|
1190 |
-
if ( ( $page ) *
|
1191 |
$args['s2page'] = $page + 1;
|
1192 |
$strip .= "<a class=\"next\" href=\"" . clean_url(add_query_arg($args)) . "\">". __('Next Page', 'subscribe2') . " »</a>\n";
|
1193 |
}
|
@@ -1198,21 +1248,19 @@ class s2class {
|
|
1198 |
if ('' == $registered) { $registered = array(); }
|
1199 |
|
1200 |
// show our form
|
|
|
1201 |
echo "<div class=\"wrap\">";
|
1202 |
echo "<h2>" . __('Subscribe Addresses', 'subscribe2') . "</h2>\r\n";
|
1203 |
-
echo "<form method=\"post\" action=\"$this->action\">\r\n";
|
1204 |
-
echo "<p>";
|
1205 |
if (function_exists('wp_nonce_field')) {
|
1206 |
wp_nonce_field('subscribe2-manage_subscribers' . $s2nonce);
|
1207 |
}
|
1208 |
-
echo __('Enter addresses, one per line or comma-
|
1209 |
echo "<textarea rows=\"2\" cols=\"80\" name=\"addresses\"></textarea></p>\r\n";
|
1210 |
-
echo "<
|
1211 |
-
echo "<input type=\"
|
1212 |
-
echo "</form></div>";
|
1213 |
|
1214 |
// subscriber lists
|
1215 |
-
echo "<
|
1216 |
echo "<br />";
|
1217 |
$this->display_subscriber_dropdown($what, __('Filter', 'subscribe2'));
|
1218 |
// show the selected subscribers
|
@@ -1220,102 +1268,92 @@ class s2class {
|
|
1220 |
if (!empty($subscribers)) {
|
1221 |
echo "<p align=\"center\"><b>" . __('Registered on the left, confirmed in the middle, unconfirmed on the right', 'subscribe2') . "</b></p>\r\n";
|
1222 |
$exportcsv = implode(",\r\n", $subscribers);
|
1223 |
-
echo "<
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
echo "<input type=\"
|
1228 |
-
echo "<
|
1229 |
-
echo "<p class=\"submit\"><input type=\"submit\" name=\"
|
1230 |
-
echo "</
|
1231 |
-
}
|
1232 |
-
echo "<
|
1233 |
-
echo "<table cellpadding=\"2\" cellspacing=\"2\">";
|
1234 |
if (!empty($subscribers)) {
|
1235 |
-
$subscriber_chunks = array_chunk($subscribers,
|
1236 |
$chunk = $page - 1;
|
1237 |
$subscribers = $subscriber_chunks[$chunk];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1238 |
foreach ($subscribers as $subscriber) {
|
1239 |
-
echo "<tr class=\"$alternate\">";
|
1240 |
-
echo "<td
|
1241 |
if (in_array($subscriber, $unconfirmed)) {
|
1242 |
echo " align=\"right\">";
|
1243 |
} elseif (in_array($subscriber, $confirmed)) {
|
1244 |
echo " align=\"center\">";
|
1245 |
} else {
|
1246 |
-
echo " align=\"left\" colspan=\"
|
1247 |
}
|
1248 |
-
echo "<a href=\"mailto
|
1249 |
if (in_array($subscriber, $unconfirmed) || in_array($subscriber, $confirmed) ) {
|
1250 |
echo "(" . $this->signup_date($subscriber) . ")</td>\r\n";
|
1251 |
-
echo "<td
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
|
|
|
|
|
|
1255 |
}
|
1256 |
-
echo "<
|
1257 |
-
echo "<input type=\"hidden\" name=\"s2_admin\" value=\"toggle\" />\r\n";
|
1258 |
-
echo "<input type=\"hidden\" name=\"what\" value=\"$what\" />\r\n";
|
1259 |
-
if (in_array($subscriber, $unconfirmed)) {
|
1260 |
-
$foo = '<-';
|
1261 |
-
$image = 'include/arrow_left.png';
|
1262 |
-
} else {
|
1263 |
-
$foo = '->';
|
1264 |
-
$image = 'include/arrow_right.png';
|
1265 |
-
}
|
1266 |
-
echo "<input type=\"image\" src=\"" . $urlpath . $image . "\" name=\"submit\" value=\"$foo\" /></form></td>\r\n";
|
1267 |
-
echo "<td width=\"2%\" align=\"center\">\r\n";
|
1268 |
-
echo "<form method=\"post\" action=\"\">\r\n";
|
1269 |
-
if (function_exists('wp_nonce_field')) {
|
1270 |
-
wp_nonce_field('subscribe2-manage_subscribers' . $s2nonce);
|
1271 |
-
}
|
1272 |
-
echo "<input type=\"hidden\" name=\"email\" value=\"$subscriber\" />\r\n";
|
1273 |
-
echo "<input type=\"hidden\" name=\"s2_admin\" value=\"delete\" />\r\n";
|
1274 |
-
echo "<input type=\"hidden\" name=\"what\" value=\"$what\" />\r\n";
|
1275 |
echo "<p class=\"delete\">\r\n";
|
1276 |
-
echo "<input
|
1277 |
-
echo "</p
|
1278 |
}
|
1279 |
echo "</td></tr>\r\n";
|
1280 |
('alternate' == $alternate) ? $alternate = '' : $alternate = 'alternate';
|
1281 |
}
|
1282 |
} else {
|
1283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1284 |
}
|
1285 |
-
echo "</table>";
|
1286 |
-
echo "<p>" . $strip . "</p>";
|
1287 |
if ($reminderform) {
|
1288 |
-
echo "<
|
1289 |
-
|
1290 |
-
wp_nonce_field('subscribe2-manage_subscribers' . $s2nonce);
|
1291 |
-
}
|
1292 |
-
echo "<input type=\"hidden\" name=\"reminderemails\" value=\"$reminderemails\" />\r\n";
|
1293 |
-
echo "<input type=\"hidden\" name=\"s2_admin\" value=\"remind\" />\r\n";
|
1294 |
-
echo "<p class=\"submit\"><input type=\"submit\" name=\"submit\" value=\"" . __('Send Reminder Email','subscribe2') . "\" /></p>\r\n";
|
1295 |
-
echo "</form>";
|
1296 |
}
|
1297 |
-
echo "</div>\r\n";
|
1298 |
|
1299 |
//show bulk managment form
|
1300 |
-
echo "<div class=\"wrap\">";
|
1301 |
echo "<h2>" . __('Categories', 'subscribe2') . "</h2>\r\n";
|
1302 |
echo "<p>";
|
1303 |
echo __('Existing Registered Users can be automatically (un)subscribed to categories using this section.', 'subscribe2') . "<br />\r\n";
|
1304 |
echo "<strong><em style=\"color: red\">" . __('Consider User Privacy as changes cannot be undone', 'subscribe2') . "</em></strong><br />\r\n";
|
1305 |
echo "</p>";
|
1306 |
-
echo "<form method=\"post\" action=\"\">\r\n";
|
1307 |
-
if (function_exists('wp_nonce_field')) {
|
1308 |
-
wp_nonce_field('subscribe2-manage_subscribers' . $s2nonce);
|
1309 |
-
}
|
1310 |
echo "<br />" . __('Action to perform', 'subscribe2') . ":\r\n";
|
1311 |
echo "<input type=\"radio\" name=\"manage\" value=\"subscribe\" checked=\"checked\" />" . __('Subscribe', 'subscribe2') . "\r\n";
|
1312 |
echo "<input type=\"radio\" name=\"manage\" value=\"unsubscribe\" />" . __('Unsubscribe', 'subscribe2') . "<br /><br />\r\n";
|
1313 |
-
echo "<input type=\"hidden\" name=\"emails\" value=\"$emails\"
|
1314 |
$this->display_category_form();
|
1315 |
-
echo "<p class=\"submit\"><input type=\"submit\" id=\"deletepost\" name=\"
|
1316 |
-
|
1317 |
-
echo "</div>\r\n";
|
1318 |
-
echo "<div style=\"clear: both;\"><p> </p></div>";
|
1319 |
|
1320 |
include(ABSPATH . 'wp-admin/admin-footer.php');
|
1321 |
// just to be sure
|
@@ -1331,10 +1369,10 @@ class s2class {
|
|
1331 |
// was anything POSTed?
|
1332 |
if (isset($_POST['s2_admin'])) {
|
1333 |
check_admin_referer('subscribe2-options_subscribers' . $s2nonce);
|
1334 |
-
if (
|
1335 |
$this->reset();
|
1336 |
echo "<div id=\"message\" class=\"updated fade\"><p><strong>$this->options_reset</strong></p></div>";
|
1337 |
-
} elseif (
|
1338 |
// excluded categories
|
1339 |
if (!empty($_POST['category'])) {
|
1340 |
$exclude_cats = implode(',', $_POST['category']);
|
@@ -1354,6 +1392,10 @@ class s2class {
|
|
1354 |
($_POST['widget'] == '1') ? $showwidget = '1' : $showwidget = '0';
|
1355 |
$this->subscribe2_options['widget'] = $showwidget;
|
1356 |
|
|
|
|
|
|
|
|
|
1357 |
// send as author or admin?
|
1358 |
$sender = 'author';
|
1359 |
if ('admin' == $_POST['sender']) {
|
@@ -1362,29 +1404,21 @@ class s2class {
|
|
1362 |
$this->subscribe2_options['sender'] = $sender;
|
1363 |
|
1364 |
// send email for pages, private and password protected posts
|
1365 |
-
$
|
1366 |
-
$this->subscribe2_options['
|
1367 |
-
$
|
1368 |
-
$this->subscribe2_options['password']= $password_option;
|
1369 |
-
$private_option = $_POST['private'];
|
1370 |
-
$this->subscribe2_options['private'] = $private_option;
|
1371 |
|
1372 |
// send per-post or digest emails
|
1373 |
$email_freq = $_POST['email_freq'];
|
1374 |
-
if ($email_freq != $this->subscribe2_options['email_freq']) {
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
if ($interval == 0) {
|
1384 |
-
// if we are on per-post emails remove last_cron entry
|
1385 |
-
unset($this->subscribe2_options['last_s2cron']);
|
1386 |
-
} else {
|
1387 |
-
if (!wp_next_scheduled('s2_digest_cron')) {
|
1388 |
// if we are using digest schedule the event and prime last_cron as now
|
1389 |
$time = current_time('timestamp') + $interval;
|
1390 |
if ($interval < 86400) {
|
@@ -1392,38 +1426,29 @@ class s2class {
|
|
1392 |
$timestamp = &$time;
|
1393 |
} else {
|
1394 |
// Schedule other CRON events starting at user defined hour and periodically thereafter
|
1395 |
-
$timestamp = gmmktime($_POST['hour'], 0, 0,
|
1396 |
}
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
wp_schedule_event($previous_time, $email_freq, 's2_digest_cron');
|
1401 |
}
|
1402 |
-
$this->subscribe2_options['last_s2cron'] = current_time('mysql');
|
1403 |
}
|
1404 |
}
|
1405 |
|
1406 |
// email templates
|
1407 |
-
$mailtext = $_POST['mailtext'];
|
1408 |
-
$this->subscribe2_options['
|
1409 |
-
$
|
1410 |
-
$this->subscribe2_options['confirm_email'] = $confirm_email;
|
1411 |
-
$remind_email = $_POST['remind_email'];
|
1412 |
-
$this->subscribe2_options['remind_email'] = $remind_email;
|
1413 |
|
1414 |
//automatic subscription
|
1415 |
-
$
|
1416 |
-
$this->subscribe2_options['
|
1417 |
-
$
|
1418 |
-
$this->subscribe2_options['
|
1419 |
-
$autosub_format_option = $_POST['autoformat'];
|
1420 |
-
$this->subscribe2_options['autoformat'] = $autosub_format_option;
|
1421 |
-
$autosub_newcat_option = $_POST['autosub_def'];
|
1422 |
-
$this->subscribe2_options['autosub_def'] = $autosub_newcat_option;
|
1423 |
|
1424 |
//barred domains
|
1425 |
-
$
|
1426 |
-
|
1427 |
echo "<div id=\"message\" class=\"updated fade\"><p><strong>$this->options_saved</strong></p></div>";
|
1428 |
update_option('subscribe2_options', $this->subscribe2_options);
|
1429 |
}
|
@@ -1437,7 +1462,26 @@ class s2class {
|
|
1437 |
echo "<input type=\"hidden\" name=\"s2_admin\" value=\"options\" />\r\n";
|
1438 |
echo "<h2>" . __('Delivery Options', 'subscribe2') . ":</h2>\r\n";
|
1439 |
echo "<p>";
|
1440 |
-
echo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1441 |
echo "<input type=\"radio\" name=\"pages\" value=\"yes\"";
|
1442 |
if ('yes' == $this->subscribe2_options['pages']) {
|
1443 |
echo " checked=\"checked\"";
|
@@ -1612,19 +1656,12 @@ class s2class {
|
|
1612 |
|
1613 |
// submit
|
1614 |
echo "<p class=\"submit\" align=\"center\"><input type=\"submit\" id=\"save\" name=\"submit\" value=\"" . __('Submit', 'subscribe2') . "\" /></p>";
|
1615 |
-
echo "</form>\r\n";
|
1616 |
-
echo "</div><div class=\"wrap\">";
|
1617 |
|
1618 |
// reset
|
1619 |
echo "<h2>" . __('Reset Default', 'subscribe2') . "</h2>\r\n";
|
1620 |
echo "<p>" . __('Use this to reset all options to their defaults. This <strong><em>will not</em></strong> modify your list of subscribers.', 'subscribe2') . "</p>\r\n";
|
1621 |
-
echo "<form method=\"post\" action=\"\">";
|
1622 |
-
if (function_exists('wp_nonce_field')) {
|
1623 |
-
wp_nonce_field('subscribe2-options_subscribers' . $s2nonce);
|
1624 |
-
}
|
1625 |
echo "<p class=\"submit\" align=\"center\">";
|
1626 |
-
echo "<input type=\"
|
1627 |
-
echo "<input type=\"submit\" id=\"deletepost\" name=\"submit\" value=\"" . __('RESET', 'subscribe2') .
|
1628 |
"\" />";
|
1629 |
echo "</p></form></div>\r\n";
|
1630 |
|
@@ -1808,9 +1845,14 @@ class s2class {
|
|
1808 |
$recipients = $this->get_registered();
|
1809 |
}
|
1810 |
$subject = stripslashes(strip_tags($_POST['subject']));
|
1811 |
-
$
|
1812 |
-
$this->mail($recipients, $subject, $
|
1813 |
-
$
|
|
|
|
|
|
|
|
|
|
|
1814 |
}
|
1815 |
|
1816 |
if ('' != $message) {
|
@@ -1872,14 +1914,14 @@ class s2class {
|
|
1872 |
$j++;
|
1873 |
}
|
1874 |
if (0 == $j) {
|
1875 |
-
echo "<input type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
|
1876 |
if (in_array($cat->term_id, $selected)) {
|
1877 |
echo " checked=\"checked\" ";
|
1878 |
}
|
1879 |
echo " /> " . $cat->name . "<br />\r\n";
|
1880 |
} else {
|
1881 |
|
1882 |
-
echo "<input type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
|
1883 |
if (in_array($cat->term_id, $selected)) {
|
1884 |
echo " checked=\"checked\" ";
|
1885 |
}
|
@@ -1889,7 +1931,7 @@ class s2class {
|
|
1889 |
}
|
1890 |
echo "</td></tr>\r\n";
|
1891 |
echo "<tr><td align=\"left\" colspan=\"2\">\r\n";
|
1892 |
-
echo "<input type=\"checkbox\" name=\"checkall\"
|
1893 |
echo "</td></tr>\r\n";
|
1894 |
echo "</table>\r\n";
|
1895 |
} // end display_category_form()
|
@@ -1947,9 +1989,6 @@ class s2class {
|
|
1947 |
return;
|
1948 |
}
|
1949 |
|
1950 |
-
if (false !== $submit) {
|
1951 |
-
echo "<form method=\"post\" action=\"$this->action\">";
|
1952 |
-
}
|
1953 |
echo "<select name=\"what\">\r\n";
|
1954 |
foreach ($who as $whom => $display) {
|
1955 |
if (in_array($whom, $exclude)) { continue; }
|
@@ -1970,7 +2009,7 @@ class s2class {
|
|
1970 |
}
|
1971 |
echo "</select>";
|
1972 |
if (false !== $submit) {
|
1973 |
-
echo "
|
1974 |
}
|
1975 |
} // end display_subscriber_dropdown()
|
1976 |
|
@@ -1978,7 +2017,7 @@ class s2class {
|
|
1978 |
global $wpdb;
|
1979 |
$scheduled_time = wp_next_scheduled('s2_digest_cron');
|
1980 |
$schedule = (array)wp_get_schedules();
|
1981 |
-
$schedule = array_merge(array('never' => array('interval' => 0, 'display' => __('Per Post Email','subscribe2'))), $schedule);
|
1982 |
$sort = array();
|
1983 |
foreach ( (array)$schedule as $key => $value ) $sort[$key] = $value['interval'];
|
1984 |
asort($sort);
|
@@ -1994,7 +2033,7 @@ class s2class {
|
|
1994 |
echo " /> " . $value['display'] . "<br />\r\n";
|
1995 |
}
|
1996 |
echo "<br />" . __('Send Digest Notification at', 'subscribe2') . ": \r\n";
|
1997 |
-
$hours = array('12am', '1am', '2am', '3am', '4am', '5am', '6am', '7am', '8am', '9am'
|
1998 |
echo "<select name=\"hour\">\r\n";
|
1999 |
while ($hour = current($hours)) {
|
2000 |
echo "<option value=\"" . key($hours) . "\"";
|
@@ -2007,7 +2046,6 @@ class s2class {
|
|
2007 |
echo "</select>\r\n";
|
2008 |
echo "<strong><em style=\"color: red\">" . __('This option will work for digest notification sent daily or less frequently', 'subscribe2') . "</em></strong>\r\n";
|
2009 |
if ($scheduled_time) {
|
2010 |
-
echo "<p><input type=\"checkbox\" name=\"reset_cron\" /> " . __('Reset the schedule time and date for periodic email notifications', 'subscribe2') . "</p>\r\n";
|
2011 |
$datetime = get_option('date_format') . ' @ ' . get_option('time_format');
|
2012 |
echo "<p>" . __('Current UTC time is', 'subscribe2') . ": \r\n";
|
2013 |
echo "<strong>" . gmdate($datetime, current_time('timestamp', 1)) . "</strong></p>\r\n";
|
@@ -2142,8 +2180,8 @@ class s2class {
|
|
2142 |
|
2143 |
global $wpdb;
|
2144 |
|
2145 |
-
if (
|
2146 |
-
return "page_id=" .
|
2147 |
} else {
|
2148 |
$id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_type='page' AND post_status='publish' LIMIT 1");
|
2149 |
if ($id) {
|
@@ -2157,10 +2195,14 @@ class s2class {
|
|
2157 |
/**
|
2158 |
Overrides the page title
|
2159 |
*/
|
2160 |
-
function title_filter() {
|
2161 |
// don't interfere if we've already done our thing
|
2162 |
if (1 == $this->filtered) { return; }
|
2163 |
-
|
|
|
|
|
|
|
|
|
2164 |
} // end title_filter()
|
2165 |
|
2166 |
/* ===== widget functions ===== */
|
@@ -2212,6 +2254,12 @@ class s2class {
|
|
2212 |
}
|
2213 |
}
|
2214 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2215 |
/* ===== Write Toolbar Button Functions ===== */
|
2216 |
|
2217 |
/**
|
@@ -2294,8 +2342,21 @@ class s2class {
|
|
2294 |
$this->subscribe2_options['last_s2cron'] = $now;
|
2295 |
update_option('subscribe2_options', $this->subscribe2_options);
|
2296 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2297 |
// collect posts
|
2298 |
-
$posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password FROM $wpdb->posts WHERE post_date >= '$prev' AND post_date < '$now' AND post_status IN (
|
2299 |
|
2300 |
// do we have any posts?
|
2301 |
if (empty($posts)) { return; }
|
@@ -2325,12 +2386,7 @@ class s2class {
|
|
2325 |
if ( ($this->subscribe2_options['password'] == "no") && ($post->post_password != '') ) {
|
2326 |
$check = true;
|
2327 |
}
|
2328 |
-
//
|
2329 |
-
// and should this not generate a notification email?
|
2330 |
-
if ( ($this->subscribe2_options['pages'] == 'no') && ($post->post_type == 'page') ) {
|
2331 |
-
$check = true;
|
2332 |
-
}
|
2333 |
-
// if this post is in an excluded category,
|
2334 |
// don't include it in the digest
|
2335 |
if ($check) {
|
2336 |
continue;
|
@@ -2342,11 +2398,18 @@ class s2class {
|
|
2342 |
if ('' == $excerpt) {
|
2343 |
// no excerpt, is there a <!--more--> ?
|
2344 |
if (false !== strpos($post->post_content, '<!--more-->')) {
|
2345 |
-
list($excerpt, $more) = explode('<!--more-->', $
|
|
|
|
|
|
|
|
|
2346 |
// strip leading and trailing whitespace
|
2347 |
$excerpt = trim($excerpt);
|
2348 |
} else {
|
2349 |
$excerpt = strip_tags($post->post_content);
|
|
|
|
|
|
|
2350 |
$words = explode(' ', $excerpt, 56);
|
2351 |
if (count($words) > 55) {
|
2352 |
array_pop($words);
|
@@ -2358,7 +2421,12 @@ class s2class {
|
|
2358 |
$message .= $excerpt . "\r\n\r\n";
|
2359 |
}
|
2360 |
|
2361 |
-
//
|
|
|
|
|
|
|
|
|
|
|
2362 |
$user = $this->get_userdata();
|
2363 |
$this->myemail = $user->user_email;
|
2364 |
$this->myname = $user->display_name;
|
@@ -2398,7 +2466,7 @@ class s2class {
|
|
2398 |
function subscribe2() {
|
2399 |
global $table_prefix;
|
2400 |
|
2401 |
-
load_plugin_textdomain('subscribe2', '
|
2402 |
|
2403 |
// do we need to install anything?
|
2404 |
$this->public = $table_prefix . "subscribe2";
|
@@ -2415,9 +2483,9 @@ class s2class {
|
|
2415 |
add_filter('the_content', array(&$this, 'confirm'));
|
2416 |
}
|
2417 |
|
2418 |
-
if ( (isset($_POST['s2_admin'])) && (
|
2419 |
$date = date('Y-m-d');
|
2420 |
-
header(
|
2421 |
header("Content-type: application/octet-stream");
|
2422 |
header("Content-Disposition: attachment; filename=subscribe2_users_$date.csv");
|
2423 |
header("Pragma: no-cache");
|
@@ -2428,7 +2496,6 @@ class s2class {
|
|
2428 |
}
|
2429 |
|
2430 |
//add regular actions and filters
|
2431 |
-
add_action('admin_head', array(&$this, 'admin_head'));
|
2432 |
add_action('admin_menu', array(&$this, 'admin_menu'));
|
2433 |
add_action('create_category', array(&$this, 'autosub_new_category'));
|
2434 |
add_action('register_form', array(&$this, 'register_form'));
|
@@ -2456,6 +2523,7 @@ class s2class {
|
|
2456 |
add_action('pending_to_publish', array(&$this, 'publish'));
|
2457 |
add_action('private_to_publish', array(&$this, 'publish'));
|
2458 |
add_action('future_to_publish', array(&$this, 'publish'));
|
|
|
2459 |
if ($this->subscribe2_options['private'] == "yes") {
|
2460 |
add_action('new_to_private', array(&$this, 'publish'));
|
2461 |
add_action('draft_to_private', array(&$this, 'publish'));
|
3 |
Plugin Name: Subscribe2
|
4 |
Plugin URI: http://subscribe2.wordpress.com
|
5 |
Description: Notifies an email list when new entries are posted.
|
6 |
+
Version: 4.9
|
7 |
Author: Matthew Robinson
|
8 |
Author URI: http://subscribe2.wordpress.com
|
9 |
*/
|
13 |
Based on the Original Subscribe2 plugin by
|
14 |
Copyright (C) 2005 Scott Merrill (skippy@skippy.net)
|
15 |
|
16 |
+
This file is part of Subscribe2.
|
|
|
|
|
|
|
17 |
|
18 |
+
Subscribe2 is free software: you can redistribute it and/or modify
|
19 |
+
it under the terms of the GNU General Public License as published by
|
20 |
+
the Free Software Foundation, either version 3 of the License, or
|
21 |
+
(at your option) any later version.
|
22 |
+
|
23 |
+
Subscribe2 is distributed in the hope that it will be useful,
|
24 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
25 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
26 |
GNU General Public License for more details.
|
27 |
|
28 |
You should have received a copy of the GNU General Public License
|
29 |
+
along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
30 |
*/
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
// our version number. Don't touch this or any line below
|
33 |
// unless you know exacly what you are doing
|
34 |
+
define('S2VERSION', '4.9');
|
35 |
+
define('S2PATH', trailingslashit(dirname(__FILE__)));
|
36 |
|
37 |
// use Owen's excellent ButtonSnap library
|
38 |
if (!function_exists(buttonsnap_textbutton)) {
|
72 |
|
73 |
$this->mail_sent = "<p>" . __('Message sent!', 'subscribe2') . "</p>";
|
74 |
|
75 |
+
$this->mail_failed = "<p>" . __('Message failed! Check your settings and check with your hosting provider', 'subscribe2') . "</p>";
|
76 |
+
|
77 |
$this->form = "<form method=\"post\" action=\"\">" . __('Your email:', 'subscribe2') . " <input type=\"text\" name=\"email\" value=\"\" size=\"20\" /> <br /><input type=\"radio\" name=\"s2_action\" value=\"subscribe\" checked=\"checked\" /> " . __('Subscribe', 'subscribe2') . " <input type=\"radio\" name=\"s2_action\" value=\"unsubscribe\" /> " . __('Unsubscribe', 'subscribe2') . "  <input type=\"submit\" value=\"" . __('Send', 'subscribe2') . "\" /></form>\r\n";
|
78 |
|
79 |
// confirmation messages
|
101 |
Hook the menu
|
102 |
*/
|
103 |
function admin_menu() {
|
104 |
+
$s2management = add_management_page(__('Subscribers', 'subscribe2'), __('Subscribers', 'subscribe2'), "manage_options", __FILE__, array(&$this, 'manage_menu'));
|
105 |
+
add_action("admin_print_scripts-$s2management", array(&$this, 'checkbox_form_js'));
|
106 |
+
|
107 |
+
$s2options = add_options_page(__('Subscribe2 Options', 'subscribe2'), __('Subscribe2', 'subscribe2'), "manage_options", __FILE__, array(&$this, 'options_menu'));
|
108 |
+
add_action("admin_print_scripts-$s2options", array(&$this, 'checkbox_form_js'));
|
109 |
+
add_action("admin_print_scripts-$s2options", array(&$this, 'option_form_js'));
|
110 |
+
add_filter('plugin_action_links', array(&$this, 'plugin_action'), -10, 2);
|
111 |
+
|
112 |
+
$s2user = add_users_page(__('Your Subscriptions', 'subscribe2'), __('Your Subscriptions', 'subscribe2'), "read", __FILE__, array(&$this, 'user_menu'));
|
113 |
+
add_action("admin_print_scripts-$s2user", array(&$this, 'checkbox_form_js'));
|
114 |
+
|
115 |
+
add_submenu_page('post-new.php', __('Mail Subscribers', 'subscribe2'), __('Mail Subscribers', 'subscribe2'), "publish_posts", __FILE__, array(&$this, 'write_menu'));
|
116 |
+
|
117 |
$s2nonce = md5('subscribe2');
|
118 |
}
|
119 |
|
120 |
/**
|
121 |
Insert Javascript into admin_header
|
122 |
*/
|
123 |
+
function checkbox_form_js() {
|
124 |
+
wp_enqueue_script('s2_checkbox', get_option('home') . '/wp-content/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/include/s2_checkbox.js', array('jquery'), '1.0');
|
125 |
+
}
|
126 |
+
|
127 |
+
function option_form_js() {
|
128 |
+
wp_enqueue_script('s2_edit', get_option('home') . '/wp-content/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/include/s2_edit.js', array('jquery'), '1.0');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
}
|
130 |
|
131 |
function add_weekly_sched($sched) {
|
132 |
+
$sched['weekly'] = array('interval' => 604800, 'display' => __('Once Weekly', 'subscribe2'));
|
133 |
return $sched;
|
134 |
}
|
135 |
|
231 |
// Set sender details
|
232 |
if ('' == $this->myname) {
|
233 |
$admin = $this->get_userdata();
|
234 |
+
$this->myname = html_entity_decode($admin->display_name);
|
235 |
$this->myemail = $admin->user_email;
|
236 |
}
|
237 |
$headers = "From: \"" . $this->myname . "\" <" . $this->myemail . ">\n";
|
253 |
$mailtext = wordwrap(strip_tags($message), 80, "\n");
|
254 |
}
|
255 |
|
256 |
+
// Replace any escaped html symbols in subject
|
257 |
+
$subject = html_entity_decode($subject);
|
258 |
+
|
259 |
// BCC all recipients
|
260 |
$bcc = '';
|
261 |
+
if ($this->subscribe2_options['bcclimit'] > 0) {
|
262 |
+
if ($this->subscribe2_options['bcclimit'] == 1) {
|
263 |
+
foreach ($recipients as $recipient) {
|
264 |
+
$recipient = trim($recipient);
|
265 |
+
// sanity check -- make sure we have a valid email
|
266 |
+
if (!is_email($recipient)) { continue; }
|
267 |
+
$status = @wp_mail($recipient, $subject, $mailtext, $headers);
|
268 |
+
}
|
269 |
+
return;
|
270 |
+
} elseif (count($recipients) > $this->subscribe2_options['bcclimit']) {
|
271 |
+
// we're using BCCLimit, and have more susbcribers than the limit
|
272 |
$count = 1;
|
273 |
$batch = array();
|
274 |
foreach ($recipients as $recipient) {
|
275 |
+
// advance the array pointer by one, for use down below
|
276 |
+
// the array pointer _is not_ advanced by the foreach() loop itself
|
277 |
next($recipients);
|
278 |
$recipient = trim($recipient);
|
279 |
// sanity check -- make sure we have a valid email
|
284 |
('' == $bcc) ? $bcc = "Bcc: $recipient" : $bcc .= ", $recipient";
|
285 |
// Bcc Headers now constructed by phpmailer class
|
286 |
}
|
287 |
+
if ($this->subscribe2_options['bcclimit'] == $count) {
|
288 |
$count = 1;
|
289 |
$batch[] = $bcc;
|
290 |
$bcc = '';
|
291 |
} else {
|
292 |
if (false == current($recipients)) {
|
293 |
+
// we've reached the end of the subscriber list
|
294 |
+
// add what we have to the batch, and move on
|
295 |
$batch[] = $bcc;
|
296 |
break;
|
297 |
} else {
|
299 |
}
|
300 |
}
|
301 |
}
|
302 |
+
}
|
303 |
// rewind the array, just to be safe
|
304 |
reset($recipients);
|
305 |
} else {
|
306 |
+
// we're not using BCCLimit, or have fewer
|
307 |
+
// subscribers than the limit, so do it normal
|
308 |
foreach ($recipients as $recipient) {
|
309 |
$recipient = trim($recipient);
|
310 |
// sanity check -- make sure we have a valid email
|
311 |
+
if (!is_email($recipient)) { continue; }
|
312 |
+
// and NOT the sender's email, since they'll
|
313 |
+
// get a copy anyway
|
314 |
+
if ( (!empty($recipient)) && ($this->myemail != $recipient) ) {
|
315 |
+
('' == $bcc) ? $bcc = "Bcc: $recipient" : $bcc .= ", $recipient";
|
316 |
+
// Bcc Headers now constructed by phpmailer class
|
317 |
+
}
|
318 |
}
|
319 |
$headers .= "$bcc\r\n";
|
320 |
}
|
321 |
// actually send mail
|
322 |
+
if ( ($this->subscribe2_options['bcclimit'] > 0) && (isset($batch)) ) {
|
323 |
foreach ($batch as $bcc) {
|
324 |
$newheaders = $headers . "$bcc\r\n";
|
325 |
+
$status = @wp_mail($this->myemail, $subject, $mailtext, $newheaders);
|
326 |
}
|
327 |
} else {
|
328 |
+
$status = @wp_mail($this->myemail, $subject, $mailtext, $headers);
|
329 |
}
|
330 |
+
return $status;
|
331 |
} // end mail()
|
332 |
|
333 |
/**
|
418 |
$this->myemail = $user->user_email;
|
419 |
$this->myname = $user->display_name;
|
420 |
// Get email subject
|
421 |
+
$subject = stripslashes(strip_tags($this->substitute($this->s2_subject)));
|
422 |
// Get the message template
|
423 |
+
$mailtext = stripslashes($this->substitute($this->subscribe2_options['mailtext']));
|
424 |
|
425 |
$plaintext = $post->post_content;
|
426 |
+
if (function_exists('strip_shortcodes')) {
|
427 |
+
$plaintext = strip_shortcodes($plaintext);
|
428 |
+
}
|
429 |
$content = apply_filters('the_content', $post->post_content);
|
430 |
$content = str_replace("]]>", "]]>", $content);
|
431 |
$excerpt = $post->post_excerpt;
|
438 |
$excerpt = trim($excerpt);
|
439 |
} else {
|
440 |
// no <!--more-->, so grab the first 55 words
|
441 |
+
$excerpt = strip_tags($plaintext);
|
442 |
+
$excerpt_length = 55;
|
443 |
+
$words = explode(' ', $excerpt, $excerpt_length + 1);
|
444 |
+
if (count($words) > $excerpt_length) {
|
445 |
+
array_pop($words);
|
446 |
+
array_push($words, '[...]');
|
447 |
+
$excerpt = implode(' ', $words);
|
448 |
+
}
|
449 |
}
|
450 |
}
|
451 |
|
468 |
$body = str_replace("\r\n", "<br />\r\n", $mailtext);
|
469 |
$body = str_replace("POST", $content, $body);
|
470 |
$this->mail($this->get_registered("cats=$post_cats_string&format=html"), $subject, $body, 'html');
|
|
|
|
|
471 |
} // end publish()
|
472 |
|
473 |
+
/**
|
474 |
+
Hook Subscribe2 into posts published via email
|
475 |
+
*/
|
476 |
+
function publish_phone($id) {
|
477 |
+
if (!$id) { return; }
|
478 |
+
|
479 |
+
$post = get_post($id);
|
480 |
+
$this->publish($post);
|
481 |
+
return $post;
|
482 |
+
}
|
483 |
+
|
484 |
/**
|
485 |
Send confirmation email to the user
|
486 |
*/
|
838 |
$result = $wpdb->get_col($sql);
|
839 |
if ($result) {
|
840 |
$ids = implode(',', $result);
|
841 |
+
return $wpdb->get_col("SELECT user_email FROM $wpdb->users WHERE ID IN ($ids) AND user_activation_key = ''");
|
842 |
}
|
843 |
} // end get_registered()
|
844 |
|
1037 |
Get admin data from record 1 or first user with admin rights
|
1038 |
*/
|
1039 |
function get_userdata() {
|
1040 |
+
global $wpdb, $userdata;
|
1041 |
+
|
1042 |
+
// get details of current user
|
1043 |
+
$admin = &$userdata;
|
1044 |
+
|
1045 |
+
// if current under is empty or isn't an administrator get user record 1
|
1046 |
+
if ( (empty($admin)) || $userdata->{$wpdb->prefix . "user_level"} != 10) {
|
1047 |
+
$admin = get_userdata(1);
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
// if user record 1 is empty grab the first admin from the database
|
1051 |
if (empty($admin)) {
|
1052 |
$sql = "SELECT DISTINCT(ID) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $wpdb->usermeta.meta_key='" . $wpdb->prefix . "user_level' AND $wpdb->usermeta.meta_value='10' LIMIT 1";
|
1053 |
$admin = get_userdata($wpdb->get_var($sql));
|
1070 |
|
1071 |
$what = '';
|
1072 |
$reminderform = false;
|
1073 |
+
$urlpath = str_replace("\\", "/", S2PATH);
|
1074 |
+
$urlpath = trailingslashit(get_option('siteurl')) . substr($urlpath,strpos($urlpath, "wp-content/"));
|
|
|
|
|
1075 |
if ( isset( $_GET['s2page'] ) ) {
|
1076 |
$page = (int) $_GET['s2page'];
|
1077 |
} else {
|
1081 |
// was anything POSTed ?
|
1082 |
if (isset($_POST['s2_admin'])) {
|
1083 |
check_admin_referer('subscribe2-manage_subscribers' . $s2nonce);
|
1084 |
+
if ($_POST['addresses']) {
|
1085 |
foreach (preg_split ("/[\s,]+/", $_POST['addresses']) as $email) {
|
1086 |
if (is_email($email)) {
|
1087 |
$this->activate($email);
|
1089 |
}
|
1090 |
$_POST['what'] = 'confirmed';
|
1091 |
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Address(es) subscribed!', 'subscribe2') . "</strong></p></div>";
|
1092 |
+
} elseif ($_POST['process']) {
|
1093 |
+
if ($_POST['delete']) {
|
1094 |
+
foreach ($_POST['delete'] as $address) {
|
1095 |
+
$this->delete($address);
|
1096 |
+
}
|
1097 |
+
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Address(es) deleted!', 'subscribe2') . "</strong></p></div>";
|
1098 |
+
} elseif ($_POST['confirm']) {
|
1099 |
+
foreach ($_POST['confirm'] as $address) {
|
1100 |
+
$this->toggle($address);
|
1101 |
+
}
|
1102 |
+
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Status changed!', 'subscribe2') . "</strong></p></div>";
|
1103 |
+
} elseif ($_POST['unconfirm']) {
|
1104 |
+
foreach ($_POST['unconfirm'] as $address) {
|
1105 |
+
$this->toggle($address);
|
1106 |
+
}
|
1107 |
+
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Status changed!', 'subscribe2') . "</strong></p></div>";
|
1108 |
+
}
|
1109 |
+
} elseif ($_POST['searchterm']) {
|
1110 |
+
$confirmed = $this->get_public();
|
1111 |
+
$unconfirmed = $this->get_public(0);
|
1112 |
+
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed, (array)$registered);
|
1113 |
+
foreach ($subscribers as $subscriber) {
|
1114 |
+
if (is_numeric(stripos($subscriber, $_POST['searchterm']))) {
|
1115 |
+
$result[] = $subscriber;
|
1116 |
+
}
|
1117 |
+
}
|
1118 |
+
} elseif ($_POST['remind']) {
|
1119 |
$this->remind($_POST['reminderemails']);
|
1120 |
+
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Reminder Email(s) Sent!', 'subscribe2') . "</strong></p></div>";
|
1121 |
+
} elseif ( ($_POST['register']) && ('subscribe' == $_POST['manage']) ) {
|
1122 |
$this->subscribe_registered_users($_POST['emails'], $_POST['category']);
|
1123 |
+
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Registered Users Subscribed!', 'subscribe2') . "</strong></p></div>";
|
1124 |
+
} elseif ( ($_POST['register']) && ('unsubscribe' == $_POST['manage']) ) {
|
1125 |
$this->unsubscribe_registered_users($_POST['emails'], $_POST['category']);
|
1126 |
+
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Registered Users Unsubscribed!', 'subscribe2') . "</strong></p></div>";
|
1127 |
}
|
1128 |
}
|
1129 |
|
1206 |
}
|
1207 |
}
|
1208 |
}
|
1209 |
+
if ($_POST['searchterm']) {
|
1210 |
+
$subscribers = &$result;
|
1211 |
+
}
|
1212 |
+
|
1213 |
if (!empty($subscribers)) {
|
1214 |
natcasesort($subscribers);
|
1215 |
// Displays a page number strip - adapted from code in Akismet
|
1216 |
$args['what'] = $what;
|
1217 |
$total_subscribers = count($subscribers);
|
1218 |
+
$total_pages = ceil($total_subscribers / 25);
|
1219 |
$strip = '';
|
1220 |
if ( $page > 1 ) {
|
1221 |
$args['s2page'] = $page - 1;
|
1237 |
}
|
1238 |
}
|
1239 |
}
|
1240 |
+
if ( ( $page ) * 25 < $total_subscribers ) {
|
1241 |
$args['s2page'] = $page + 1;
|
1242 |
$strip .= "<a class=\"next\" href=\"" . clean_url(add_query_arg($args)) . "\">". __('Next Page', 'subscribe2') . " »</a>\n";
|
1243 |
}
|
1248 |
if ('' == $registered) { $registered = array(); }
|
1249 |
|
1250 |
// show our form
|
1251 |
+
echo "<form method=\"post\" action=\"\">\r\n";
|
1252 |
echo "<div class=\"wrap\">";
|
1253 |
echo "<h2>" . __('Subscribe Addresses', 'subscribe2') . "</h2>\r\n";
|
|
|
|
|
1254 |
if (function_exists('wp_nonce_field')) {
|
1255 |
wp_nonce_field('subscribe2-manage_subscribers' . $s2nonce);
|
1256 |
}
|
1257 |
+
echo "<p>" . __('Enter addresses, one per line or comma-separated', 'subscribe2') . "<br />\r\n";
|
1258 |
echo "<textarea rows=\"2\" cols=\"80\" name=\"addresses\"></textarea></p>\r\n";
|
1259 |
+
echo "<input type=\"hidden\" name=\"s2_admin\" />\r\n";
|
1260 |
+
echo "<p class=\"submit\"><input type=\"submit\" name=\"subscribe\" value=\"" . __('Subscribe', 'subscribe2') . "\"/></p>\r\n";
|
|
|
1261 |
|
1262 |
// subscriber lists
|
1263 |
+
echo "<h2>" . __('Subscribers', 'subscribe2') . "</h2>\r\n";
|
1264 |
echo "<br />";
|
1265 |
$this->display_subscriber_dropdown($what, __('Filter', 'subscribe2'));
|
1266 |
// show the selected subscribers
|
1268 |
if (!empty($subscribers)) {
|
1269 |
echo "<p align=\"center\"><b>" . __('Registered on the left, confirmed in the middle, unconfirmed on the right', 'subscribe2') . "</b></p>\r\n";
|
1270 |
$exportcsv = implode(",\r\n", $subscribers);
|
1271 |
+
echo "<table cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">";
|
1272 |
+
echo "<tr><td width=\"50%\"><input type=\"text\" name=\"searchterm\" value=\"\" /> \r\n";
|
1273 |
+
echo "<input type=\"submit\" name=\"search\" value=\"" . __('Search Subscribers', 'subscribe2') . "\" class=\"button\" /></td>\r\n";
|
1274 |
+
echo "<td width=\"50%\" align=\"right\"><input type=\"hidden\" name=\"exportcsv\" value=\"" . $exportcsv . "\" />\r\n";
|
1275 |
+
echo "<input type=\"submit\" name=\"csv\" value=\"" . __('Save Emails to CSV File', 'subscribe2') . "\" class=\"button\" /></td></tr></table>\r\n";
|
1276 |
+
echo "<table width=\"100%\"><tr><td valign=\"bottom\">" . $strip . "</td>\r\n";
|
1277 |
+
echo "<td align=\"right\"><p class=\"submit\" align=\"right\" style=\"border-top: none;\"><input type=\"submit\" name=\"process\" value=\"" . __('Process', 'subscribe2') . "\" /></p>\r\n";
|
1278 |
+
echo "</td></tr></table>\r\n";
|
1279 |
+
}
|
1280 |
+
echo "<table cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">";
|
|
|
1281 |
if (!empty($subscribers)) {
|
1282 |
+
$subscriber_chunks = array_chunk($subscribers, 25);
|
1283 |
$chunk = $page - 1;
|
1284 |
$subscribers = $subscriber_chunks[$chunk];
|
1285 |
+
echo "<tr class=\"$alternate\">\r\n";
|
1286 |
+
echo "<td width=\"88%\"></td>\r\n";
|
1287 |
+
echo "<td width=\"4%\" align=\"center\">";
|
1288 |
+
echo "<img src=\"" . $urlpath . "include/arrow_left.png\" alt=\"<\" title=\"" . __('Confirm this email address', 'subscribe2') . "\" /></td>\r\n";
|
1289 |
+
echo "<td width=\"4%\" align=\"center\">";
|
1290 |
+
echo "<img src=\"" . $urlpath . "include/arrow_right.png\" alt=\">\" title=\"" . __('Unconfirm this email address', 'subscribe2') . "\" /></td>\r\n";
|
1291 |
+
echo "<td width=\"4%\" align=\"center\">";
|
1292 |
+
echo "<img src=\"" . $urlpath . "include/cross.png\" alt=\"X\" title=\"" . __('Delete this email address', 'subscribe2') . "\" /></td></tr>\r\n";
|
1293 |
+
echo "<tr><td align=\"right\"><strong>" . __('Select / Unselect All', 'subscribe2') . "</strong></td>\r\n";
|
1294 |
+
echo "<td align=\"center\"><input type=\"checkbox\" name=\"checkall\" value=\"confirm_checkall\" /></td>\r\n";
|
1295 |
+
echo "<td align=\"center\"><input type=\"checkbox\" name=\"checkall\" value=\"unconfirm_checkall\" /></td>\r\n";
|
1296 |
+
echo "<td align=\"center\"><input type=\"checkbox\" name=\"checkall\" value=\"delete_checkall\" /></td></tr>\r\n";
|
1297 |
foreach ($subscribers as $subscriber) {
|
1298 |
+
echo "<tr class=\"$alternate\" style=\"height:50px;\">";
|
1299 |
+
echo "<td";
|
1300 |
if (in_array($subscriber, $unconfirmed)) {
|
1301 |
echo " align=\"right\">";
|
1302 |
} elseif (in_array($subscriber, $confirmed)) {
|
1303 |
echo " align=\"center\">";
|
1304 |
} else {
|
1305 |
+
echo " align=\"left\" colspan=\"4\">";
|
1306 |
}
|
1307 |
+
echo "<a href=\"mailto:" . $subscriber . "\">" . $subscriber . "</a>\r\n";
|
1308 |
if (in_array($subscriber, $unconfirmed) || in_array($subscriber, $confirmed) ) {
|
1309 |
echo "(" . $this->signup_date($subscriber) . ")</td>\r\n";
|
1310 |
+
echo "<td align=\"center\">\r\n";
|
1311 |
+
if (in_array($subscriber, $confirmed)) {
|
1312 |
+
echo "</td><td align=\"center\">\r\n";
|
1313 |
+
echo "<input class=\"unconfirm_checkall\" title=\"" . __('Unconfirm this email address', 'subscribe2') . "\" type=\"checkbox\" name=\"unconfirm[]\" value=\"" . $subscriber . "\" /></td>\r\n";
|
1314 |
+
} elseif (in_array($subscriber, $unconfirmed)) {
|
1315 |
+
echo "<input class=\"confirm_checkall\" title=\"" . __('Confirm this email address', 'subscribe2') . "\" type=\"checkbox\" name=\"confirm[]\" value=\"" . $subscriber . "\" /></td>\r\n";
|
1316 |
+
echo "<td align=\"center\"></td>\r\n";
|
1317 |
}
|
1318 |
+
echo "<td align=\"center\">\r\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1319 |
echo "<p class=\"delete\">\r\n";
|
1320 |
+
echo "<input class=\"delete_checkall\" title=\"" . __('Delete this email address', 'subscribe2') . "\" type=\"checkbox\" name=\"delete[]\" value=\"" . $subscriber . "\" />\r\n";
|
1321 |
+
echo "</p>";
|
1322 |
}
|
1323 |
echo "</td></tr>\r\n";
|
1324 |
('alternate' == $alternate) ? $alternate = '' : $alternate = 'alternate';
|
1325 |
}
|
1326 |
} else {
|
1327 |
+
if ($_POST['search']) {
|
1328 |
+
echo "<tr><td align=\"center\"><b>" . __('No matching subscribers found', 'subscribe2') . "</b></td></tr>\r\n";
|
1329 |
+
} else {
|
1330 |
+
echo "<tr><td align=\"center\"><b>" . __('NONE', 'subscribe2') . "</b></td></tr>\r\n";
|
1331 |
+
}
|
1332 |
+
}
|
1333 |
+
echo "</table>\r\n";
|
1334 |
+
if (!empty($subscribers)) {
|
1335 |
+
echo "<table width=\"100%\"><tr><td valign=\"bottom\">" . $strip . "</td>\r\n";
|
1336 |
+
echo "<td align=\"right\"><p class=\"submit\" align=\"right\" style=\"border-top: none;\"><input type=\"submit\" name=\"process\" value=\"" . __('Process', 'subscribe2') . "\" /></p>\r\n";
|
1337 |
+
echo "</td></tr></table>\r\n";
|
1338 |
}
|
|
|
|
|
1339 |
if ($reminderform) {
|
1340 |
+
echo "<input type=\"hidden\" name=\"reminderemails\" value=\"" . $reminderemails . "\" />\r\n";
|
1341 |
+
echo "<p class=\"submit\"><input type=\"submit\" name=\"reminder\" value=\"" . __('Send Reminder Email', 'subscribe2') . "\" /></p>\r\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
1342 |
}
|
|
|
1343 |
|
1344 |
//show bulk managment form
|
|
|
1345 |
echo "<h2>" . __('Categories', 'subscribe2') . "</h2>\r\n";
|
1346 |
echo "<p>";
|
1347 |
echo __('Existing Registered Users can be automatically (un)subscribed to categories using this section.', 'subscribe2') . "<br />\r\n";
|
1348 |
echo "<strong><em style=\"color: red\">" . __('Consider User Privacy as changes cannot be undone', 'subscribe2') . "</em></strong><br />\r\n";
|
1349 |
echo "</p>";
|
|
|
|
|
|
|
|
|
1350 |
echo "<br />" . __('Action to perform', 'subscribe2') . ":\r\n";
|
1351 |
echo "<input type=\"radio\" name=\"manage\" value=\"subscribe\" checked=\"checked\" />" . __('Subscribe', 'subscribe2') . "\r\n";
|
1352 |
echo "<input type=\"radio\" name=\"manage\" value=\"unsubscribe\" />" . __('Unsubscribe', 'subscribe2') . "<br /><br />\r\n";
|
1353 |
+
echo "<input type=\"hidden\" name=\"emails\" value=\"$emails\" />\r\n";
|
1354 |
$this->display_category_form();
|
1355 |
+
echo "<p class=\"submit\"><input type=\"submit\" id=\"deletepost\" name=\"register\" value=\"" . __('Submit', 'subscribe2') . "\" /></p>";
|
1356 |
+
echo "</div></form>\r\n";
|
|
|
|
|
1357 |
|
1358 |
include(ABSPATH . 'wp-admin/admin-footer.php');
|
1359 |
// just to be sure
|
1369 |
// was anything POSTed?
|
1370 |
if (isset($_POST['s2_admin'])) {
|
1371 |
check_admin_referer('subscribe2-options_subscribers' . $s2nonce);
|
1372 |
+
if ($_POST['reset']) {
|
1373 |
$this->reset();
|
1374 |
echo "<div id=\"message\" class=\"updated fade\"><p><strong>$this->options_reset</strong></p></div>";
|
1375 |
+
} elseif ($_POST['submit']) {
|
1376 |
// excluded categories
|
1377 |
if (!empty($_POST['category'])) {
|
1378 |
$exclude_cats = implode(',', $_POST['category']);
|
1392 |
($_POST['widget'] == '1') ? $showwidget = '1' : $showwidget = '0';
|
1393 |
$this->subscribe2_options['widget'] = $showwidget;
|
1394 |
|
1395 |
+
// BCClimit
|
1396 |
+
$this->subscribe2_options['bcclimit'] = $_POST['bcc'];
|
1397 |
+
$this->subscribe2_options['s2page'] = $_POST['page'];
|
1398 |
+
|
1399 |
// send as author or admin?
|
1400 |
$sender = 'author';
|
1401 |
if ('admin' == $_POST['sender']) {
|
1404 |
$this->subscribe2_options['sender'] = $sender;
|
1405 |
|
1406 |
// send email for pages, private and password protected posts
|
1407 |
+
$this->subscribe2_options['pages']= $_POST['pages'];
|
1408 |
+
$this->subscribe2_options['password']= $_POST['password'];
|
1409 |
+
$this->subscribe2_options['private'] = $_POST['private'];
|
|
|
|
|
|
|
1410 |
|
1411 |
// send per-post or digest emails
|
1412 |
$email_freq = $_POST['email_freq'];
|
1413 |
+
if ( ($email_freq != $this->subscribe2_options['email_freq']) || ($_POST['hour'] != gmdate('H', $scheduled_time)) ) {
|
1414 |
+
$this->subscribe2_options['email_freq'] = $email_freq;
|
1415 |
+
wp_clear_scheduled_hook('s2_digest_cron');
|
1416 |
+
$scheds = (array) wp_get_schedules();
|
1417 |
+
$interval = ( isset($scheds[$email_freq]['interval']) ) ? (int) $scheds[$email_freq]['interval'] : 0;
|
1418 |
+
if ($interval == 0) {
|
1419 |
+
// if we are on per-post emails remove last_cron entry
|
1420 |
+
unset($this->subscribe2_options['last_s2cron']);
|
1421 |
+
} else {
|
|
|
|
|
|
|
|
|
|
|
1422 |
// if we are using digest schedule the event and prime last_cron as now
|
1423 |
$time = current_time('timestamp') + $interval;
|
1424 |
if ($interval < 86400) {
|
1426 |
$timestamp = &$time;
|
1427 |
} else {
|
1428 |
// Schedule other CRON events starting at user defined hour and periodically thereafter
|
1429 |
+
$timestamp = gmmktime($_POST['hour'], 0, 0, gmdate('m', $time), gmdate('d', $time), gmdate('Y', $time));
|
1430 |
}
|
1431 |
+
wp_schedule_event($timestamp, $email_freq, 's2_digest_cron');
|
1432 |
+
if (!isset($this->subscribe2_options['last_s2cron'])) {
|
1433 |
+
$this->subscribe2_options['last_s2cron'] = current_time('mysql');
|
|
|
1434 |
}
|
|
|
1435 |
}
|
1436 |
}
|
1437 |
|
1438 |
// email templates
|
1439 |
+
$this->subscribe2_options['mailtext'] = $_POST['mailtext'];
|
1440 |
+
$this->subscribe2_options['confirm_email'] = $_POST['confirm_email'];
|
1441 |
+
$this->subscribe2_options['remind_email'] = $_POST['remind_email'];
|
|
|
|
|
|
|
1442 |
|
1443 |
//automatic subscription
|
1444 |
+
$this->subscribe2_options['autosub'] = $_POST['autosub'];
|
1445 |
+
$this->subscribe2_options['wpregdef'] = $_POST['wpregdef'];
|
1446 |
+
$this->subscribe2_options['autoformat'] = $_POST['autoformat'];
|
1447 |
+
$this->subscribe2_options['autosub_def'] = $_POST['autosub_def'];
|
|
|
|
|
|
|
|
|
1448 |
|
1449 |
//barred domains
|
1450 |
+
$this->subscribe2_options['barred'] = $_POST['barred'];
|
1451 |
+
|
1452 |
echo "<div id=\"message\" class=\"updated fade\"><p><strong>$this->options_saved</strong></p></div>";
|
1453 |
update_option('subscribe2_options', $this->subscribe2_options);
|
1454 |
}
|
1462 |
echo "<input type=\"hidden\" name=\"s2_admin\" value=\"options\" />\r\n";
|
1463 |
echo "<h2>" . __('Delivery Options', 'subscribe2') . ":</h2>\r\n";
|
1464 |
echo "<p>";
|
1465 |
+
echo "<input type=\"hidden\" id=\"jsbcc\" value=\"" . $this->subscribe2_options['bcclimit'] . "\" />";
|
1466 |
+
echo "<input type=\"hidden\" id=\"jspage\" value=\"" . $this->subscribe2_options['s2page'] . "\" />";
|
1467 |
+
|
1468 |
+
echo __('Restrict the number of recpients per email to (0 for unlimited)', 'subscribe2') . ': ';
|
1469 |
+
echo "<span id=\"s2bcc_1\"><span id=\"s2bcc\" style=\"background-color: #FFFBCC\">" . $this->subscribe2_options['bcclimit'] . "</span> ";
|
1470 |
+
echo "<a href=\"#\" onclick=\"s2_show('bcc')\">" . __('Edit', 'subscribe2') . "</a></span>\n";
|
1471 |
+
echo "<span id=\"s2bcc_2\">\r\n";
|
1472 |
+
echo "<input type=\"text\" name=\"bcc\" value=\"" . $this->subscribe2_options['bcclimit'] . "\" size=\"3\" />\r\n";
|
1473 |
+
echo "<a href=\"#\" onclick=\"s2_update('bcc');\">". __('Update', 'subscribe2') . "</a>\n";
|
1474 |
+
echo "<a href=\"#\" onclick=\"s2_revert('bcc');\">". __('Revert', 'subscribe2') . "</a></span>\n";
|
1475 |
+
|
1476 |
+
echo "<br /><br />" . __('Set default Subscribe2 page as ID', 'subscribe2') . ': ';
|
1477 |
+
echo "<span id=\"s2page_1\"><span id=\"s2page\" style=\"background-color: #FFFBCC\">" . $this->subscribe2_options['s2page'] . "</span> ";
|
1478 |
+
echo "<a href=\"#\" onclick=\"s2_show('page')\">" . __('Edit', 'subscribe2') . "</a></span>\n";
|
1479 |
+
echo "<span id=\"s2page_2\">\r\n";
|
1480 |
+
echo "<input type=\"text\" name=\"page\" value=\"" . $this->subscribe2_options['s2page'] . "\" size=\"3\" />\r\n";
|
1481 |
+
echo "<a href=\"#\" onclick=\"s2_update('page');\">". __('Update', 'subscribe2') . "</a>\n";
|
1482 |
+
echo "<a href=\"#\" onclick=\"s2_revert('page');\">". __('Revert', 'subscribe2') . "</a></span>\n";
|
1483 |
+
|
1484 |
+
echo "<br /><br />" . __('Send Emails for Pages', 'subscribe2') . ': ';
|
1485 |
echo "<input type=\"radio\" name=\"pages\" value=\"yes\"";
|
1486 |
if ('yes' == $this->subscribe2_options['pages']) {
|
1487 |
echo " checked=\"checked\"";
|
1656 |
|
1657 |
// submit
|
1658 |
echo "<p class=\"submit\" align=\"center\"><input type=\"submit\" id=\"save\" name=\"submit\" value=\"" . __('Submit', 'subscribe2') . "\" /></p>";
|
|
|
|
|
1659 |
|
1660 |
// reset
|
1661 |
echo "<h2>" . __('Reset Default', 'subscribe2') . "</h2>\r\n";
|
1662 |
echo "<p>" . __('Use this to reset all options to their defaults. This <strong><em>will not</em></strong> modify your list of subscribers.', 'subscribe2') . "</p>\r\n";
|
|
|
|
|
|
|
|
|
1663 |
echo "<p class=\"submit\" align=\"center\">";
|
1664 |
+
echo "<input type=\"submit\" id=\"deletepost\" name=\"reset\" value=\"" . __('RESET', 'subscribe2') .
|
|
|
1665 |
"\" />";
|
1666 |
echo "</p></form></div>\r\n";
|
1667 |
|
1845 |
$recipients = $this->get_registered();
|
1846 |
}
|
1847 |
$subject = stripslashes(strip_tags($_POST['subject']));
|
1848 |
+
$body = stripslashes($_POST['message']);
|
1849 |
+
$status = $this->mail($recipients, $subject, $body, 'text');
|
1850 |
+
if ($status) {
|
1851 |
+
$message = $this->mail_sent;
|
1852 |
+
} else {
|
1853 |
+
global $phpmailer;
|
1854 |
+
$message = $this->mail_failed . $phpmailer->ErrorInfo;
|
1855 |
+
}
|
1856 |
}
|
1857 |
|
1858 |
if ('' != $message) {
|
1914 |
$j++;
|
1915 |
}
|
1916 |
if (0 == $j) {
|
1917 |
+
echo "<input class=\"cat_checkall\" type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
|
1918 |
if (in_array($cat->term_id, $selected)) {
|
1919 |
echo " checked=\"checked\" ";
|
1920 |
}
|
1921 |
echo " /> " . $cat->name . "<br />\r\n";
|
1922 |
} else {
|
1923 |
|
1924 |
+
echo "<input class=\"cat_checkall\" type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
|
1925 |
if (in_array($cat->term_id, $selected)) {
|
1926 |
echo " checked=\"checked\" ";
|
1927 |
}
|
1931 |
}
|
1932 |
echo "</td></tr>\r\n";
|
1933 |
echo "<tr><td align=\"left\" colspan=\"2\">\r\n";
|
1934 |
+
echo "<input type=\"checkbox\" name=\"checkall\" value=\"cat_checkall\" /> " . __('Select / Unselect All', 'subscribe2') . "\r\n";
|
1935 |
echo "</td></tr>\r\n";
|
1936 |
echo "</table>\r\n";
|
1937 |
} // end display_category_form()
|
1989 |
return;
|
1990 |
}
|
1991 |
|
|
|
|
|
|
|
1992 |
echo "<select name=\"what\">\r\n";
|
1993 |
foreach ($who as $whom => $display) {
|
1994 |
if (in_array($whom, $exclude)) { continue; }
|
2009 |
}
|
2010 |
echo "</select>";
|
2011 |
if (false !== $submit) {
|
2012 |
+
echo " <input type=\"submit\" value=\"$submit\" class=\"button\"/>\r\n";
|
2013 |
}
|
2014 |
} // end display_subscriber_dropdown()
|
2015 |
|
2017 |
global $wpdb;
|
2018 |
$scheduled_time = wp_next_scheduled('s2_digest_cron');
|
2019 |
$schedule = (array)wp_get_schedules();
|
2020 |
+
$schedule = array_merge(array('never' => array('interval' => 0, 'display' => __('Per Post Email', 'subscribe2'))), $schedule);
|
2021 |
$sort = array();
|
2022 |
foreach ( (array)$schedule as $key => $value ) $sort[$key] = $value['interval'];
|
2023 |
asort($sort);
|
2033 |
echo " /> " . $value['display'] . "<br />\r\n";
|
2034 |
}
|
2035 |
echo "<br />" . __('Send Digest Notification at', 'subscribe2') . ": \r\n";
|
2036 |
+
$hours = array('12am', '1am', '2am', '3am', '4am', '5am', '6am', '7am', '8am', '9am', '10am', '11am', '12pm', '1pm', '2pm', '3pm', '4pm', '5pm', '6pm', '7pm', '8pm', '9pm', '10pm', '11pm');
|
2037 |
echo "<select name=\"hour\">\r\n";
|
2038 |
while ($hour = current($hours)) {
|
2039 |
echo "<option value=\"" . key($hours) . "\"";
|
2046 |
echo "</select>\r\n";
|
2047 |
echo "<strong><em style=\"color: red\">" . __('This option will work for digest notification sent daily or less frequently', 'subscribe2') . "</em></strong>\r\n";
|
2048 |
if ($scheduled_time) {
|
|
|
2049 |
$datetime = get_option('date_format') . ' @ ' . get_option('time_format');
|
2050 |
echo "<p>" . __('Current UTC time is', 'subscribe2') . ": \r\n";
|
2051 |
echo "<strong>" . gmdate($datetime, current_time('timestamp', 1)) . "</strong></p>\r\n";
|
2180 |
|
2181 |
global $wpdb;
|
2182 |
|
2183 |
+
if ( 0 != $this->subscribe2_options['s2page'] ) {
|
2184 |
+
return "page_id=" . $this->subscribe2_options['s2page'];
|
2185 |
} else {
|
2186 |
$id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_type='page' AND post_status='publish' LIMIT 1");
|
2187 |
if ($id) {
|
2195 |
/**
|
2196 |
Overrides the page title
|
2197 |
*/
|
2198 |
+
function title_filter($title) {
|
2199 |
// don't interfere if we've already done our thing
|
2200 |
if (1 == $this->filtered) { return; }
|
2201 |
+
if (in_the_loop()) {
|
2202 |
+
return __('Subscription Confirmation', 'subscribe2');
|
2203 |
+
} else {
|
2204 |
+
return $title;
|
2205 |
+
}
|
2206 |
} // end title_filter()
|
2207 |
|
2208 |
/* ===== widget functions ===== */
|
2254 |
}
|
2255 |
}
|
2256 |
|
2257 |
+
function plugin_action($links, $file) {
|
2258 |
+
if ($file == plugin_basename(dirname(__FILE__).'/subscribe2.php'))
|
2259 |
+
$links[] = "<a href='options-general.php?page=subscribe2/subscribe2.php'><b>" . __('Settings', 'subscribe2') . "</b></a>";
|
2260 |
+
return $links;
|
2261 |
+
}
|
2262 |
+
|
2263 |
/* ===== Write Toolbar Button Functions ===== */
|
2264 |
|
2265 |
/**
|
2342 |
$this->subscribe2_options['last_s2cron'] = $now;
|
2343 |
update_option('subscribe2_options', $this->subscribe2_options);
|
2344 |
|
2345 |
+
//set up SQL query based on options
|
2346 |
+
if ($this->subscribe2_options['private'] == 'yes' ) {
|
2347 |
+
$status = "'publish', 'private'";
|
2348 |
+
} else {
|
2349 |
+
$status = "'publish'";
|
2350 |
+
}
|
2351 |
+
|
2352 |
+
if ($this->subscribe2_options['page'] == 'yes' ) {
|
2353 |
+
$type = "'post', 'page'";
|
2354 |
+
} else {
|
2355 |
+
$type = "'post'";
|
2356 |
+
}
|
2357 |
+
|
2358 |
// collect posts
|
2359 |
+
$posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password FROM $wpdb->posts WHERE post_date >= '$prev' AND post_date < '$now' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date");
|
2360 |
|
2361 |
// do we have any posts?
|
2362 |
if (empty($posts)) { return; }
|
2386 |
if ( ($this->subscribe2_options['password'] == "no") && ($post->post_password != '') ) {
|
2387 |
$check = true;
|
2388 |
}
|
2389 |
+
// if this post is excluded
|
|
|
|
|
|
|
|
|
|
|
2390 |
// don't include it in the digest
|
2391 |
if ($check) {
|
2392 |
continue;
|
2398 |
if ('' == $excerpt) {
|
2399 |
// no excerpt, is there a <!--more--> ?
|
2400 |
if (false !== strpos($post->post_content, '<!--more-->')) {
|
2401 |
+
list($excerpt, $more) = explode('<!--more-->', $post->post_content, 2);
|
2402 |
+
$excerpt = strip_tags($excerpt);
|
2403 |
+
if (function_exists('strip_shortcodes')) {
|
2404 |
+
$excerpt = strip_shortcodes($excerpt);
|
2405 |
+
}
|
2406 |
// strip leading and trailing whitespace
|
2407 |
$excerpt = trim($excerpt);
|
2408 |
} else {
|
2409 |
$excerpt = strip_tags($post->post_content);
|
2410 |
+
if (function_exists('strip_shortcodes')) {
|
2411 |
+
$excerpt = strip_shortcodes($excerpt);
|
2412 |
+
}
|
2413 |
$words = explode(' ', $excerpt, 56);
|
2414 |
if (count($words) > 55) {
|
2415 |
array_pop($words);
|
2421 |
$message .= $excerpt . "\r\n\r\n";
|
2422 |
}
|
2423 |
|
2424 |
+
//sanity check - don't send a mail if the content is empty
|
2425 |
+
if (!$message && !$table) {
|
2426 |
+
return;
|
2427 |
+
}
|
2428 |
+
|
2429 |
+
// get admin details
|
2430 |
$user = $this->get_userdata();
|
2431 |
$this->myemail = $user->user_email;
|
2432 |
$this->myname = $user->display_name;
|
2466 |
function subscribe2() {
|
2467 |
global $table_prefix;
|
2468 |
|
2469 |
+
load_plugin_textdomain('subscribe2', PLUGINDIR . '/' . dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)));
|
2470 |
|
2471 |
// do we need to install anything?
|
2472 |
$this->public = $table_prefix . "subscribe2";
|
2483 |
add_filter('the_content', array(&$this, 'confirm'));
|
2484 |
}
|
2485 |
|
2486 |
+
if ( (isset($_POST['s2_admin'])) && ($_POST['csv']) ) {
|
2487 |
$date = date('Y-m-d');
|
2488 |
+
header("Content-Description: File Transfer");
|
2489 |
header("Content-type: application/octet-stream");
|
2490 |
header("Content-Disposition: attachment; filename=subscribe2_users_$date.csv");
|
2491 |
header("Pragma: no-cache");
|
2496 |
}
|
2497 |
|
2498 |
//add regular actions and filters
|
|
|
2499 |
add_action('admin_menu', array(&$this, 'admin_menu'));
|
2500 |
add_action('create_category', array(&$this, 'autosub_new_category'));
|
2501 |
add_action('register_form', array(&$this, 'register_form'));
|
2523 |
add_action('pending_to_publish', array(&$this, 'publish'));
|
2524 |
add_action('private_to_publish', array(&$this, 'publish'));
|
2525 |
add_action('future_to_publish', array(&$this, 'publish'));
|
2526 |
+
add_action('publish_phone', array(&$this, 'publish_phone'));
|
2527 |
if ($this->subscribe2_options['private'] == "yes") {
|
2528 |
add_action('new_to_private', array(&$this, 'publish'));
|
2529 |
add_action('draft_to_private', array(&$this, 'publish'));
|
subscribe2.pot
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date: 2008-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,556 +16,605 @@ msgstr ""
|
|
16 |
"Content-Type: text/plain; charset=CHARSET\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: subscribe2.php:
|
20 |
msgid "To manage your subscription options please "
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: subscribe2.php:
|
24 |
msgid "login"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: subscribe2.php:
|
28 |
msgid "You may manage your subscription options from your "
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: subscribe2.php:
|
32 |
msgid "profile"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: subscribe2.php:
|
36 |
msgid "A confirmation message is on its way!"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: subscribe2.php:
|
40 |
msgid "That email address is already subscribed."
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: subscribe2.php:
|
44 |
msgid "That email address is not subscribed."
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: subscribe2.php:
|
48 |
msgid "Sorry, but that does not look like an email address to me."
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: subscribe2.php:
|
52 |
msgid ""
|
53 |
"Sorry, email addresses at that domain are currently barred due to spam, "
|
54 |
"please use an alternative email address."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: subscribe2.php:
|
58 |
msgid ""
|
59 |
"Sorry, there seems to be an error on the server. Please try again later."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: subscribe2.php:
|
63 |
msgid "Message sent!"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: subscribe2.php:
|
|
|
|
|
|
|
|
|
|
|
67 |
msgid "Your email:"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: subscribe2.php:
|
71 |
msgid "Subscribe"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: subscribe2.php:
|
75 |
msgid "Unsubscribe"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: subscribe2.php:
|
79 |
msgid "Send"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: subscribe2.php:
|
83 |
msgid "No such email address is registered."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: subscribe2.php:
|
87 |
msgid "You have successfully subscribed!"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: subscribe2.php:
|
91 |
msgid "You have successfully unsubscribed."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: subscribe2.php:
|
95 |
msgid "Please confirm your request"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: subscribe2.php:
|
99 |
msgid "Subscription Reminder"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: subscribe2.php:
|
103 |
msgid "subscribe"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: subscribe2.php:
|
107 |
msgid "unsubscribe"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: subscribe2.php:
|
111 |
msgid "Options saved!"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: subscribe2.php:
|
115 |
msgid "Options reset!"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: subscribe2.php:
|
119 |
msgid "Subscribers"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: subscribe2.php:
|
123 |
msgid "Subscribe2 Options"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: subscribe2.php:
|
127 |
msgid "Subscribe2"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: subscribe2.php:
|
131 |
-
msgid "Subscriptions"
|
132 |
msgstr ""
|
133 |
|
134 |
#: subscribe2.php:115
|
135 |
msgid "Mail Subscribers"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: subscribe2.php:
|
139 |
msgid "Once Weekly"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: subscribe2.php:
|
143 |
msgid "New subscriber"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: subscribe2.php:
|
147 |
msgid "subscribed to email notifications!"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: subscribe2.php:
|
151 |
msgid "Address(es) subscribed!"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: subscribe2.php:
|
155 |
-
msgid "deleted!"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: subscribe2.php:
|
159 |
-
msgid "
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: subscribe2.php:
|
163 |
msgid "Reminder Email(s) Sent!"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: subscribe2.php:
|
167 |
msgid "Registered Users Subscribed!"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: subscribe2.php:
|
171 |
msgid "Registered Users Unsubscribed!"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: subscribe2.php:
|
175 |
msgid "Previous Page"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: subscribe2.php:
|
179 |
msgid "Next Page"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: subscribe2.php:
|
183 |
msgid "Subscribe Addresses"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: subscribe2.php:
|
187 |
-
msgid "Enter addresses, one per line or comma-
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: subscribe2.php:
|
191 |
msgid "Filter"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: subscribe2.php:
|
195 |
msgid ""
|
196 |
"Registered on the left, confirmed in the middle, unconfirmed on the right"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: subscribe2.php:
|
|
|
|
|
|
|
|
|
200 |
msgid "Save Emails to CSV File"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: subscribe2.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
msgid "NONE"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: subscribe2.php:
|
208 |
msgid "Send Reminder Email"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: subscribe2.php:
|
212 |
msgid "Categories"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: subscribe2.php:
|
216 |
msgid ""
|
217 |
"Existing Registered Users can be automatically (un)subscribed to categories "
|
218 |
"using this section."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: subscribe2.php:
|
222 |
msgid "Consider User Privacy as changes cannot be undone"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: subscribe2.php:
|
226 |
msgid "Action to perform"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: subscribe2.php:
|
230 |
msgid "Submit"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: subscribe2.php:
|
234 |
msgid "Delivery Options"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: subscribe2.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
msgid "Send Emails for Pages"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: subscribe2.php:
|
242 |
-
#: subscribe2.php:
|
243 |
-
#: subscribe2.php:
|
244 |
msgid "Yes"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: subscribe2.php:
|
248 |
-
#: subscribe2.php:
|
249 |
-
#: subscribe2.php:
|
250 |
msgid "No"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: subscribe2.php:
|
254 |
msgid "Send Emails for Password Protected Posts"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: subscribe2.php:
|
258 |
msgid "Send Emails for Private Posts"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: subscribe2.php:
|
262 |
msgid "Send Email From"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: subscribe2.php:
|
266 |
msgid "Author of the post"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: subscribe2.php:
|
270 |
msgid "Blog Admin"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: subscribe2.php:
|
274 |
msgid "Send Email as Digest"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: subscribe2.php:
|
278 |
msgid "Email Templates"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: subscribe2.php:
|
282 |
msgid "New Post email (must not be empty)"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: subscribe2.php:
|
286 |
msgid "Message substitions"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: subscribe2.php:
|
290 |
msgid "the post's title<br />(<i>for per-post emails only</i>)"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: subscribe2.php:
|
294 |
msgid ""
|
295 |
"the excerpt or the entire post<br />(<i>based on the subscriber's "
|
296 |
"preferences</i>)"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: subscribe2.php:
|
300 |
msgid "a list of post titles<br />(<i>for digest emails only</i>)"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: subscribe2.php:
|
304 |
msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: subscribe2.php:
|
308 |
msgid "the admin or post author's name"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: subscribe2.php:
|
312 |
msgid "the admin or post author's email"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: subscribe2.php:
|
316 |
msgid "the post author's name"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: subscribe2.php:
|
320 |
msgid ""
|
321 |
"the generated link to confirm a request<br />(<i>only used in the "
|
322 |
"confirmation email template</i>)"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: subscribe2.php:
|
326 |
msgid ""
|
327 |
"Action performed by LINK in confirmation email<br />(<i>only used in the "
|
328 |
"confirmation email template</i>)"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: subscribe2.php:
|
332 |
msgid "Subscribe / Unsubscribe confirmation email"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: subscribe2.php:
|
336 |
msgid "Reminder email to Unconfirmed Subscribers"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: subscribe2.php:
|
340 |
msgid "Excluded Categories"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: subscribe2.php:
|
344 |
msgid ""
|
345 |
"Posts assigned to any Excluded Category do not generate notifications and "
|
346 |
"are not included in digest notifications"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: subscribe2.php:
|
350 |
msgid "Allow registered users to subscribe to excluded categories?"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: subscribe2.php:
|
354 |
msgid "Writing Options"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: subscribe2.php:
|
358 |
msgid "Show the Subscribe2 button on the Write toolbar?"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: subscribe2.php:
|
362 |
msgid "Enable Subscribe2 Widget?"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: subscribe2.php:
|
366 |
msgid "Auto Subscribe"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: subscribe2.php:
|
370 |
msgid "Subscribe new users registering with your blog"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: subscribe2.php:
|
374 |
msgid "Automatically"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: subscribe2.php:
|
378 |
msgid "Display option on Registration Form"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: subscribe2.php:
|
382 |
msgid "Registration Form option is checked by default"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: subscribe2.php:
|
386 |
msgid "Auto-subscribe users to receive email as"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: subscribe2.php:
|
390 |
msgid "HTML"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: subscribe2.php:
|
394 |
msgid "Plain Text - Full"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: subscribe2.php:
|
398 |
msgid "Plain Text - Excerpt"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: subscribe2.php:
|
402 |
msgid "Auto Subscribe me to new categories is checked by default"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: subscribe2.php:
|
406 |
msgid "Barred Domains"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: subscribe2.php:
|
410 |
msgid ""
|
411 |
"Enter domains to bar from public subscriptions: <br /> (Use a new line for "
|
412 |
"each entry and omit the \"@\" symbol, for example email.com)"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: subscribe2.php:
|
416 |
msgid "Reset Default"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: subscribe2.php:
|
420 |
msgid ""
|
421 |
"Use this to reset all options to their defaults. This <strong><em>will not</"
|
422 |
"em></strong> modify your list of subscribers."
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: subscribe2.php:
|
426 |
msgid "RESET"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: subscribe2.php:
|
430 |
msgid "Subscription preferences updated."
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: subscribe2.php:
|
434 |
msgid "Notification Settings"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: subscribe2.php:
|
438 |
msgid "Receive email as"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: subscribe2.php:
|
442 |
msgid "Plain Text"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: subscribe2.php:
|
446 |
msgid "Email contains"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: subscribe2.php:
|
450 |
msgid "Excerpt Only"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: subscribe2.php:
|
454 |
msgid "Full Post"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: subscribe2.php:
|
458 |
msgid "Note: HTML format will always deliver the full post"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: subscribe2.php:
|
462 |
msgid "Automatically subscribe me to newly created categories"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: subscribe2.php:
|
466 |
msgid "Subscribed Categories"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: subscribe2.php:
|
470 |
msgid "Receive daily summary of new posts?"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: subscribe2.php:
|
474 |
msgid "Update Preferences"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: subscribe2.php:
|
478 |
msgid "Send email to all subscribers"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: subscribe2.php:
|
482 |
msgid "Subject"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: subscribe2.php:
|
486 |
msgid "A message from "
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: subscribe2.php:
|
490 |
msgid "Recipients: "
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: subscribe2.php:
|
494 |
-
msgid "Select / Unselect All"
|
495 |
-
msgstr ""
|
496 |
-
|
497 |
-
#: subscribe2.php:1910
|
498 |
msgid "All Subscribers"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: subscribe2.php:
|
502 |
msgid "Public Subscribers"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: subscribe2.php:
|
506 |
msgid "Confirmed"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: subscribe2.php:
|
510 |
msgid "Unconfirmed"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: subscribe2.php:
|
514 |
msgid "Registered Users"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: subscribe2.php:
|
518 |
msgid "Per Post Email"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: subscribe2.php:
|
522 |
msgid "Send Digest Notification at"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: subscribe2.php:
|
526 |
msgid ""
|
527 |
"This option will work for digest notification sent daily or less frequently"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: subscribe2.php:
|
531 |
-
msgid "Reset the schedule time and date for periodic email notifications"
|
532 |
-
msgstr ""
|
533 |
-
|
534 |
-
#: subscribe2.php:2012
|
535 |
msgid "Current UTC time is"
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: subscribe2.php:
|
539 |
msgid "Current blog time is"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: subscribe2.php:
|
543 |
msgid "Next email notification will be sent when your blog time is after"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: subscribe2.php:
|
547 |
msgid "Check here to Subscribe to email notifications for new posts"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: subscribe2.php:
|
551 |
msgid ""
|
552 |
"By Registering with this blog you are also agreeing to recieve email "
|
553 |
"notifications for new posts"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: subscribe2.php:
|
557 |
msgid "Subscription Confirmation"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: subscribe2.php:
|
561 |
msgid "Title:"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: subscribe2.php:
|
|
|
|
|
|
|
|
|
565 |
msgid "Digest Email"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: include/options.php:
|
569 |
msgid ""
|
570 |
"BLOGNAME has posted a new item, 'TITLE'\n"
|
571 |
"\n"
|
@@ -581,7 +630,7 @@ msgid ""
|
|
581 |
"EMAIL"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: include/options.php:
|
585 |
msgid ""
|
586 |
"BLOGNAME has received a request to ACTION for this email address. To "
|
587 |
"complete your request please click on the link below:\n"
|
@@ -594,7 +643,7 @@ msgid ""
|
|
594 |
"MYNAME."
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: include/options.php:
|
598 |
msgid ""
|
599 |
"This email address was subscribed for notifications at BLOGNAME (BLOGLINK) "
|
600 |
"but the subscription remains incomplete.\n"
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2008-08-17 19:40+0100\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16 |
"Content-Type: text/plain; charset=CHARSET\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
+
#: subscribe2.php:55
|
20 |
msgid "To manage your subscription options please "
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: subscribe2.php:55
|
24 |
msgid "login"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: subscribe2.php:57 subscribe2.php:59
|
28 |
msgid "You may manage your subscription options from your "
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: subscribe2.php:57 subscribe2.php:59
|
32 |
msgid "profile"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: subscribe2.php:61
|
36 |
msgid "A confirmation message is on its way!"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: subscribe2.php:63
|
40 |
msgid "That email address is already subscribed."
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: subscribe2.php:65
|
44 |
msgid "That email address is not subscribed."
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: subscribe2.php:67
|
48 |
msgid "Sorry, but that does not look like an email address to me."
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: subscribe2.php:69
|
52 |
msgid ""
|
53 |
"Sorry, email addresses at that domain are currently barred due to spam, "
|
54 |
"please use an alternative email address."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: subscribe2.php:71
|
58 |
msgid ""
|
59 |
"Sorry, there seems to be an error on the server. Please try again later."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: subscribe2.php:73
|
63 |
msgid "Message sent!"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: subscribe2.php:75
|
67 |
+
msgid ""
|
68 |
+
"Message failed! Check your settings and check with your hosting provider"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: subscribe2.php:77
|
72 |
msgid "Your email:"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: subscribe2.php:77 subscribe2.php:1260 subscribe2.php:1351
|
76 |
msgid "Subscribe"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: subscribe2.php:77 subscribe2.php:1352
|
80 |
msgid "Unsubscribe"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: subscribe2.php:77 subscribe2.php:1875
|
84 |
msgid "Send"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: subscribe2.php:80
|
88 |
msgid "No such email address is registered."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: subscribe2.php:82
|
92 |
msgid "You have successfully subscribed!"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: subscribe2.php:84
|
96 |
msgid "You have successfully unsubscribed."
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: subscribe2.php:86
|
100 |
msgid "Please confirm your request"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: subscribe2.php:88
|
104 |
msgid "Subscription Reminder"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: subscribe2.php:90
|
108 |
msgid "subscribe"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: subscribe2.php:92
|
112 |
msgid "unsubscribe"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: subscribe2.php:95
|
116 |
msgid "Options saved!"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: subscribe2.php:96
|
120 |
msgid "Options reset!"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: subscribe2.php:104 subscribe2.php:1263
|
124 |
msgid "Subscribers"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: subscribe2.php:107
|
128 |
msgid "Subscribe2 Options"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: subscribe2.php:107 subscribe2.php:2216 subscribe2.php:2285
|
132 |
msgid "Subscribe2"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: subscribe2.php:112
|
136 |
+
msgid "Your Subscriptions"
|
137 |
msgstr ""
|
138 |
|
139 |
#: subscribe2.php:115
|
140 |
msgid "Mail Subscribers"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: subscribe2.php:132
|
144 |
msgid "Once Weekly"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: subscribe2.php:709
|
148 |
msgid "New subscriber"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: subscribe2.php:710
|
152 |
msgid "subscribed to email notifications!"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: subscribe2.php:1091
|
156 |
msgid "Address(es) subscribed!"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: subscribe2.php:1097
|
160 |
+
msgid "Address(es) deleted!"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: subscribe2.php:1102 subscribe2.php:1107
|
164 |
+
msgid "Status changed!"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: subscribe2.php:1120
|
168 |
msgid "Reminder Email(s) Sent!"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: subscribe2.php:1123
|
172 |
msgid "Registered Users Subscribed!"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: subscribe2.php:1126
|
176 |
msgid "Registered Users Unsubscribed!"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: subscribe2.php:1222
|
180 |
msgid "Previous Page"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: subscribe2.php:1242
|
184 |
msgid "Next Page"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: subscribe2.php:1253
|
188 |
msgid "Subscribe Addresses"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: subscribe2.php:1257
|
192 |
+
msgid "Enter addresses, one per line or comma-separated"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: subscribe2.php:1265
|
196 |
msgid "Filter"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: subscribe2.php:1269
|
200 |
msgid ""
|
201 |
"Registered on the left, confirmed in the middle, unconfirmed on the right"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: subscribe2.php:1273
|
205 |
+
msgid "Search Subscribers"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: subscribe2.php:1275
|
209 |
msgid "Save Emails to CSV File"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: subscribe2.php:1277 subscribe2.php:1336
|
213 |
+
msgid "Process"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: subscribe2.php:1288 subscribe2.php:1315
|
217 |
+
msgid "Confirm this email address"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: subscribe2.php:1290 subscribe2.php:1313
|
221 |
+
msgid "Unconfirm this email address"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: subscribe2.php:1292 subscribe2.php:1320
|
225 |
+
msgid "Delete this email address"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: subscribe2.php:1293 subscribe2.php:1934
|
229 |
+
msgid "Select / Unselect All"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: subscribe2.php:1328
|
233 |
+
msgid "No matching subscribers found"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: subscribe2.php:1330
|
237 |
msgid "NONE"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: subscribe2.php:1341
|
241 |
msgid "Send Reminder Email"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: subscribe2.php:1345
|
245 |
msgid "Categories"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: subscribe2.php:1347
|
249 |
msgid ""
|
250 |
"Existing Registered Users can be automatically (un)subscribed to categories "
|
251 |
"using this section."
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: subscribe2.php:1348
|
255 |
msgid "Consider User Privacy as changes cannot be undone"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: subscribe2.php:1350
|
259 |
msgid "Action to perform"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: subscribe2.php:1355 subscribe2.php:1658
|
263 |
msgid "Submit"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: subscribe2.php:1463
|
267 |
msgid "Delivery Options"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: subscribe2.php:1468
|
271 |
+
msgid "Restrict the number of recpients per email to (0 for unlimited)"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: subscribe2.php:1470 subscribe2.php:1478
|
275 |
+
msgid "Edit"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: subscribe2.php:1473 subscribe2.php:1481
|
279 |
+
msgid "Update"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: subscribe2.php:1474 subscribe2.php:1482
|
283 |
+
msgid "Revert"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: subscribe2.php:1476
|
287 |
+
msgid "Set default Subscribe2 page as ID"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: subscribe2.php:1484
|
291 |
msgid "Send Emails for Pages"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: subscribe2.php:1489 subscribe2.php:1500 subscribe2.php:1511
|
295 |
+
#: subscribe2.php:1615 subscribe2.php:1642 subscribe2.php:1786
|
296 |
+
#: subscribe2.php:1806
|
297 |
msgid "Yes"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: subscribe2.php:1494 subscribe2.php:1505 subscribe2.php:1516
|
301 |
+
#: subscribe2.php:1609 subscribe2.php:1620 subscribe2.php:1647
|
302 |
+
#: subscribe2.php:1791 subscribe2.php:1810
|
303 |
msgid "No"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: subscribe2.php:1495
|
307 |
msgid "Send Emails for Password Protected Posts"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: subscribe2.php:1506
|
311 |
msgid "Send Emails for Private Posts"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: subscribe2.php:1517
|
315 |
msgid "Send Email From"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: subscribe2.php:1522
|
319 |
msgid "Author of the post"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: subscribe2.php:1527
|
323 |
msgid "Blog Admin"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: subscribe2.php:1529
|
327 |
msgid "Send Email as Digest"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: subscribe2.php:1533
|
331 |
msgid "Email Templates"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: subscribe2.php:1537
|
335 |
msgid "New Post email (must not be empty)"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: subscribe2.php:1541
|
339 |
msgid "Message substitions"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: subscribe2.php:1545
|
343 |
msgid "the post's title<br />(<i>for per-post emails only</i>)"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: subscribe2.php:1546
|
347 |
msgid ""
|
348 |
"the excerpt or the entire post<br />(<i>based on the subscriber's "
|
349 |
"preferences</i>)"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: subscribe2.php:1547
|
353 |
msgid "a list of post titles<br />(<i>for digest emails only</i>)"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: subscribe2.php:1548
|
357 |
msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: subscribe2.php:1549
|
361 |
msgid "the admin or post author's name"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: subscribe2.php:1550
|
365 |
msgid "the admin or post author's email"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: subscribe2.php:1551
|
369 |
msgid "the post author's name"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: subscribe2.php:1552
|
373 |
msgid ""
|
374 |
"the generated link to confirm a request<br />(<i>only used in the "
|
375 |
"confirmation email template</i>)"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: subscribe2.php:1553
|
379 |
msgid ""
|
380 |
"Action performed by LINK in confirmation email<br />(<i>only used in the "
|
381 |
"confirmation email template</i>)"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: subscribe2.php:1555
|
385 |
msgid "Subscribe / Unsubscribe confirmation email"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: subscribe2.php:1558
|
389 |
msgid "Reminder email to Unconfirmed Subscribers"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: subscribe2.php:1563
|
393 |
msgid "Excluded Categories"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: subscribe2.php:1565
|
397 |
msgid ""
|
398 |
"Posts assigned to any Excluded Category do not generate notifications and "
|
399 |
"are not included in digest notifications"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: subscribe2.php:1572
|
403 |
msgid "Allow registered users to subscribe to excluded categories?"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: subscribe2.php:1575
|
407 |
msgid "Writing Options"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: subscribe2.php:1581
|
411 |
msgid "Show the Subscribe2 button on the Write toolbar?"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: subscribe2.php:1588
|
415 |
msgid "Enable Subscribe2 Widget?"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: subscribe2.php:1592
|
419 |
msgid "Auto Subscribe"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: subscribe2.php:1594
|
423 |
msgid "Subscribe new users registering with your blog"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: subscribe2.php:1599
|
427 |
msgid "Automatically"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: subscribe2.php:1604
|
431 |
msgid "Display option on Registration Form"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: subscribe2.php:1610
|
435 |
msgid "Registration Form option is checked by default"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: subscribe2.php:1621
|
439 |
msgid "Auto-subscribe users to receive email as"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: subscribe2.php:1626 subscribe2.php:1764
|
443 |
msgid "HTML"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: subscribe2.php:1631
|
447 |
msgid "Plain Text - Full"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: subscribe2.php:1636
|
451 |
msgid "Plain Text - Excerpt"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: subscribe2.php:1637
|
455 |
msgid "Auto Subscribe me to new categories is checked by default"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: subscribe2.php:1651
|
459 |
msgid "Barred Domains"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: subscribe2.php:1653
|
463 |
msgid ""
|
464 |
"Enter domains to bar from public subscriptions: <br /> (Use a new line for "
|
465 |
"each entry and omit the \"@\" symbol, for example email.com)"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: subscribe2.php:1661
|
469 |
msgid "Reset Default"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: subscribe2.php:1662
|
473 |
msgid ""
|
474 |
"Use this to reset all options to their defaults. This <strong><em>will not</"
|
475 |
"em></strong> modify your list of subscribers."
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: subscribe2.php:1664
|
479 |
msgid "RESET"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: subscribe2.php:1690
|
483 |
msgid "Subscription preferences updated."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: subscribe2.php:1751
|
487 |
msgid "Notification Settings"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: subscribe2.php:1759
|
491 |
msgid "Receive email as"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: subscribe2.php:1769
|
495 |
msgid "Plain Text"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: subscribe2.php:1771
|
499 |
msgid "Email contains"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: subscribe2.php:1772
|
503 |
msgid "Excerpt Only"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: subscribe2.php:1772
|
507 |
msgid "Full Post"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: subscribe2.php:1780
|
511 |
msgid "Note: HTML format will always deliver the full post"
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: subscribe2.php:1781
|
515 |
msgid "Automatically subscribe me to newly created categories"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: subscribe2.php:1795
|
519 |
msgid "Subscribed Categories"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: subscribe2.php:1800
|
523 |
msgid "Receive daily summary of new posts?"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: subscribe2.php:1816
|
527 |
msgid "Update Preferences"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: subscribe2.php:1862
|
531 |
msgid "Send email to all subscribers"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: subscribe2.php:1868
|
535 |
msgid "Subject"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: subscribe2.php:1868
|
539 |
msgid "A message from "
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: subscribe2.php:1871
|
543 |
msgid "Recipients: "
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: subscribe2.php:1952
|
|
|
|
|
|
|
|
|
547 |
msgid "All Subscribers"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: subscribe2.php:1953
|
551 |
msgid "Public Subscribers"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: subscribe2.php:1954
|
555 |
msgid "Confirmed"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: subscribe2.php:1955
|
559 |
msgid "Unconfirmed"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: subscribe2.php:1956
|
563 |
msgid "Registered Users"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: subscribe2.php:2020
|
567 |
msgid "Per Post Email"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: subscribe2.php:2035
|
571 |
msgid "Send Digest Notification at"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: subscribe2.php:2047
|
575 |
msgid ""
|
576 |
"This option will work for digest notification sent daily or less frequently"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: subscribe2.php:2050
|
|
|
|
|
|
|
|
|
580 |
msgid "Current UTC time is"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: subscribe2.php:2052
|
584 |
msgid "Current blog time is"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: subscribe2.php:2054
|
588 |
msgid "Next email notification will be sent when your blog time is after"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: subscribe2.php:2067
|
592 |
msgid "Check here to Subscribe to email notifications for new posts"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: subscribe2.php:2076
|
596 |
msgid ""
|
597 |
"By Registering with this blog you are also agreeing to recieve email "
|
598 |
"notifications for new posts"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: subscribe2.php:2202
|
602 |
msgid "Subscription Confirmation"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: subscribe2.php:2239
|
606 |
msgid "Title:"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: subscribe2.php:2259
|
610 |
+
msgid "Settings"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: subscribe2.php:2437
|
614 |
msgid "Digest Email"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: include/options.php:71
|
618 |
msgid ""
|
619 |
"BLOGNAME has posted a new item, 'TITLE'\n"
|
620 |
"\n"
|
630 |
"EMAIL"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: include/options.php:75
|
634 |
msgid ""
|
635 |
"BLOGNAME has received a request to ACTION for this email address. To "
|
636 |
"complete your request please click on the link below:\n"
|
643 |
"MYNAME."
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: include/options.php:79
|
647 |
msgid ""
|
648 |
"This email address was subscribed for notifications at BLOGNAME (BLOGLINK) "
|
649 |
"but the subscription remains incomplete.\n"
|
subscribe2debug.php
CHANGED
@@ -3,28 +3,30 @@
|
|
3 |
Plugin Name: Subscribe2 Debug
|
4 |
Plugin URI: http://subscribe2.wordpress.com
|
5 |
Description: Produces Debug Information for the Subscribe2 plugin.
|
6 |
-
Version: 4.
|
7 |
Author: Matthew Robinson
|
8 |
Author URI: http://subscribe2.wordpress.com
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
-
Copyright (C) 2006-
|
|
|
|
|
13 |
|
14 |
-
This
|
15 |
-
modify it under the terms of the GNU General Public License
|
16 |
-
as published by the Free Software Foundation; either version 2
|
17 |
-
of the License, or (at your option) any later version.
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
20 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 |
GNU General Public License for more details.
|
23 |
|
24 |
You should have received a copy of the GNU General Public License
|
25 |
-
along with
|
26 |
-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
27 |
-
http://www.gnu.org/licenses/gpl.html
|
28 |
*/
|
29 |
|
30 |
function add_debug_page() {
|
3 |
Plugin Name: Subscribe2 Debug
|
4 |
Plugin URI: http://subscribe2.wordpress.com
|
5 |
Description: Produces Debug Information for the Subscribe2 plugin.
|
6 |
+
Version: 4.9
|
7 |
Author: Matthew Robinson
|
8 |
Author URI: http://subscribe2.wordpress.com
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
+
Copyright (C) 2006-8 Matthew Robinson
|
13 |
+
Based on the Original Subscribe2 plugin by
|
14 |
+
Copyright (C) 2005 Scott Merrill (skippy@skippy.net)
|
15 |
|
16 |
+
This file is part of Subscribe2.
|
|
|
|
|
|
|
17 |
|
18 |
+
Subscribe2 is free software: you can redistribute it and/or modify
|
19 |
+
it under the terms of the GNU General Public License as published by
|
20 |
+
the Free Software Foundation, either version 3 of the License, or
|
21 |
+
(at your option) any later version.
|
22 |
+
|
23 |
+
Subscribe2 is distributed in the hope that it will be useful,
|
24 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
25 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
26 |
GNU General Public License for more details.
|
27 |
|
28 |
You should have received a copy of the GNU General Public License
|
29 |
+
along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
30 |
*/
|
31 |
|
32 |
function add_debug_page() {
|
subscribe2uninstaller.php
CHANGED
@@ -3,28 +3,30 @@
|
|
3 |
Plugin Name: Subscribe2 Uninstaller
|
4 |
Plugin URI: http://subscribe2.wordpress.com
|
5 |
Description: Uninstalls the Subscribe2 plugin from Manage->S2 Uninstaller.
|
6 |
-
Version: 4.
|
7 |
Author: Matthew Robinson
|
8 |
Author URI: http://subscribe2.wordpress.com
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
-
Copyright (C) 2006-
|
|
|
|
|
13 |
|
14 |
-
This
|
15 |
-
modify it under the terms of the GNU General Public License
|
16 |
-
as published by the Free Software Foundation; either version 2
|
17 |
-
of the License, or (at your option) any later version.
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
20 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 |
GNU General Public License for more details.
|
23 |
|
24 |
You should have received a copy of the GNU General Public License
|
25 |
-
along with
|
26 |
-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
27 |
-
http://www.gnu.org/licenses/gpl.html
|
28 |
*/
|
29 |
|
30 |
$mys2uninst = new s2uninst;
|
3 |
Plugin Name: Subscribe2 Uninstaller
|
4 |
Plugin URI: http://subscribe2.wordpress.com
|
5 |
Description: Uninstalls the Subscribe2 plugin from Manage->S2 Uninstaller.
|
6 |
+
Version: 4.9
|
7 |
Author: Matthew Robinson
|
8 |
Author URI: http://subscribe2.wordpress.com
|
9 |
*/
|
10 |
|
11 |
/*
|
12 |
+
Copyright (C) 2006-8 Matthew Robinson
|
13 |
+
Based on the Original Subscribe2 plugin by
|
14 |
+
Copyright (C) 2005 Scott Merrill (skippy@skippy.net)
|
15 |
|
16 |
+
This file is part of Subscribe2.
|
|
|
|
|
|
|
17 |
|
18 |
+
Subscribe2 is free software: you can redistribute it and/or modify
|
19 |
+
it under the terms of the GNU General Public License as published by
|
20 |
+
the Free Software Foundation, either version 3 of the License, or
|
21 |
+
(at your option) any later version.
|
22 |
+
|
23 |
+
Subscribe2 is distributed in the hope that it will be useful,
|
24 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
25 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
26 |
GNU General Public License for more details.
|
27 |
|
28 |
You should have received a copy of the GNU General Public License
|
29 |
+
along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
30 |
*/
|
31 |
|
32 |
$mys2uninst = new s2uninst;
|