Subscribe To Comments Reloaded - Version 1.2

Version Description

  • Since a lot of people have asked me to avoid the creation of a new page, I've implemented a new solution to satisfy their request. If you were using an earlier version, you must delete the page it had created, it's not needed anymore
  • You can now customize more strings and messages
  • Fully compatible with Fluency Admin (thank you voyagerfan5761)
  • Added a new option to choose if users should be notified for pingbacks/trackbacks
Download this release

Release Info

Developer coolmann
Plugin Icon 128x128 Subscribe To Comments Reloaded
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

langs/subscribe-reloaded-it_IT.mo CHANGED
Binary file
langs/subscribe-reloaded-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Slim Stat 2.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2010-10-25 14:44-0500\n"
6
- "PO-Revision-Date: 2010-10-25 14:50-0500\n"
7
  "Last-Translator: Camu <info@duechiacchiere.it>\n"
8
  "Language-Team: due chiacchiere <info@duechiacchiere.it>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,238 +16,44 @@ msgstr ""
16
  "Plural-Forms: s\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: options.php:46
20
- #: options.php:106
21
- #: options/panel2.php:11
22
- #: options/panel2.php:56
23
- msgid "Management Page ID"
24
- msgstr "ID Pagina di gestione"
25
-
26
- #: options.php:47
27
- #: options.php:114
28
- #: options/panel2.php:12
29
- #: options/panel2.php:64
30
- msgid "Autopurge requests"
31
- msgstr "Pulizia DB"
32
-
33
- #: options.php:48
34
- #: options.php:122
35
- #: options/panel2.php:13
36
- #: options/panel2.php:72
37
- msgid "Sender name"
38
- msgstr "Nome del mittente"
39
-
40
- #: options.php:49
41
- #: options.php:130
42
- #: options/panel2.php:14
43
- #: options/panel2.php:80
44
- msgid "Sender email address"
45
- msgstr "Indirizzo email mittente"
46
-
47
- #: options.php:50
48
- #: options.php:138
49
- #: options/panel2.php:19
50
- #: options/panel3.php:26
51
- msgid "Notification subject"
52
- msgstr "Oggetto della notifica"
53
-
54
- #: options.php:51
55
- #: options.php:146
56
- #: options/panel2.php:20
57
- #: options/panel3.php:34
58
- msgid "Notification message"
59
- msgstr "Contenuto della notifica"
60
-
61
- #: options.php:52
62
- #: options.php:154
63
- #: options/panel2.php:21
64
- #: options/panel3.php:42
65
- msgid "Checkbox label"
66
- msgstr "Descrizione del checkbox"
67
-
68
- #: options.php:53
69
- #: options.php:162
70
- #: options/panel2.php:15
71
- #: options/panel2.php:88
72
- msgid "Checked by default"
73
- msgstr "Spuntato per default"
74
-
75
- #: options.php:54
76
- #: options.php:173
77
- #: options/panel2.php:22
78
- #: options/panel3.php:50
79
- msgid "Subscribed label"
80
- msgstr "Descrizione per gli iscritti"
81
-
82
- #: options.php:55
83
- #: options.php:181
84
- #: options/panel2.php:23
85
- #: options/panel3.php:58
86
- msgid "Awaiting label"
87
- msgstr "Notifiche in attesa"
88
-
89
- #: options.php:56
90
- #: options.php:189
91
- #: options/panel2.php:24
92
- #: options/panel3.php:66
93
- msgid "Author label"
94
- msgstr "Descrizione per l'autore"
95
-
96
- #: options.php:57
97
- #: options.php:197
98
- #: options/panel2.php:16
99
- #: options/panel2.php:99
100
- msgid "Enable double check"
101
- msgstr "Attiva doppia conferma"
102
-
103
- #: options.php:58
104
- #: options.php:208
105
- #: options/panel2.php:25
106
- #: options/panel3.php:74
107
- msgid "Double check subject"
108
- msgstr "Oggetto doppia conferma"
109
-
110
- #: options.php:59
111
- #: options.php:216
112
- #: options/panel2.php:26
113
- #: options/panel3.php:82
114
- msgid "Double check message"
115
- msgstr "Contenuto doppia conferma"
116
-
117
- #: options.php:60
118
- #: options.php:224
119
- #: options/panel2.php:27
120
- #: options/panel3.php:90
121
- msgid "Management subject"
122
- msgstr "Oggetto email di gestione"
123
-
124
- #: options.php:61
125
- #: options.php:232
126
- #: options/panel2.php:28
127
- #: options/panel3.php:98
128
- msgid "Management message"
129
- msgstr "Contenuto email di gestione"
130
-
131
- #: options.php:67
132
- #: options/panel2.php:33
133
- msgid "Your settings have been successfully updated."
134
- msgstr "La configurazione &egrave; stata aggiornata con successo."
135
-
136
- #: options.php:74
137
- #: options/panel2.php:36
138
- msgid "There was an error updating the following fields:"
139
- msgstr "Si &egrave; verificato un errore nell'aggiornamento dei seguenti campi:"
140
-
141
- #: options.php:101
142
- msgid "Subscribe to Comments"
143
- msgstr "Sottoscrivi i commenti"
144
-
145
- #: options.php:110
146
- #: options/panel2.php:60
147
- msgid "The ID (<strong>not the permalink!</strong>) of the management page you created."
148
- msgstr "L'ID (<strong>non il permalink!</strong>) della pagina di gestione che hai creato."
149
-
150
- #: options.php:118
151
- #: options/panel2.php:68
152
- msgid "Delete pending subscriptions (not confirmed) after X days. Zero disables this feature."
153
- msgstr "Cancella le iscrizioni non confermate dopo X giorni. Zero disabilita la funzione."
154
-
155
- #: options.php:126
156
- #: options/panel2.php:76
157
- msgid "Name to use for the \"from\" field when sending a new notification to the user."
158
- msgstr "Nome da usare nel campo From quando il sistema invia una notifica all'utente."
159
-
160
- #: options.php:134
161
- #: options/panel2.php:84
162
- msgid "Email address to use for the \"from\" field when sending a new notification to the user."
163
- msgstr "Indirizzo email da usare nel campo From."
164
-
165
- #: options.php:142
166
- #: options/panel3.php:30
167
- msgid "Subject of the notification email. Allowed tag: [post_title]"
168
- msgstr "Oggetto dell'email di notifica. Tag consentito: [post_title]"
169
-
170
- #: options.php:150
171
- #: options/panel3.php:38
172
- msgid "Content of the notification email. Allowed tags: [post_title], [comment_permalink], [comment_author], [comment_content], [post_permalink], [manager_link]"
173
- msgstr "Contenuto del messaggio di notifica. Tag consentiti: [post_title], [comment_permalink], [comment_author], [comment_content], [post_permalink], [manager_link]"
174
-
175
- #: options.php:158
176
- #: options/panel3.php:46
177
- msgid "Text to show next to the checkbox added to the comment form. Allowed tag: [subscribe_link]"
178
- msgstr "Testo da mostrare accanto al checkbox mostrato nel modulo del commento. Tag consentito: [subscribe_link]"
179
-
180
- #: options.php:164
181
- #: options.php:199
182
- #: options/panel2.php:90
183
- #: options/panel2.php:101
184
- #: options/panel2.php:112
185
- msgid "Yes"
186
- msgstr "Si"
187
-
188
- #: options.php:165
189
- #: options.php:200
190
- #: options/panel2.php:91
191
- #: options/panel2.php:102
192
- #: options/panel2.php:113
193
- msgid "No"
194
- msgstr "No"
195
 
196
- #: options.php:169
197
- msgid "Send a notification email to confirm the subscription (to avoid addresses misuse)"
198
- msgstr "Invia una email per confermare l'iscrizione ad un dato articolo (per evitare l'uso scorretto di indirizzi email di terzi)"
199
 
200
- #: options.php:177
201
- #: options/panel3.php:54
202
- msgid "Text to show to those users who are already subscribed. Allowed tag: [manager_link]"
203
- msgstr "Testo da mostrare agli utenti gi&agrave; iscritti ad una discussione. Tag consentito: [manager_link]"
204
 
205
- #: options.php:185
206
- #: options/panel3.php:62
207
- msgid "Text to show to those users who are already subscribed, but haven't clicked on the confirmation link yet. Allowed tag: [manager_link]"
208
- msgstr "Testo da mostrare agli utenti gi&agrave; iscritti ad una discussione, ma che non hanno ancora cliccato sul link di conferma. Tag consentito: [manager_link]"
209
 
210
- #: options.php:193
211
- #: options/panel3.php:70
212
- msgid "Text to show to the author, to manage subscriptions to a given post. Allowed tag: [manager_link]"
213
- msgstr "Testo da mostrare agli utenti gi&agrave; iscritti ad una discussione. Tag consentito: [manager_link]"
214
 
215
- #: options.php:204
216
- #: options/panel2.php:106
217
- msgid "Send a notification email to confirm the subscription (to avoid addresses misuse)."
218
- msgstr "Invia una email per confermare l'iscrizione ad un dato articolo (per evitare l'uso scorretto di indirizzi email di terzi)."
219
 
220
- #: options.php:212
221
- #: options/panel3.php:78
222
- msgid "Subject of the confirmation email. Allowed tag: [post_title]"
223
- msgstr "Oggetto dell'email di notifica. Tag consentito: [post_title]"
224
-
225
- #: options.php:220
226
- #: options/panel3.php:86
227
- msgid "Content of the confirmation email. Allowed tags: [post_permalink], [confirm_link], [post_title], [manager_link]"
228
- msgstr "Contenuto dell'email di conferma. Tag consentiti: [post_permalink], [confirm_link], [post_title], [manager_link]"
229
-
230
- #: options.php:228
231
- #: options/panel3.php:94
232
- msgid "Subject of the mail sent to those who request to access their management page. Allowed tag: [blog_name]"
233
- msgstr "Oggetto della mail inviata a coloro che richiedono di poter gestire le proprie sottoscrizioni. Tag consentito: [blog_name]"
234
-
235
- #: options.php:236
236
- #: options/panel3.php:102
237
- msgid "Content of the management email. Allowed tags: [blog_name], [manager_link]"
238
- msgstr "Contenuto dell'email di gestione. Tag consentiti: [blog_name],[manager_link]"
239
 
240
- #: options.php:240
241
- #: options/panel2.php:121
242
- #: options/panel3.php:106
243
- msgid "Save Changes"
244
- msgstr "Salva le opzioni"
245
 
246
- #: subscribe-to-comments-reloaded.php:108
247
  msgid "There is a new comment to [post_title]"
248
  msgstr "Nuovo commento per [post_title]"
249
 
250
- #: subscribe-to-comments-reloaded.php:109
251
  msgid ""
252
  "There is a new comment to [post_title].\n"
253
  "Comment Link: [comment_permalink]\n"
@@ -267,27 +73,27 @@ msgstr ""
267
  "Permalink: [post_permalink]\n"
268
  "Gestisci le tue iscrizioni: [manager_link]"
269
 
270
- #: subscribe-to-comments-reloaded.php:117
271
  msgid "Notify me of followup comments via e-mail. You can also <a href='[subscribe_link]'>subscribe</a> without commenting."
272
  msgstr "Ricevi un avviso se ci sono nuovi commenti. Oppure <a href='[subscribe_link]'>iscriviti</a> senza commentare."
273
 
274
- #: subscribe-to-comments-reloaded.php:118
275
  msgid "You are subscribed to this entry. <a href='[manager_link]'>Manage</a> your subscriptions."
276
  msgstr "Sei gi&agrave; iscritto a quest'articolo. Se vuoi, puoi <a href='[manager_link]'>gestire</a> il tuo profilo."
277
 
278
- #: subscribe-to-comments-reloaded.php:119
279
  msgid "Your subscription to this entry needs to be confirmed. <a href='[manager_link]'>Manage your subscriptions</a>."
280
  msgstr "La tua iscrizione &egrave; in attesa di conferma. Se vuoi, puoi <a href='[manager_link]'>gestire</a> il tuo profilo."
281
 
282
- #: subscribe-to-comments-reloaded.php:120
283
  msgid "You can <a href='[manager_link]'>manage the subscriptions</a> of this entry."
284
  msgstr "Gestisci gli utenti <a href='[manager_link]'>iscritti</a> alla discussione."
285
 
286
- #: subscribe-to-comments-reloaded.php:121
287
  msgid "Please confirm your subscribtion to [post_title]"
288
  msgstr "Conferma la tua iscrizione a [post_title]"
289
 
290
- #: subscribe-to-comments-reloaded.php:122
291
  msgid ""
292
  "You have requested to be notified every time a new comment is added to:\n"
293
  "[post_permalink]\n"
@@ -303,11 +109,11 @@ msgstr ""
303
  "\n"
304
  "Se credi di aver ricevuto questo messaggio per errore, ti preghiamo di rispondere all'email per contattare l'amministratore."
305
 
306
- #: subscribe-to-comments-reloaded.php:129
307
  msgid "Manage your subscriptions on [blog_name]"
308
  msgstr "Gestisci le tue sottoscrizioni su [blog_name]"
309
 
310
- #: subscribe-to-comments-reloaded.php:130
311
  msgid ""
312
  "You have requested to manage your subscriptions to the articles on [blog_name]. Follow this link to access your personal page:\n"
313
  "[manager_link]"
@@ -315,24 +121,23 @@ msgstr ""
315
  "Hai richiesto di poter gestire le tue sottoscrizioni agli articoli su [blog_name]. Clicca sul link qui di seguito per accedere alla tua area riservata:\n"
316
  "[manager_link]"
317
 
318
- #: subscribe-to-comments-reloaded.php:136
319
- #: options/index.php:44
320
- msgid "Manage subscriptions"
321
- msgstr "Gestisci sottoscrizioni"
322
-
323
- #: subscribe-to-comments-reloaded.php:137
324
- msgid "Oops, Huston we have a problem! Please contact the administrator of this blog for further details."
325
- msgstr "Ouch, Huston abbiamo un problema! Per favore contatta l'amministratore di questo blog per maggiori informazioni."
326
-
327
  #: options/index.php:45
328
- msgid "Options"
329
- msgstr "Opzioni"
330
 
331
  #: options/index.php:46
332
- msgid "Messages"
333
- msgstr "Messaggi"
334
 
335
  #: options/index.php:47
 
 
 
 
 
 
 
 
336
  msgid "Support"
337
  msgstr "Supporto"
338
 
@@ -356,8 +161,8 @@ msgstr "Puoi effettuare un aggiornamento globale di tutte le occorrenze nel data
356
 
357
  #: options/panel1.php:56
358
  #: options/panel1.php:96
359
- #: templates/author.php:39
360
- #: templates/user.php:37
361
  msgid "Please remember: this operation cannot be undone. Are you sure you want to proceed?"
362
  msgstr "Ricorda: questa operazione non pu&ograve; essere annullata. Confermi di voler procedere?"
363
 
@@ -374,20 +179,20 @@ msgid "Remove or suspend email address"
374
  msgstr "Rimuovi o sospendi un indirizzo email"
375
 
376
  #: options/panel1.php:65
377
- msgid "Change the status or permanently delete all the subscriptions for a given email address."
378
  msgstr "Cambia lo stato o cancella tutte le sottoscrizioni associate ad un dato indirizzo email."
379
 
380
  #: options/panel1.php:70
381
  #: options/panel1.php:131
382
- #: templates/author.php:59
383
- #: templates/user.php:52
384
  msgid "Suspend"
385
  msgstr "Sospendi"
386
 
387
  #: options/panel1.php:71
388
  #: options/panel1.php:132
389
- #: templates/author.php:60
390
- #: templates/user.php:53
391
  msgid "Resume"
392
  msgstr "Riattiva"
393
 
@@ -429,32 +234,32 @@ msgid "Subscriptions for:"
429
  msgstr "Sottoscrizioni per:"
430
 
431
  #: options/panel1.php:119
432
- #: templates/author.php:46
433
- #: templates/user.php:43
434
  msgid "Legend: Y: subscribed, N: suspended, C: awaiting confirmation"
435
  msgstr "Legenda: Y: iscritto, N: notifiche sospese, C: in attesa di conferma"
436
 
437
  #: options/panel1.php:128
438
- #: templates/author.php:61
439
- #: templates/user.php:54
440
  msgid "Select all"
441
  msgstr "Seleziona tutti"
442
 
443
  #: options/panel1.php:129
444
- #: templates/author.php:62
445
- #: templates/user.php:55
446
  msgid "Invert selection"
447
  msgstr "Inverti la selezione"
448
 
449
  #: options/panel1.php:130
450
- #: templates/author.php:58
451
- #: templates/user.php:51
452
  msgid "Action:"
453
  msgstr "Azione:"
454
 
455
  #: options/panel1.php:133
456
- #: templates/author.php:63
457
- #: templates/user.php:56
458
  msgid "Update subscriptions"
459
  msgstr "Aggiorna sottoscrizioni"
460
 
@@ -462,115 +267,397 @@ msgstr "Aggiorna sottoscrizioni"
462
  msgid "Sorry, no subscriptions found for"
463
  msgstr "Spiacente, nessuna sottoscrizione trovata per"
464
 
465
- #: options/panel2.php:17
466
- #: options/panel2.php:110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
467
  msgid "Notify authors"
468
  msgstr "Notifica autori"
469
 
470
- #: options/panel2.php:95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  msgid "Decide if the checkbox should be checked by default or not."
472
  msgstr "Scegli se il checkbox deve essere preselezionato per default o no."
473
 
474
- #: options/panel2.php:117
 
 
 
 
475
  msgid "Notify authors when a new comment is posted to one of their articles."
476
  msgstr "Invia una notifica anche all'autore dell'articolo."
477
 
478
- #: options/panel4.php:22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
479
  msgid "How valuable is the feature offered by this plugin to your visitors? Subscribe to Comments Reloaded is and will always be free, but consider supporting the author if this plugin made your web site better, especially if you are making money out of it. Any donation received will be reinvested in the development of Subscribe to Comments Reloaded, and to buy some food for my hungry family."
480
  msgstr "Quanto è importante il valore aggiunto offerto dal mio plugin ai tuoi visitatori? Subscribe to Comments Reloaded &egrave; e sar&agrave; sempre gratuito, ma se vuoi puoi supportare l'autore con un piccolo contributo. Specialmente se stai usando questo plugin su un sito commerciale e se ritieni che questo plugin abbia contribuito a rendere il tuo lavoro migliore. Il denaro ricevuto sarà reinvestito nello sviluppo di Subscribe to Comments reloaded (hosting, programmi, ecc) e per comprare un po' di cibo per la mia famiglia affamata."
481
 
482
- #: options/panel4.php:28
483
  msgid "Don't want to donate? You can still help"
484
  msgstr "Non ti va di donare soldi?"
485
 
486
- #: options/panel4.php:29
487
  msgid "If you don't want to donate money, please consider blogging about my plugin with a link to the plugin's page. Please let your readers know what makes your blog better. You can also contribute donating your time: do not hesitate to send me bug reports, your localization files, ideas on how to improve Subscribe to Comments Reloaded and so on. Whatever you do, thanks for using my plugin!"
488
  msgstr "Se non ritieni opportuno donare una cifra in denaro, puoi sempre scrivere un post sul tuo blog che parli di Subscribe to Comments Reloaded, ed aggiungere un link alla pagina sul mio blog. Farai un favore sia ai tuoi visitatori che a me, se deciderai di parlarne. Volendo, puoi anche donare un po' del tuo tempo: mandami un messaggio sul forum se trovi un errore, la localizzazione dell'interfaccia, o semplicemente un'idea per rendere il plugin sempre migliore. Qualsiasi cosa tu decida di fare, grazie per star usando il mio plugin!"
489
 
490
- #: options/panel4.php:31
491
  msgid "Vote and show your appreciation"
492
  msgstr "Vota e condividi"
493
 
494
- #: options/panel4.php:32
495
  msgid "Tell other people if Subscribe to Comments Reloaded works for you and how good it is. <a href=\"http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/\">Rate it</a> on its Plugin Directory page."
496
  msgstr "Fai sapere agli altri se Subscribe to Comments Reloaded funziona bene e quanto ti piace. <a href=\"http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/\">Votalo</a> sulla pagina apposita di Wordpress."
497
 
498
- #: templates/author.php:30
499
- msgid "Subscriptions have been successfully updated. In order to cancel or suspend more notifications, select the corresponding checkbox(es) and click on the button at the end of the list."
500
- msgstr "Le tue sottoscrizioni sono state correttamente aggiornate. Se desideri disdire o sospendere ulteriori notifiche, spunta la casella corrispondente all'articolo e clicca sul pusante in fondo alla lista."
501
-
502
- #: templates/author.php:33
503
- msgid "You can manage the subscriptions to your articles on this page. In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list."
504
- msgstr "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se desideri disdire o sospendere una o pi&ugrave; notifiche, spunta le caselle corrispondenti agli articoli e clicca sul pusante in fondo alla lista."
505
 
506
- #: templates/author.php:44
507
  msgid "Title"
508
  msgstr "Titolo"
509
 
510
- #: templates/author.php:58
511
- #: templates/user.php:51
512
  msgid "Delete"
513
  msgstr "Rimuovi"
514
 
515
- #: templates/author.php:67
516
- #: templates/user.php:60
517
  msgid "Sorry, no subscriptions found."
518
  msgstr "Spiacente, nessuna sottoscrizione trovata."
519
 
520
- #: templates/confirm.php:17
521
- msgid "Your subscription has been successfully confirmed. Thank you for using our notification service. Now you will receive a message every time someone posts a new comment to"
522
- msgstr "La tua iscrizione &egrave; stata confermata con successo. Grazie per aver usato il nostro servizio di notifica. Da ora in poi riceverai un messaggio ogni volta che qualcuno lascia un commento per:"
523
-
524
- #: templates/request-management-link.php:46
525
- #, php-format
526
- msgid "Thank you for using our subscription service. Your request has been completed, and you should receive an email with the management link in a few minutes. In the meanwhile, feel free to go back to <a href='%s'>%s</a>."
527
- msgstr "Grazie per aver usato il servizio di notifica di questo blog. La tua richiesta &egrave; stata completata, e dovresti ricevere una mail fra pochi minuti. Al suo interno troverai il link personalizzato per accedere alla tua area di gestione. Nel frattempo puoi tornare a: <a href='%s'>%s</a>."
528
-
529
- #: templates/request-management-link.php:53
530
- msgid "To manage your subscriptions, please enter your email address here below. We will send you a message containing the link to access your personal management page."
531
- msgstr "Al fine di gestire le tue sottoscrizioni, inserisci il tuo indirizzo email nel campo qui di seguito. Ti sar&agrave; inviato un messaggio contenente il link per accedere alla tua area riservata."
532
-
533
- #: templates/request-management-link.php:56
534
- #: templates/subscribe.php:53
535
  msgid "Email"
536
  msgstr "Email"
537
 
538
- #: templates/request-management-link.php:57
539
- #: templates/subscribe.php:54
540
  msgid "Send"
541
  msgstr "Invia"
542
 
543
- #: templates/subscribe.php:26
544
- #: templates/subscribe.php:27
545
  msgid "New subscription to"
546
  msgstr "Nuova sottoscrizione per"
547
 
548
- #: templates/subscribe.php:27
549
  msgid "User:"
550
  msgstr "Utente:"
551
 
552
- #: templates/subscribe.php:38
553
- #, php-format
554
- msgid "Thank you for using our subscription service. In order to confirm your request, please check your email for the verification message and follow the instructions. In the meanwhile, you can go back to <a href='%s'>%s</a>."
555
- msgstr "Grazie per aver usato il servizio di notifica di questo blog. Al fine di completare la tua richiesta, ti &egrave; stata inviata una email di conferma. Segui le semplici istruzioni per verificare la tua identit&agrave;. Nel frattempo puoi tornare a: <a href='%s'>%s</a>."
 
 
 
 
556
 
557
- #: templates/subscribe.php:42
558
- #, php-format
559
- msgid "Thank you for using our subscription service. Your request has been completed, and you are now subscribed to <a href='%s'>%s</a>. You will receive a notification email every time a new comment to this article is approved and posted by the administrator."
560
- msgstr "Grazie per aver usato il servizio di notifica di questo blog. La tua richiesta &egrave; stata completata, e sei ora iscritto a <a href='%s'>%s</a>. Riceverai una notifica ogni volta che un nuovo commento a quell'articolo viene approvato e pubblicato dall'amministratore del sito."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
561
 
562
- #: templates/subscribe.php:50
563
- #, php-format
564
- msgid "You can follow the discussion on <strong>%s</strong> without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you're all set."
565
- msgstr "Puoi seguire la discussione su <strong>%s</strong> senza dover lasciare un commento. Bello, no? Ti basta inserire il tuo indirizzo email nel campo qui sotto e premere invio, al resto pensa il sistema."
 
 
566
 
567
- #: templates/user.php:28
568
- msgid "Your subscriptions have been successfully updated. In order to cancel or suspend more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. You are currently subscribed to:"
569
- msgstr "Le tue sottoscrizioni sono state correttamente aggiornate. Se desideri disdire o sospendere ulteriori notifiche, spunta la casella corrispondente all'articolo e clicca sul pusante in fondo alla lista. Al momento, risulti iscritto a:"
 
 
 
 
 
 
570
 
571
- #: templates/user.php:31
572
- msgid "You can manage your subscriptions to the article of this blog on this page. In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. You are currently subscribed to:"
573
- msgstr "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se desideri disdire o sospendere una o pi&ugrave; notifiche, spunta le caselle corrispondenti agli articoli e clicca sul pusante in fondo alla lista. Al momento, risulti iscritto a:"
 
 
 
 
 
 
 
574
 
575
  #~ msgid ""
576
  #~ "If you know the ID of a post you want to manage, enter it in the field "
@@ -685,9 +772,6 @@ msgstr "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se
685
  #~ msgid "Is equal to"
686
  #~ msgstr "Uguale a"
687
 
688
- #~ msgid "Starts with"
689
- #~ msgstr "Inizia con"
690
-
691
  #~ msgid "Ends with"
692
  #~ msgstr "Finisce per"
693
 
@@ -740,9 +824,6 @@ msgstr "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se
740
  #~ msgid "this period"
741
  #~ msgstr "periodo"
742
 
743
- #~ msgid "Pageviews"
744
- #~ msgstr "Accessi"
745
-
746
  #~ msgid "Unique IPs"
747
  #~ msgstr "IP unici"
748
 
@@ -888,9 +969,6 @@ msgstr "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se
888
  #~ msgid "Top Keywords"
889
  #~ msgstr "Parole chiave principali"
890
 
891
- #~ msgid "Countries for"
892
- #~ msgstr "Paesi del"
893
-
894
  #~ msgid "Traffic Sources for"
895
  #~ msgstr "Sorgenti di traffico del"
896
 
2
  msgstr ""
3
  "Project-Id-Version: WP Slim Stat 2.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-11-01 14:08-0500\n"
6
+ "PO-Revision-Date: 2010-11-01 14:09-0500\n"
7
  "Last-Translator: Camu <info@duechiacchiere.it>\n"
8
  "Language-Team: due chiacchiere <info@duechiacchiere.it>\n"
9
  "MIME-Version: 1.0\n"
16
  "Plural-Forms: s\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: subscribe-to-comments-reloaded.php:102
20
+ #: options/index.php:44
21
+ msgid "Manage subscriptions"
22
+ msgstr "Gestisci sottoscrizioni"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
+ #: subscribe-to-comments-reloaded.php:103
25
+ msgid "To manage your subscriptions, please enter your email address here below. We will send you a message containing the link to access your personal management page."
26
+ msgstr "Al fine di gestire le tue sottoscrizioni, inserisci il tuo indirizzo email nel campo qui di seguito. Ti sar&agrave; inviato un messaggio contenente il link per accedere alla tua area riservata."
27
 
28
+ #: subscribe-to-comments-reloaded.php:104
29
+ msgid "Thank you for using our subscription service. Your request has been completed, and you should receive an email with the management link in a few minutes."
30
+ msgstr "Grazie per aver usato il servizio di notifica di questo blog. La tua richiesta &egrave; stata completata, e dovresti ricevere una mail fra pochi minuti. Al suo interno troverai il link personalizzato per accedere alla tua area di gestione."
 
31
 
32
+ #: subscribe-to-comments-reloaded.php:105
33
+ msgid "You can follow the discussion on <strong>[post_title]</strong> without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you're all set."
34
+ msgstr "Puoi seguire la discussione su <strong>[post_title]</strong> senza dover lasciare un commento. Bello, no? Ti basta inserire il tuo indirizzo email nel campo qui sotto e premere invio, al resto pensa il sistema."
 
35
 
36
+ #: subscribe-to-comments-reloaded.php:106
37
+ msgid "Thank you for using our subscription service. Your request has been completed. You will receive a notification email every time a new comment to this article is approved and posted by the administrator."
38
+ msgstr "Grazie per aver usato il servizio di notifica di questo blog. La tua richiesta &egrave; stata completata. Riceverai una notifica ogni volta che un nuovo commento a quell'articolo viene approvato e pubblicato dall'amministratore del sito."
 
39
 
40
+ #: subscribe-to-comments-reloaded.php:107
41
+ msgid "Thank you for using our subscription service. In order to confirm your request, please check your email for the verification message and follow the instructions."
42
+ msgstr "Grazie per aver usato il servizio di notifica di questo blog. Al fine di completare la tua richiesta, ti &egrave; stata inviata una email di conferma. Segui le semplici istruzioni per verificare la tua identit&agrave;."
 
43
 
44
+ #: subscribe-to-comments-reloaded.php:108
45
+ msgid "In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list."
46
+ msgstr "Se desideri disdire o sospendere le tue notifiche, spunta la casella corrispondente all'articolo e clicca sul pusante in fondo alla lista."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
+ #: subscribe-to-comments-reloaded.php:109
49
+ msgid "In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. You are currently subscribed to:"
50
+ msgstr "Se desideri disdire o sospendere le tue notifiche, spunta la casella corrispondente all'articolo e clicca sul pusante in fondo alla lista. Al momento, risulti iscritto a:"
 
 
51
 
52
+ #: subscribe-to-comments-reloaded.php:121
53
  msgid "There is a new comment to [post_title]"
54
  msgstr "Nuovo commento per [post_title]"
55
 
56
+ #: subscribe-to-comments-reloaded.php:122
57
  msgid ""
58
  "There is a new comment to [post_title].\n"
59
  "Comment Link: [comment_permalink]\n"
73
  "Permalink: [post_permalink]\n"
74
  "Gestisci le tue iscrizioni: [manager_link]"
75
 
76
+ #: subscribe-to-comments-reloaded.php:130
77
  msgid "Notify me of followup comments via e-mail. You can also <a href='[subscribe_link]'>subscribe</a> without commenting."
78
  msgstr "Ricevi un avviso se ci sono nuovi commenti. Oppure <a href='[subscribe_link]'>iscriviti</a> senza commentare."
79
 
80
+ #: subscribe-to-comments-reloaded.php:131
81
  msgid "You are subscribed to this entry. <a href='[manager_link]'>Manage</a> your subscriptions."
82
  msgstr "Sei gi&agrave; iscritto a quest'articolo. Se vuoi, puoi <a href='[manager_link]'>gestire</a> il tuo profilo."
83
 
84
+ #: subscribe-to-comments-reloaded.php:132
85
  msgid "Your subscription to this entry needs to be confirmed. <a href='[manager_link]'>Manage your subscriptions</a>."
86
  msgstr "La tua iscrizione &egrave; in attesa di conferma. Se vuoi, puoi <a href='[manager_link]'>gestire</a> il tuo profilo."
87
 
88
+ #: subscribe-to-comments-reloaded.php:133
89
  msgid "You can <a href='[manager_link]'>manage the subscriptions</a> of this entry."
90
  msgstr "Gestisci gli utenti <a href='[manager_link]'>iscritti</a> alla discussione."
91
 
92
+ #: subscribe-to-comments-reloaded.php:134
93
  msgid "Please confirm your subscribtion to [post_title]"
94
  msgstr "Conferma la tua iscrizione a [post_title]"
95
 
96
+ #: subscribe-to-comments-reloaded.php:135
97
  msgid ""
98
  "You have requested to be notified every time a new comment is added to:\n"
99
  "[post_permalink]\n"
109
  "\n"
110
  "Se credi di aver ricevuto questo messaggio per errore, ti preghiamo di rispondere all'email per contattare l'amministratore."
111
 
112
+ #: subscribe-to-comments-reloaded.php:142
113
  msgid "Manage your subscriptions on [blog_name]"
114
  msgstr "Gestisci le tue sottoscrizioni su [blog_name]"
115
 
116
+ #: subscribe-to-comments-reloaded.php:143
117
  msgid ""
118
  "You have requested to manage your subscriptions to the articles on [blog_name]. Follow this link to access your personal page:\n"
119
  "[manager_link]"
121
  "Hai richiesto di poter gestire le tue sottoscrizioni agli articoli su [blog_name]. Clicca sul link qui di seguito per accedere alla tua area riservata:\n"
122
  "[manager_link]"
123
 
 
 
 
 
 
 
 
 
 
124
  #: options/index.php:45
125
+ msgid "Stats"
126
+ msgstr "Statistiche"
127
 
128
  #: options/index.php:46
129
+ msgid "Options"
130
+ msgstr "Opzioni"
131
 
132
  #: options/index.php:47
133
+ msgid "Mail Messages"
134
+ msgstr "Messaggi email"
135
+
136
+ #: options/index.php:48
137
+ msgid "Other Messages"
138
+ msgstr "Altri messaggi"
139
+
140
+ #: options/index.php:49
141
  msgid "Support"
142
  msgstr "Supporto"
143
 
161
 
162
  #: options/panel1.php:56
163
  #: options/panel1.php:96
164
+ #: templates/author.php:38
165
+ #: templates/user.php:36
166
  msgid "Please remember: this operation cannot be undone. Are you sure you want to proceed?"
167
  msgstr "Ricorda: questa operazione non pu&ograve; essere annullata. Confermi di voler procedere?"
168
 
179
  msgstr "Rimuovi o sospendi un indirizzo email"
180
 
181
  #: options/panel1.php:65
182
+ msgid "Change the status of an email address or permanently delete all its subscriptions."
183
  msgstr "Cambia lo stato o cancella tutte le sottoscrizioni associate ad un dato indirizzo email."
184
 
185
  #: options/panel1.php:70
186
  #: options/panel1.php:131
187
+ #: templates/author.php:60
188
+ #: templates/user.php:53
189
  msgid "Suspend"
190
  msgstr "Sospendi"
191
 
192
  #: options/panel1.php:71
193
  #: options/panel1.php:132
194
+ #: templates/author.php:61
195
+ #: templates/user.php:54
196
  msgid "Resume"
197
  msgstr "Riattiva"
198
 
234
  msgstr "Sottoscrizioni per:"
235
 
236
  #: options/panel1.php:119
237
+ #: templates/author.php:45
238
+ #: templates/user.php:42
239
  msgid "Legend: Y: subscribed, N: suspended, C: awaiting confirmation"
240
  msgstr "Legenda: Y: iscritto, N: notifiche sospese, C: in attesa di conferma"
241
 
242
  #: options/panel1.php:128
243
+ #: templates/author.php:57
244
+ #: templates/user.php:50
245
  msgid "Select all"
246
  msgstr "Seleziona tutti"
247
 
248
  #: options/panel1.php:129
249
+ #: templates/author.php:58
250
+ #: templates/user.php:51
251
  msgid "Invert selection"
252
  msgstr "Inverti la selezione"
253
 
254
  #: options/panel1.php:130
255
+ #: templates/author.php:59
256
+ #: templates/user.php:52
257
  msgid "Action:"
258
  msgstr "Azione:"
259
 
260
  #: options/panel1.php:133
261
+ #: templates/author.php:62
262
+ #: templates/user.php:55
263
  msgid "Update subscriptions"
264
  msgstr "Aggiorna sottoscrizioni"
265
 
267
  msgid "Sorry, no subscriptions found for"
268
  msgstr "Spiacente, nessuna sottoscrizione trovata per"
269
 
270
+ #: options/panel3.php:11
271
+ msgid "Management Page ID"
272
+ msgstr "ID Pagina di gestione"
273
+
274
+ #: options/panel3.php:12
275
+ #: options/panel3.php:42
276
+ msgid "Autopurge requests"
277
+ msgstr "Pulizia DB"
278
+
279
+ #: options/panel3.php:13
280
+ #: options/panel3.php:47
281
+ msgid "Sender name"
282
+ msgstr "Nome del mittente"
283
+
284
+ #: options/panel3.php:14
285
+ #: options/panel3.php:52
286
+ msgid "Sender email address"
287
+ msgstr "Indirizzo email mittente"
288
+
289
+ #: options/panel3.php:15
290
+ #: options/panel3.php:57
291
+ msgid "Checked by default"
292
+ msgstr "Spuntato per default"
293
+
294
+ #: options/panel3.php:16
295
+ #: options/panel3.php:64
296
+ msgid "Enable double check"
297
+ msgstr "Attiva doppia conferma"
298
+
299
+ #: options/panel3.php:17
300
+ #: options/panel3.php:71
301
  msgid "Notify authors"
302
  msgstr "Notifica autori"
303
 
304
+ #: options/panel3.php:18
305
+ #: options/panel3.php:78
306
+ msgid "Send trackbacks"
307
+ msgstr "Notifica trackbacks"
308
+
309
+ #: options/panel3.php:23
310
+ #: options/panel4.php:21
311
+ #: options/panel5.php:28
312
+ msgid "Your settings have been successfully updated."
313
+ msgstr "La configurazione &egrave; stata aggiornata con successo."
314
+
315
+ #: options/panel3.php:26
316
+ #: options/panel4.php:24
317
+ #: options/panel5.php:31
318
+ msgid "There was an error updating the following fields:"
319
+ msgstr "Si &egrave; verificato un errore nell'aggiornamento dei seguenti campi:"
320
+
321
+ #: options/panel3.php:37
322
+ #: options/panel5.php:64
323
+ msgid "Management page"
324
+ msgstr "Pagina di gestione"
325
+
326
+ #: options/panel3.php:39
327
+ msgid "The permalink for your management page (<code>/manage-subscriptions</code> or <code>/?page_id=345</code>). This page <b>does not</b> actually exist in the system, but its permalink must follow your Wordpress' permalink settings."
328
+ msgstr "Il permalink associato alla pagina di gestione (<code>/manage-subscriptions</code> o <code>/page_id=345</code>). Questa pagina non esiste fisicamente in Wordpress, ma il suo permalink deve essere consistente con la tua configurazione di Wordpress."
329
+
330
+ #: options/panel3.php:44
331
+ msgid "Delete pending subscriptions (not confirmed) after X days. Zero disables this feature."
332
+ msgstr "Cancella le iscrizioni non confermate dopo X giorni. Zero disabilita la funzione."
333
+
334
+ #: options/panel3.php:49
335
+ msgid "Name to use for the \"from\" field when sending a new notification to the user."
336
+ msgstr "Nome da usare nel campo From quando il sistema invia una notifica all'utente."
337
+
338
+ #: options/panel3.php:54
339
+ msgid "Email address to use for the \"from\" field when sending a new notification to the user."
340
+ msgstr "Indirizzo email da usare nel campo From."
341
+
342
+ #: options/panel3.php:59
343
+ #: options/panel3.php:66
344
+ #: options/panel3.php:73
345
+ #: options/panel3.php:80
346
+ msgid "Yes"
347
+ msgstr "Si"
348
+
349
+ #: options/panel3.php:60
350
+ #: options/panel3.php:67
351
+ #: options/panel3.php:74
352
+ #: options/panel3.php:81
353
+ msgid "No"
354
+ msgstr "No"
355
+
356
+ #: options/panel3.php:61
357
  msgid "Decide if the checkbox should be checked by default or not."
358
  msgstr "Scegli se il checkbox deve essere preselezionato per default o no."
359
 
360
+ #: options/panel3.php:68
361
+ msgid "Send a notification email to confirm the subscription (to avoid addresses misuse)."
362
+ msgstr "Invia una email per confermare l'iscrizione ad un dato articolo (per evitare l'uso scorretto di indirizzi email di terzi)."
363
+
364
+ #: options/panel3.php:75
365
  msgid "Notify authors when a new comment is posted to one of their articles."
366
  msgstr "Invia una notifica anche all'autore dell'articolo."
367
 
368
+ #: options/panel3.php:82
369
+ msgid "Notify users when a new trackback or pingback is added to the discussion."
370
+ msgstr "Invia una notifica anche per pingback e trackback aggiunti alla discussione."
371
+
372
+ #: options/panel3.php:86
373
+ #: options/panel4.php:66
374
+ #: options/panel5.php:109
375
+ msgid "Save Changes"
376
+ msgstr "Salva le opzioni"
377
+
378
+ #: options/panel4.php:11
379
+ #: options/panel4.php:35
380
+ msgid "Notification subject"
381
+ msgstr "Oggetto della notifica"
382
+
383
+ #: options/panel4.php:12
384
+ #: options/panel4.php:40
385
+ msgid "Notification message"
386
+ msgstr "Contenuto della notifica"
387
+
388
+ #: options/panel4.php:13
389
+ #: options/panel4.php:45
390
+ msgid "Double check subject"
391
+ msgstr "Oggetto doppia conferma"
392
+
393
+ #: options/panel4.php:14
394
+ #: options/panel4.php:50
395
+ msgid "Double check message"
396
+ msgstr "Contenuto doppia conferma"
397
+
398
+ #: options/panel4.php:15
399
+ #: options/panel4.php:55
400
+ msgid "Management subject"
401
+ msgstr "Oggetto email di gestione"
402
+
403
+ #: options/panel4.php:16
404
+ #: options/panel4.php:60
405
+ msgid "Management message"
406
+ msgstr "Contenuto email di gestione"
407
+
408
+ #: options/panel4.php:37
409
+ msgid "Subject of the notification email. Allowed tag: [post_title]"
410
+ msgstr "Oggetto dell'email di notifica. Tag consentito: [post_title]"
411
+
412
+ #: options/panel4.php:42
413
+ msgid "Content of the notification email. Allowed tags: [post_title], [comment_permalink], [comment_author], [comment_content], [post_permalink], [manager_link]"
414
+ msgstr "Contenuto del messaggio di notifica. Tag consentiti: [post_title], [comment_permalink], [comment_author], [comment_content], [post_permalink], [manager_link]"
415
+
416
+ #: options/panel4.php:47
417
+ msgid "Subject of the confirmation email. Allowed tag: [post_title]"
418
+ msgstr "Oggetto dell'email di notifica. Tag consentito: [post_title]"
419
+
420
+ #: options/panel4.php:52
421
+ msgid "Content of the confirmation email. Allowed tags: [post_permalink], [confirm_link], [post_title], [manager_link]"
422
+ msgstr "Contenuto dell'email di conferma. Tag consentiti: [post_permalink], [confirm_link], [post_title], [manager_link]"
423
+
424
+ #: options/panel4.php:57
425
+ msgid "Subject of the mail sent to those who request to access their management page. Allowed tag: [blog_name]"
426
+ msgstr "Oggetto della mail inviata a coloro che richiedono di poter gestire le proprie sottoscrizioni. Tag consentito: [blog_name]"
427
+
428
+ #: options/panel4.php:62
429
+ msgid "Content of the management email. Allowed tags: [blog_name], [manager_link]"
430
+ msgstr "Contenuto dell'email di gestione. Tag consentiti: [blog_name],[manager_link]"
431
+
432
+ #: options/panel5.php:11
433
+ #: options/panel5.php:43
434
+ msgid "Checkbox label"
435
+ msgstr "Descrizione del checkbox"
436
+
437
+ #: options/panel5.php:12
438
+ #: options/panel5.php:48
439
+ msgid "Subscribed label"
440
+ msgstr "Descrizione per gli iscritti"
441
+
442
+ #: options/panel5.php:13
443
+ #: options/panel5.php:53
444
+ msgid "Awaiting label"
445
+ msgstr "Notifiche in attesa"
446
+
447
+ #: options/panel5.php:14
448
+ #: options/panel5.php:58
449
+ msgid "Author label"
450
+ msgstr "Descrizione per l'autore"
451
+
452
+ #: options/panel5.php:16
453
+ #: options/panel5.php:68
454
+ msgid "Page title"
455
+ msgstr "Titolo pagina"
456
+
457
+ #: options/panel5.php:17
458
+ #: options/panel5.php:73
459
+ msgid "Request link"
460
+ msgstr "Richiesta link"
461
+
462
+ #: options/panel5.php:18
463
+ #: options/panel5.php:78
464
+ msgid "Request submitted"
465
+ msgstr "Richiesta inviata"
466
+
467
+ #: options/panel5.php:19
468
+ #: options/panel5.php:83
469
+ msgid "Subscribe without commenting"
470
+ msgstr "Sottoscrivi senza commentare"
471
+
472
+ #: options/panel5.php:20
473
+ #: options/panel5.php:88
474
+ msgid "Subscription processed"
475
+ msgstr "Sottoscrizione avvenuta"
476
+
477
+ #: options/panel5.php:21
478
+ #: options/panel5.php:93
479
+ msgid "Subscription processed (DCI)"
480
+ msgstr "Sottoscrizioni avvenuta (DCI)"
481
+
482
+ #: options/panel5.php:22
483
+ #: options/panel5.php:98
484
+ msgid "Authors"
485
+ msgstr "Autori"
486
+
487
+ #: options/panel5.php:23
488
+ #: options/panel5.php:103
489
+ msgid "Users"
490
+ msgstr "Utenti"
491
+
492
+ #: options/panel5.php:39
493
+ msgid "Comment form"
494
+ msgstr "Modulo per inviare commenti"
495
+
496
+ #: options/panel5.php:45
497
+ msgid "Label associated to the checkbox. Allowed tag: [subscribe_link]"
498
+ msgstr "Testo da mostrare accanto al checkbox. Tag consentito: [subscribe_link]"
499
+
500
+ #: options/panel5.php:50
501
+ msgid "Label shown to those who are already subscribed to a post. Allowed tag: [manager_link]"
502
+ msgstr "Testo da mostrare agli utenti gi&agrave; iscritti ad una discussione. Tag consentito: [manager_link]"
503
+
504
+ #: options/panel5.php:55
505
+ msgid "Label shown to those who are already subscribed, but haven't clicked on the confirmation link yet. Allowed tag: [manager_link]"
506
+ msgstr "Testo da mostrare agli utenti gi&agrave; iscritti ad una discussione, ma che non hanno ancora cliccato sul link di conferma. Tag consentito: [manager_link]"
507
+
508
+ #: options/panel5.php:60
509
+ msgid "Label shown to authors (and administrators). Allowed tag: [manager_link]"
510
+ msgstr "Testo da mostrare ad autori ed amministratori. Tag consentito: [manager_link]"
511
+
512
+ #: options/panel5.php:70
513
+ msgid "Title of the page your visitors will use to manage their subscriptions."
514
+ msgstr "Titolo della pagina che i visitatori useranno per gestire le sottoscrizioni."
515
+
516
+ #: options/panel5.php:75
517
+ msgid "Text shown to those who request to manage their subscriptions."
518
+ msgstr "Testo mostrato a coloro che richiedono il link per gestire le sottoscrizioni."
519
+
520
+ #: options/panel5.php:80
521
+ msgid "Thank you note shown after the request here above has been processed."
522
+ msgstr "Nota di conferma mostrata dopo che la richiesta qui sopra &egrave; stata gestita dal sistema."
523
+
524
+ #: options/panel5.php:85
525
+ msgid "Text shown to those who want to subscribe without commenting. Allowed tag: [post_title]"
526
+ msgstr "Testo da mostrare agli utenti che vogliono iscriversi senza commentare. Tag consentito: [manager_link]"
527
+
528
+ #: options/panel5.php:90
529
+ msgid "Thank you note shown after the subscription request has been processed (double check-in disabled)."
530
+ msgstr "Nota di conferma mostrata dopo che la richiesta d'iscrizione qui sopra &egrave; stata gestita dal sistema (con double check-in disabilitato)."
531
+
532
+ #: options/panel5.php:95
533
+ msgid "Thank you note shown after the subscription request has been processed (double check-in enabled)."
534
+ msgstr "Nota di conferma mostrata dopo che la richiesta &egrave; stata gestita dal sistema (con double check-in abilitato)"
535
+
536
+ #: options/panel5.php:100
537
+ msgid "Introductory text for the authors' management page."
538
+ msgstr "Testo introduttivo per la pagina di gestione riservata agli autori."
539
+
540
+ #: options/panel5.php:105
541
+ msgid "Introductory text for the users' management page."
542
+ msgstr "Testo introduttivo per la pagina di gestione riservata ai visitatori."
543
+
544
+ #: options/panel6.php:22
545
  msgid "How valuable is the feature offered by this plugin to your visitors? Subscribe to Comments Reloaded is and will always be free, but consider supporting the author if this plugin made your web site better, especially if you are making money out of it. Any donation received will be reinvested in the development of Subscribe to Comments Reloaded, and to buy some food for my hungry family."
546
  msgstr "Quanto è importante il valore aggiunto offerto dal mio plugin ai tuoi visitatori? Subscribe to Comments Reloaded &egrave; e sar&agrave; sempre gratuito, ma se vuoi puoi supportare l'autore con un piccolo contributo. Specialmente se stai usando questo plugin su un sito commerciale e se ritieni che questo plugin abbia contribuito a rendere il tuo lavoro migliore. Il denaro ricevuto sarà reinvestito nello sviluppo di Subscribe to Comments reloaded (hosting, programmi, ecc) e per comprare un po' di cibo per la mia famiglia affamata."
547
 
548
+ #: options/panel6.php:28
549
  msgid "Don't want to donate? You can still help"
550
  msgstr "Non ti va di donare soldi?"
551
 
552
+ #: options/panel6.php:29
553
  msgid "If you don't want to donate money, please consider blogging about my plugin with a link to the plugin's page. Please let your readers know what makes your blog better. You can also contribute donating your time: do not hesitate to send me bug reports, your localization files, ideas on how to improve Subscribe to Comments Reloaded and so on. Whatever you do, thanks for using my plugin!"
554
  msgstr "Se non ritieni opportuno donare una cifra in denaro, puoi sempre scrivere un post sul tuo blog che parli di Subscribe to Comments Reloaded, ed aggiungere un link alla pagina sul mio blog. Farai un favore sia ai tuoi visitatori che a me, se deciderai di parlarne. Volendo, puoi anche donare un po' del tuo tempo: mandami un messaggio sul forum se trovi un errore, la localizzazione dell'interfaccia, o semplicemente un'idea per rendere il plugin sempre migliore. Qualsiasi cosa tu decida di fare, grazie per star usando il mio plugin!"
555
 
556
+ #: options/panel6.php:31
557
  msgid "Vote and show your appreciation"
558
  msgstr "Vota e condividi"
559
 
560
+ #: options/panel6.php:32
561
  msgid "Tell other people if Subscribe to Comments Reloaded works for you and how good it is. <a href=\"http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/\">Rate it</a> on its Plugin Directory page."
562
  msgstr "Fai sapere agli altri se Subscribe to Comments Reloaded funziona bene e quanto ti piace. <a href=\"http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/\">Votalo</a> sulla pagina apposita di Wordpress."
563
 
564
+ #: templates/author.php:31
565
+ #: templates/user.php:29
566
+ msgid "Subscriptions have been successfully updated."
567
+ msgstr "Sottoscrizioni aggiornate con successo."
 
 
 
568
 
569
+ #: templates/author.php:43
570
  msgid "Title"
571
  msgstr "Titolo"
572
 
573
+ #: templates/author.php:59
574
+ #: templates/user.php:52
575
  msgid "Delete"
576
  msgstr "Rimuovi"
577
 
578
+ #: templates/author.php:66
579
+ #: templates/user.php:59
580
  msgid "Sorry, no subscriptions found."
581
  msgstr "Spiacente, nessuna sottoscrizione trovata."
582
 
583
+ #: templates/request-management-link.php:54
584
+ #: templates/subscribe.php:56
 
 
 
 
 
 
 
 
 
 
 
 
 
585
  msgid "Email"
586
  msgstr "Email"
587
 
588
+ #: templates/request-management-link.php:56
589
+ #: templates/subscribe.php:57
590
  msgid "Send"
591
  msgstr "Invia"
592
 
593
+ #: templates/subscribe.php:28
594
+ #: templates/subscribe.php:29
595
  msgid "New subscription to"
596
  msgstr "Nuova sottoscrizione per"
597
 
598
+ #: templates/subscribe.php:29
599
  msgid "User:"
600
  msgstr "Utente:"
601
 
602
+ #~ msgid ""
603
+ #~ "Your subscription has been successfully confirmed. Thank you for using "
604
+ #~ "our notification service. Now you will receive a message every time "
605
+ #~ "someone posts a new comment to"
606
+ #~ msgstr ""
607
+ #~ "La tua iscrizione &egrave; stata confermata con successo. Grazie per aver "
608
+ #~ "usato il nostro servizio di notifica. Da ora in poi riceverai un "
609
+ #~ "messaggio ogni volta che qualcuno lascia un commento per:"
610
 
611
+ #~ msgid ""
612
+ #~ "The permalink for your management page. This page <b>does not</b> "
613
+ #~ "actually exist in the system, is generated on-the-fly. It should start "
614
+ #~ "with a / (i.e. <code>/manage-subscriptions</code>)"
615
+ #~ msgstr ""
616
+ #~ "Il <b>permalink</b> per la pagina di gestione. Questa pagina non esiste "
617
+ #~ "in Wordpress, viene generata al volo dal plugin. Dovrebbe iniziare con "
618
+ #~ "uno / (ad es. <code>/gestisci-sottoscrizioni</code)"
619
+
620
+ #~ msgid ""
621
+ #~ "The ID (<strong>not the permalink!</strong>) of the management page you "
622
+ #~ "created."
623
+ #~ msgstr ""
624
+ #~ "L'ID (<strong>non il permalink!</strong>) della pagina di gestione che "
625
+ #~ "hai creato."
626
+
627
+ #~ msgid ""
628
+ #~ "Send a notification email to confirm the subscription (to avoid addresses "
629
+ #~ "misuse)"
630
+ #~ msgstr ""
631
+ #~ "Invia una email per confermare l'iscrizione ad un dato articolo (per "
632
+ #~ "evitare l'uso scorretto di indirizzi email di terzi)"
633
 
634
+ #~ msgid ""
635
+ #~ "Oops, Huston we have a problem! Please contact the administrator of this "
636
+ #~ "blog for further details."
637
+ #~ msgstr ""
638
+ #~ "Ouch, Huston abbiamo un problema! Per favore contatta l'amministratore di "
639
+ #~ "questo blog per maggiori informazioni."
640
 
641
+ #~ msgid ""
642
+ #~ "You can manage the subscriptions to your articles on this page. In order "
643
+ #~ "to cancel or suspend one or more notifications, select the corresponding "
644
+ #~ "checkbox(es) and click on the button at the end of the list."
645
+ #~ msgstr ""
646
+ #~ "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se "
647
+ #~ "desideri disdire o sospendere una o pi&ugrave; notifiche, spunta le "
648
+ #~ "caselle corrispondenti agli articoli e clicca sul pusante in fondo alla "
649
+ #~ "lista."
650
 
651
+ #~ msgid ""
652
+ #~ "You can manage your subscriptions to the article of this blog on this "
653
+ #~ "page. In order to cancel or suspend one or more notifications, select the "
654
+ #~ "corresponding checkbox(es) and click on the button at the end of the "
655
+ #~ "list. You are currently subscribed to:"
656
+ #~ msgstr ""
657
+ #~ "Tramite questa pagina puoi gestire le tue sottoscrizioni al mio blog. Se "
658
+ #~ "desideri disdire o sospendere una o pi&ugrave; notifiche, spunta le "
659
+ #~ "caselle corrispondenti agli articoli e clicca sul pusante in fondo alla "
660
+ #~ "lista. Al momento, risulti iscritto a:"
661
 
662
  #~ msgid ""
663
  #~ "If you know the ID of a post you want to manage, enter it in the field "
772
  #~ msgid "Is equal to"
773
  #~ msgstr "Uguale a"
774
 
 
 
 
775
  #~ msgid "Ends with"
776
  #~ msgstr "Finisce per"
777
 
824
  #~ msgid "this period"
825
  #~ msgstr "periodo"
826
 
 
 
 
827
  #~ msgid "Unique IPs"
828
  #~ msgstr "IP unici"
829
 
969
  #~ msgid "Top Keywords"
970
  #~ msgstr "Parole chiave principali"
971
 
 
 
 
972
  #~ msgid "Traffic Sources for"
973
  #~ msgstr "Sorgenti di traffico del"
974
 
options/index.php CHANGED
@@ -6,24 +6,24 @@ if (__FILE__ == $_SERVER['SCRIPT_FILENAME'] ) {
6
  exit;
7
  }
8
 
9
- function subscribe_reloaded_update_option( $_option, $_value, $_type ){
10
  if (!isset($_value)) return true;
11
  switch($_type){
12
  case 'yesno':
13
  if ($_value=='yes' || $_value=='no'){
14
- update_option($_option, $_value);
15
  return true;
16
  }
17
 
18
  break;
19
  case 'integer':
20
- update_option($_option, abs(intval($_value)));
21
 
22
  return true;
23
  break;
24
 
25
  default:
26
- update_option($_option, str_replace('"', "'", $_value));
27
  return true;
28
  break;
29
  }
@@ -31,8 +31,8 @@ function subscribe_reloaded_update_option( $_option, $_value, $_type ){
31
  return false;
32
  }
33
 
34
- function subscribe_reloaded_get_option($_option, $_default){
35
- $value = get_option($_option, $_default);
36
  return stripslashes($value);
37
  }
38
 
@@ -42,8 +42,10 @@ load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comme
42
  // Define the panels
43
  $array_panels = array(
44
  __('Manage subscriptions','subscribe-reloaded'),
 
45
  __('Options','subscribe-reloaded'),
46
- __('Messages','subscribe-reloaded'),
 
47
  __('Support','subscribe-reloaded')
48
  );
49
 
@@ -55,12 +57,12 @@ if ($wp_locale->text_direction != 'ltr') $array_panels = array_reverse($array_pa
55
 
56
  ?>
57
  <div class="wrap">
58
- <div id="subscribe-to-comments-icon" class="<?php echo $wp_locale->text_direction ?>"></div>
59
  <h2 class="medium">
60
  <?php
61
  foreach($array_panels as $a_panel_id => $a_panel_details){
62
- echo '<a class="menu-tabs';
63
- if ($current_panel != $a_panel_id+1) echo ' menu-tab-inactive';
64
  echo '" href="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel='.($a_panel_id+1).'">'.$a_panel_details.'</a>';
65
  }
66
  ?>
6
  exit;
7
  }
8
 
9
+ function subscribe_reloaded_update_option( $_option = '', $_value = '', $_type = ''){
10
  if (!isset($_value)) return true;
11
  switch($_type){
12
  case 'yesno':
13
  if ($_value=='yes' || $_value=='no'){
14
+ update_option('subscribe_reloaded_'.$_option, $_value);
15
  return true;
16
  }
17
 
18
  break;
19
  case 'integer':
20
+ update_option('subscribe_reloaded_'.$_option, abs(intval($_value)));
21
 
22
  return true;
23
  break;
24
 
25
  default:
26
+ update_option('subscribe_reloaded_'.$_option, str_replace('"', "'", $_value));
27
  return true;
28
  break;
29
  }
31
  return false;
32
  }
33
 
34
+ function subscribe_reloaded_get_option($_option = '', $_default = ''){
35
+ $value = get_option('subscribe_reloaded_'.$_option, $_default);
36
  return stripslashes($value);
37
  }
38
 
42
  // Define the panels
43
  $array_panels = array(
44
  __('Manage subscriptions','subscribe-reloaded'),
45
+ __('Stats','subscribe-reloaded'),
46
  __('Options','subscribe-reloaded'),
47
+ __('Mail Messages','subscribe-reloaded'),
48
+ __('Other Messages','subscribe-reloaded'),
49
  __('Support','subscribe-reloaded')
50
  );
51
 
57
 
58
  ?>
59
  <div class="wrap">
60
+ <div id="subscribe-to-comments-icon" class="icon32 <?php echo $wp_locale->text_direction ?>"></div>
61
  <h2 class="medium">
62
  <?php
63
  foreach($array_panels as $a_panel_id => $a_panel_details){
64
+ echo '<a class="nav-tab nav-tab';
65
+ echo ($current_panel == $a_panel_id+1)?'-active':'-inactive';
66
  echo '" href="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel='.($a_panel_id+1).'">'.$a_panel_details.'</a>';
67
  }
68
  ?>
options/panel1.php CHANGED
@@ -62,7 +62,7 @@ if (!empty($_POST['mass_update']) && !empty($_POST['sre']) && !empty($_POST['act
62
  </form>
63
 
64
  <h3><?php _e('Remove or suspend email address','subscribe-reloaded') ?></h3>
65
- <p><?php _e('Change the status or permanently delete all the subscriptions for a given email address.','subscribe-reloaded') ?></p>
66
  <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=1" method="post">
67
  <p><input type="text" size="40" name="sre" value="" />
68
  <select name="action_type">
62
  </form>
63
 
64
  <h3><?php _e('Remove or suspend email address','subscribe-reloaded') ?></h3>
65
+ <p><?php _e('Change the status of an email address or permanently delete all its subscriptions.','subscribe-reloaded') ?></p>
66
  <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=1" method="post">
67
  <p><input type="text" size="40" name="sre" value="" />
68
  <select name="action_type">
options/panel2.php CHANGED
@@ -4,119 +4,6 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
4
  header('Location: /');
5
  exit;
6
  }
7
-
8
- // Update options
9
- if (isset($_POST['options'])){
10
- $faulty_fields = '';
11
- if (isset($_POST['options']['manager_page']) && !subscribe_reloaded_update_option('subscribe_reloaded_manager_page', $_POST['options']['manager_page'], 'text')) $faulty_fields = __('Management Page ID','subscribe-reloaded').', ';
12
- if (isset($_POST['options']['purge_days']) && !subscribe_reloaded_update_option('subscribe_reloaded_purge_days', $_POST['options']['purge_days'], 'integer')) $faulty_fields = __('Autopurge requests','subscribe-reloaded').', ';
13
- if (isset($_POST['options']['from_name']) && !subscribe_reloaded_update_option('subscribe_reloaded_from_name', $_POST['options']['from_name'], 'text')) $faulty_fields = __('Sender name','subscribe-reloaded').', ';
14
- if (isset($_POST['options']['from_email']) && !subscribe_reloaded_update_option('subscribe_reloaded_from_email', $_POST['options']['from_email'], 'text')) $faulty_fields = __('Sender email address','subscribe-reloaded').', ';
15
- if (isset($_POST['options']['checked_by_default']) && !subscribe_reloaded_update_option('subscribe_reloaded_checked_by_default', $_POST['options']['checked_by_default'], 'yesno')) $faulty_fields = __('Checked by default','subscribe-reloaded').', ';
16
- if (isset($_POST['options']['enable_double_check']) && !subscribe_reloaded_update_option('subscribe_reloaded_enable_double_check', $_POST['options']['enable_double_check'], 'yesno')) $faulty_fields = __('Enable double check','subscribe-reloaded').', ';
17
- if (isset($_POST['options']['notify_authors']) && !subscribe_reloaded_update_option('subscribe_reloaded_notify_authors', $_POST['options']['notify_authors'], 'yesno')) $faulty_fields = __('Notify authors','subscribe-reloaded').', ';
18
-
19
- if (isset($_POST['options']['notification_subject']) && !subscribe_reloaded_update_option('subscribe_reloaded_notification_subject', $_POST['options']['notification_subject'], 'text')) $faulty_fields = __('Notification subject','subscribe-reloaded').', ';
20
- if (isset($_POST['options']['notification_content']) && !subscribe_reloaded_update_option('subscribe_reloaded_notification_content', $_POST['options']['notification_content'], 'text')) $faulty_fields = __('Notification message','subscribe-reloaded').', ';
21
- if (isset($_POST['options']['checkbox_label']) && !subscribe_reloaded_update_option('subscribe_reloaded_checkbox_label', $_POST['options']['checkbox_label'], 'text')) $faulty_fields = __('Checkbox label','subscribe-reloaded').', ';
22
- if (isset($_POST['options']['subscribed_label']) && !subscribe_reloaded_update_option('subscribe_reloaded_subscribed_label', $_POST['options']['subscribed_label'], 'text')) $faulty_fields = __('Subscribed label','subscribe-reloaded').', ';
23
- if (isset($_POST['options']['subscribed_waiting_label']) && !subscribe_reloaded_update_option('subscribe_reloaded_subscribed_waiting_label', $_POST['options']['subscribed_waiting_label'], 'text')) $faulty_fields = __('Awaiting label','subscribe-reloaded').', ';
24
- if (isset($_POST['options']['author_label']) && !subscribe_reloaded_update_option('subscribe_reloaded_author_label', $_POST['options']['author_label'], 'text')) $faulty_fields = __('Author label','subscribe-reloaded').', ';
25
- if (isset($_POST['options']['double_check_subject']) && !subscribe_reloaded_update_option('subscribe_reloaded_double_check_subject', $_POST['options']['double_check_subject'], 'text')) $faulty_fields = __('Double check subject','subscribe-reloaded').', ';
26
- if (isset($_POST['options']['double_check_content']) && !subscribe_reloaded_update_option('subscribe_reloaded_double_check_content', $_POST['options']['double_check_content'], 'text')) $faulty_fields = __('Double check message','subscribe-reloaded').', ';
27
- if (isset($_POST['options']['management_subject']) && !subscribe_reloaded_update_option('subscribe_reloaded_management_subject', $_POST['options']['management_subject'], 'text')) $faulty_fields = __('Management subject','subscribe-reloaded').', ';
28
- if (isset($_POST['options']['management_content']) && !subscribe_reloaded_update_option('subscribe_reloaded_management_content', $_POST['options']['management_content'], 'text')) $faulty_fields = __('Management message','subscribe-reloaded').', ';
29
-
30
- // Display an alert in the admin interface if something went wrong
31
- echo '<div class="updated fade"><p>';
32
- if (empty($faulty_fields)){
33
- _e('Your settings have been successfully updated.','subscribe-reloaded');
34
- }
35
- else{
36
- _e('There was an error updating the following fields:','subscribe-reloaded');
37
- echo ' <strong>'.substr($faulty_fields,0,-2).'</strong>';
38
- }
39
- echo "</p></div>\n";
40
- }
41
-
42
- // Reload the new options
43
- $subscribe_reloaded_options = array();
44
- $subscribe_reloaded_options['manager_page'] = subscribe_reloaded_get_option('subscribe_reloaded_manager_page', '');
45
- $subscribe_reloaded_options['purge_days'] = subscribe_reloaded_get_option('subscribe_reloaded_purge_days', '0');
46
- $subscribe_reloaded_options['from_name'] = subscribe_reloaded_get_option('subscribe_reloaded_from_name', 'admin');
47
- $subscribe_reloaded_options['from_email'] = subscribe_reloaded_get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
48
- $subscribe_reloaded_options['checked_by_default'] = subscribe_reloaded_get_option('subscribe_reloaded_checked_by_default', 'no');
49
- $subscribe_reloaded_options['enable_double_check'] = subscribe_reloaded_get_option('subscribe_reloaded_enable_double_check', 'no');
50
- $subscribe_reloaded_options['notify_authors'] = subscribe_reloaded_get_option('subscribe_reloaded_notify_authors', 'no');
51
  ?>
52
- <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=<?php echo $current_panel ?>" method="post">
53
- <table class="form-table <?php echo $wp_locale->text_direction ?>">
54
- <tbody>
55
- <tr valign="top">
56
- <th scope="row" rowspan="2"><label for="manager_page"><?php _e('Management Page ID','subscribe-reloaded') ?></label></th>
57
- <td style="padding-bottom:0"><input type="text" name="options[manager_page]" id="manager_page" value="<?php echo $subscribe_reloaded_options['manager_page']; ?>" size="10"></td>
58
- </tr>
59
- <tr>
60
- <td class="description" style="padding-top:0"><?php _e('The ID (<strong>not the permalink!</strong>) of the management page you created.','subscribe-reloaded'); ?></td>
61
- </tr>
62
-
63
- <tr valign="top">
64
- <th scope="row" rowspan="2"><label for="purge_days"><?php _e('Autopurge requests','subscribe-reloaded') ?></label></th>
65
- <td style="padding-bottom:0"><input type="text" name="options[purge_days]" id="purge_days" value="<?php echo $subscribe_reloaded_options['purge_days']; ?>" size="10"> days</td>
66
- </tr>
67
- <tr>
68
- <td class="description" style="padding-top:0"><?php _e("Delete pending subscriptions (not confirmed) after X days. Zero disables this feature.",'subscribe-reloaded'); ?></td>
69
- </tr>
70
 
71
- <tr valign="top">
72
- <th scope="row" rowspan="2"><label for="from_name"><?php _e('Sender name','subscribe-reloaded') ?></label></th>
73
- <td style="padding-bottom:0"><input type="text" name="options[from_name]" id="from_name" value="<?php echo $subscribe_reloaded_options['from_name']; ?>" size="50"></td>
74
- </tr>
75
- <tr>
76
- <td class="description" style="padding-top:0"><?php _e('Name to use for the "from" field when sending a new notification to the user.','subscribe-reloaded'); ?></td>
77
- </tr>
78
-
79
- <tr valign="top">
80
- <th scope="row" rowspan="2"><label for="from_email"><?php _e('Sender email address','subscribe-reloaded') ?></label></th>
81
- <td style="padding-bottom:0"><input type="text" name="options[from_email]" id="from_email" value="<?php echo $subscribe_reloaded_options['from_email']; ?>" size="50"></td>
82
- </tr>
83
- <tr>
84
- <td class="description" style="padding-top:0"><?php _e('Email address to use for the "from" field when sending a new notification to the user.','subscribe-reloaded'); ?></td>
85
- </tr>
86
-
87
- <tr valign="top">
88
- <th scope="row" rowspan="2"><label for="checked_by_default"><?php _e('Checked by default','subscribe-reloaded') ?></label></th>
89
- <td>
90
- <input type="radio" name="options[checked_by_default]" id="checked_by_default" value="yes"<?php echo ($subscribe_reloaded_options['checked_by_default'] == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
91
- <input type="radio" name="options[checked_by_default]" value="no" <?php echo ($subscribe_reloaded_options['checked_by_default'] == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
92
- </td>
93
- </tr>
94
- <tr>
95
- <td class="description" style="padding-top:0"><?php _e('Decide if the checkbox should be checked by default or not.','subscribe-reloaded'); ?></td>
96
- </tr>
97
-
98
- <tr valign="top">
99
- <th scope="row" rowspan="2"><label for="enable_double_check"><?php _e('Enable double check','subscribe-reloaded') ?></label></th>
100
- <td>
101
- <input type="radio" name="options[enable_double_check]" id="enable_double_check" value="yes"<?php echo ($subscribe_reloaded_options['enable_double_check'] == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
102
- <input type="radio" name="options[enable_double_check]" value="no" <?php echo ($subscribe_reloaded_options['enable_double_check'] == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
103
- </td>
104
- </tr>
105
- <tr>
106
- <td class="description" style="padding-top:0"><?php _e('Send a notification email to confirm the subscription (to avoid addresses misuse).','subscribe-reloaded'); ?></td>
107
- </tr>
108
-
109
- <tr valign="top">
110
- <th scope="row" rowspan="2"><label for="notify_authors"><?php _e('Notify authors','subscribe-reloaded') ?></label></th>
111
- <td>
112
- <input type="radio" name="options[notify_authors]" id="notify_authors" value="yes"<?php echo ($subscribe_reloaded_options['notify_authors'] == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
113
- <input type="radio" name="options[notify_authors]" value="no" <?php echo ($subscribe_reloaded_options['notify_authors'] == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
114
- </td>
115
- </tr>
116
- <tr>
117
- <td class="description" style="padding-top:0"><?php _e('Notify authors when a new comment is posted to one of their articles.','subscribe-reloaded'); ?></td>
118
- </tr>
119
- </tbody>
120
- </table>
121
- <p class="submit"><input type="submit" value="<?php _e('Save Changes') ?>" class="button-primary" name="Submit"></p>
122
- </form>
4
  header('Location: /');
5
  exit;
6
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
+ <p>Work in progress :)</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
options/panel3.php CHANGED
@@ -5,103 +5,83 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
5
  exit;
6
  }
7
 
8
- // Reload the new options
9
- $subscribe_reloaded_options = array();
10
- $subscribe_reloaded_options['notification_subject'] = subscribe_reloaded_get_option('subscribe_reloaded_notification_subject', 'There is a new comment on the post [post_title]');
11
- $subscribe_reloaded_options['notification_content'] = subscribe_reloaded_get_option('subscribe_reloaded_notification_content', '');
12
- $subscribe_reloaded_options['checkbox_label'] = subscribe_reloaded_get_option('subscribe_reloaded_checkbox_label', "Notify me of followup comments via e-mail. You can also <a href='[subscribe_link]'>subscribe</a> without commenting.");
13
- $subscribe_reloaded_options['subscribed_label'] = subscribe_reloaded_get_option('subscribe_reloaded_subscribed_label', "You are subscribed to this entry. <a href='[manager_link]'>Manage your subscriptions</a>.");
14
- $subscribe_reloaded_options['subscribed_waiting_label'] = subscribe_reloaded_get_option('subscribe_reloaded_subscribed_waiting_label', "Your subscription to this entry needs to be confirmed. <a href='[manager_link]'>Manage your subscriptions</a>.");
15
- $subscribe_reloaded_options['author_label'] = subscribe_reloaded_get_option('subscribe_reloaded_author_label', "You can <a href='[manager_link]'>manage the subscriptions</a> of this entry.");
16
- $subscribe_reloaded_options['double_check_subject'] = subscribe_reloaded_get_option('subscribe_reloaded_double_check_subject', 'Please confirm your subscribtion to [post_title]');
17
- $subscribe_reloaded_options['double_check_content'] = subscribe_reloaded_get_option('subscribe_reloaded_double_check_content', '');
18
- $subscribe_reloaded_options['management_subject'] = subscribe_reloaded_get_option('subscribe_reloaded_management_subject', 'Manage your subscriptions on [blog_name]');
19
- $subscribe_reloaded_options['management_content'] = subscribe_reloaded_get_option('subscribe_reloaded_management_content', '');
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  ?>
22
  <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=<?php echo $current_panel ?>" method="post">
23
  <table class="form-table <?php echo $wp_locale->text_direction ?>">
24
  <tbody>
25
- <tr valign="top">
26
- <th scope="row" rowspan="2"><label for="notification_subject"><?php _e('Notification subject','subscribe-reloaded') ?></label></th>
27
- <td style="padding-bottom:0"><input type="text" name="options[notification_subject]" id="notification_subject" value="<?php echo $subscribe_reloaded_options['notification_subject']; ?>" size="70"></td>
28
- </tr>
29
  <tr>
30
- <td class="description" style="padding-top:0"><?php _e('Subject of the notification email. Allowed tag: [post_title]','subscribe-reloaded'); ?></td>
31
- </tr>
32
-
33
- <tr valign="top">
34
- <th scope="row" rowspan="2"><label for="notification_content"><?php _e('Notification message','subscribe-reloaded') ?></label></th>
35
- <td style="padding-bottom:0"><textarea name="options[notification_content]" id="notification_content" cols="70" rows="5"><?php echo $subscribe_reloaded_options['notification_content']; ?></textarea></td>
36
  </tr>
37
  <tr>
38
- <td class="description" style="padding-top:0"><?php _e('Content of the notification email. Allowed tags: [post_title], [comment_permalink], [comment_author], [comment_content], [post_permalink], [manager_link]','subscribe-reloaded'); ?></td>
39
- </tr>
40
-
41
- <tr valign="top">
42
- <th scope="row" rowspan="2"><label for="checkbox_label"><?php _e('Checkbox label','subscribe-reloaded') ?></label></th>
43
- <td style="padding-bottom:0"><input type="text" name="options[checkbox_label]" id="checkbox_label" value="<?php echo $subscribe_reloaded_options['checkbox_label']; ?>" size="70"></td>
44
  </tr>
45
  <tr>
46
- <td class="description" style="padding-top:0"><?php _e('Text to show next to the checkbox added to the comment form. Allowed tag: [subscribe_link]','subscribe-reloaded'); ?></td>
47
- </tr>
48
-
49
- <tr valign="top">
50
- <th scope="row" rowspan="2"><label for="subscribed_label"><?php _e('Subscribed label','subscribe-reloaded') ?></label></th>
51
- <td style="padding-bottom:0"><input type="text" name="options[subscribed_label]" id="subscribed_label" value="<?php echo $subscribe_reloaded_options['subscribed_label']; ?>" size="70"></td>
52
  </tr>
53
  <tr>
54
- <td class="description" style="padding-top:0"><?php _e('Text to show to those users who are already subscribed. Allowed tag: [manager_link]','subscribe-reloaded'); ?></td>
55
- </tr>
56
-
57
- <tr valign="top">
58
- <th scope="row" rowspan="2"><label for="subscribed_waiting_label"><?php _e('Awaiting label','subscribe-reloaded') ?></label></th>
59
- <td style="padding-bottom:0"><input type="text" name="options[subscribed_waiting_label]" id="subscribed_waiting_label" value="<?php echo $subscribe_reloaded_options['subscribed_waiting_label']; ?>" size="70"></td>
60
  </tr>
61
  <tr>
62
- <td class="description" style="padding-top:0"><?php _e("Text to show to those users who are already subscribed, but haven't clicked on the confirmation link yet. Allowed tag: [manager_link]",'subscribe-reloaded'); ?></td>
63
- </tr>
64
-
65
- <tr valign="top">
66
- <th scope="row" rowspan="2"><label for="author_label"><?php _e('Author label','subscribe-reloaded') ?></label></th>
67
- <td style="padding-bottom:0"><input type="text" name="options[author_label]" id="author_label" value="<?php echo $subscribe_reloaded_options['author_label']; ?>" size="70"></td>
68
  </tr>
69
  <tr>
70
- <td class="description" style="padding-top:0"><?php _e('Text to show to the author, to manage subscriptions to a given post. Allowed tag: [manager_link]','subscribe-reloaded'); ?></td>
71
- </tr>
72
-
73
- <tr valign="top">
74
- <th scope="row" rowspan="2"><label for="double_check_subject"><?php _e('Double check subject','subscribe-reloaded') ?></label></th>
75
- <td style="padding-bottom:0"><input type="text" name="options[double_check_subject]" id="double_check_subject" value="<?php echo $subscribe_reloaded_options['double_check_subject']; ?>" size="70"></td>
76
  </tr>
77
  <tr>
78
- <td class="description" style="padding-top:0"><?php _e('Subject of the confirmation email. Allowed tag: [post_title]','subscribe-reloaded'); ?></td>
79
- </tr>
80
-
81
- <tr valign="top">
82
- <th scope="row" rowspan="2"><label for="double_check_content"><?php _e('Double check message','subscribe-reloaded') ?></label></th>
83
- <td style="padding-bottom:0"><textarea name="options[double_check_content]" id="double_check_content" cols="70" rows="5"><?php echo $subscribe_reloaded_options['double_check_content']; ?></textarea></td>
84
- </tr>
85
- <tr>
86
- <td class="description" style="padding-top:0"><?php _e('Content of the confirmation email. Allowed tags: [post_permalink], [confirm_link], [post_title], [manager_link]','subscribe-reloaded'); ?></td>
87
- </tr>
88
-
89
- <tr valign="top">
90
- <th scope="row" rowspan="2"><label for="management_subject"><?php _e('Management subject','subscribe-reloaded') ?></label></th>
91
- <td style="padding-bottom:0"><input type="text" name="options[management_subject]" id="management_subject" value="<?php echo $subscribe_reloaded_options['management_subject']; ?>" size="70"></td>
92
  </tr>
93
  <tr>
94
- <td class="description" style="padding-top:0"><?php _e('Subject of the mail sent to those who request to access their management page. Allowed tag: [blog_name]','subscribe-reloaded'); ?></td>
95
- </tr>
96
-
97
- <tr valign="top">
98
- <th scope="row" rowspan="2"><label for="management_content"><?php _e('Management message','subscribe-reloaded') ?></label></th>
99
- <td style="padding-bottom:0"><textarea name="options[management_content]" id="management_content" cols="70" rows="5"><?php echo $subscribe_reloaded_options['management_content']; ?></textarea></td>
100
- </tr>
101
- <tr>
102
- <td class="description" style="padding-top:0"><?php _e('Content of the management email. Allowed tags: [blog_name], [manager_link]','subscribe-reloaded'); ?></td>
103
- </tr>
104
  </tbody>
105
  </table>
106
  <p class="submit"><input type="submit" value="<?php _e('Save Changes') ?>" class="button-primary" name="Submit"></p>
107
- </form>
5
  exit;
6
  }
7
 
8
+ // Update options
9
+ if (isset($_POST['options'])){
10
+ $faulty_fields = '';
11
+ if (isset($_POST['options']['manager_page']) && !subscribe_reloaded_update_option('manager_page', $_POST['options']['manager_page'], 'text')) $faulty_fields = __('Management Page ID','subscribe-reloaded').', ';
12
+ if (isset($_POST['options']['purge_days']) && !subscribe_reloaded_update_option('purge_days', $_POST['options']['purge_days'], 'integer')) $faulty_fields = __('Autopurge requests','subscribe-reloaded').', ';
13
+ if (isset($_POST['options']['from_name']) && !subscribe_reloaded_update_option('from_name', $_POST['options']['from_name'], 'text')) $faulty_fields = __('Sender name','subscribe-reloaded').', ';
14
+ if (isset($_POST['options']['from_email']) && !subscribe_reloaded_update_option('from_email', $_POST['options']['from_email'], 'text')) $faulty_fields = __('Sender email address','subscribe-reloaded').', ';
15
+ if (isset($_POST['options']['checked_by_default']) && !subscribe_reloaded_update_option('checked_by_default', $_POST['options']['checked_by_default'], 'yesno')) $faulty_fields = __('Checked by default','subscribe-reloaded').', ';
16
+ if (isset($_POST['options']['enable_double_check']) && !subscribe_reloaded_update_option('enable_double_check', $_POST['options']['enable_double_check'], 'yesno')) $faulty_fields = __('Enable double check','subscribe-reloaded').', ';
17
+ if (isset($_POST['options']['notify_authors']) && !subscribe_reloaded_update_option('notify_authors', $_POST['options']['notify_authors'], 'yesno')) $faulty_fields = __('Notify authors','subscribe-reloaded').', ';
18
+ if (isset($_POST['options']['process_trackbacks']) && !subscribe_reloaded_update_option('process_trackbacks', $_POST['options']['process_trackbacks'], 'yesno')) $faulty_fields = __('Send trackbacks','subscribe-reloaded').', ';
19
+
20
+ // Display an alert in the admin interface if something went wrong
21
+ echo '<div class="updated fade"><p>';
22
+ if (empty($faulty_fields)){
23
+ _e('Your settings have been successfully updated.','subscribe-reloaded');
24
+ }
25
+ else{
26
+ _e('There was an error updating the following fields:','subscribe-reloaded');
27
+ echo ' <strong>'.substr($faulty_fields,0,-2).'</strong>';
28
+ }
29
+ echo "</p></div>\n";
30
+ }
31
 
32
  ?>
33
  <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=<?php echo $current_panel ?>" method="post">
34
  <table class="form-table <?php echo $wp_locale->text_direction ?>">
35
  <tbody>
 
 
 
 
36
  <tr>
37
+ <th scope="row"><label for="manager_page"><?php _e('Management page','subscribe-reloaded') ?></label></th>
38
+ <td><input type="text" name="options[manager_page]" id="manager_page" value="<?php echo subscribe_reloaded_get_option('manager_page'); ?>" size="10">
39
+ <div class="description"><?php _e('The permalink for your management page (<code>/manage-subscriptions</code> or <code>/?page_id=345</code>). This page <b>does not</b> actually exist in the system, but its permalink must follow your Wordpress\' permalink settings.','subscribe-reloaded'); ?></div></td>
 
 
 
40
  </tr>
41
  <tr>
42
+ <th scope="row"><label for="purge_days"><?php _e('Autopurge requests','subscribe-reloaded') ?></label></th>
43
+ <td><input type="text" name="options[purge_days]" id="purge_days" value="<?php echo subscribe_reloaded_get_option('purge_days'); ?>" size="10"> days
44
+ <div class="description"><?php _e("Delete pending subscriptions (not confirmed) after X days. Zero disables this feature.",'subscribe-reloaded'); ?></div></td>
 
 
 
45
  </tr>
46
  <tr>
47
+ <th scope="row"><label for="from_name"><?php _e('Sender name','subscribe-reloaded') ?></label></th>
48
+ <td><input type="text" name="options[from_name]" id="from_name" value="<?php echo subscribe_reloaded_get_option('from_name'); ?>" size="50">
49
+ <div class="description"><?php _e('Name to use for the "from" field when sending a new notification to the user.','subscribe-reloaded'); ?></div></td>
 
 
 
50
  </tr>
51
  <tr>
52
+ <th scope="row"><label for="from_email"><?php _e('Sender email address','subscribe-reloaded') ?></label></th>
53
+ <td><input type="text" name="options[from_email]" id="from_email" value="<?php echo subscribe_reloaded_get_option('from_email'); ?>" size="50">
54
+ <div class="description"><?php _e('Email address to use for the "from" field when sending a new notification to the user.','subscribe-reloaded'); ?></div></td>
 
 
 
55
  </tr>
56
  <tr>
57
+ <th scope="row"><label for="checked_by_default"><?php _e('Checked by default','subscribe-reloaded') ?></label></th>
58
+ <td>
59
+ <input type="radio" name="options[checked_by_default]" id="checked_by_default" value="yes"<?php echo (subscribe_reloaded_get_option('checked_by_default') == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
60
+ <input type="radio" name="options[checked_by_default]" value="no" <?php echo (subscribe_reloaded_get_option('checked_by_default') == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
61
+ <div class="description"><?php _e('Decide if the checkbox should be checked by default or not.','subscribe-reloaded'); ?></div></td>
 
62
  </tr>
63
  <tr>
64
+ <th scope="row"><label for="enable_double_check"><?php _e('Enable double check','subscribe-reloaded') ?></label></th>
65
+ <td>
66
+ <input type="radio" name="options[enable_double_check]" id="enable_double_check" value="yes"<?php echo (subscribe_reloaded_get_option('enable_double_check') == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
67
+ <input type="radio" name="options[enable_double_check]" value="no" <?php echo (subscribe_reloaded_get_option('enable_double_check') == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
68
+ <div class="description"><?php _e('Send a notification email to confirm the subscription (to avoid addresses misuse).','subscribe-reloaded'); ?></div></td>
 
69
  </tr>
70
  <tr>
71
+ <th scope="row"><label for="notify_authors"><?php _e('Notify authors','subscribe-reloaded') ?></label></th>
72
+ <td>
73
+ <input type="radio" name="options[notify_authors]" id="notify_authors" value="yes"<?php echo (subscribe_reloaded_get_option('notify_authors') == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
74
+ <input type="radio" name="options[notify_authors]" value="no" <?php echo (subscribe_reloaded_get_option('notify_authors') == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
75
+ <div class="description"><?php _e('Notify authors when a new comment is posted to one of their articles.','subscribe-reloaded'); ?></div></td>
 
 
 
 
 
 
 
 
 
76
  </tr>
77
  <tr>
78
+ <th scope="row"><label for="process_trackbacks"><?php _e('Send trackbacks','subscribe-reloaded') ?></label></th>
79
+ <td>
80
+ <input type="radio" name="options[process_trackbacks]" id="process_trackbacks" value="yes"<?php echo (subscribe_reloaded_get_option('process_trackbacks') == 'yes')?' checked="checked"':''; ?>> <?php _e('Yes','subscribe-reloaded') ?> &nbsp; &nbsp; &nbsp;
81
+ <input type="radio" name="options[process_trackbacks]" value="no" <?php echo (subscribe_reloaded_get_option('process_trackbacks') == 'no')?' checked="checked"':''; ?>> <?php _e('No','subscribe-reloaded') ?>
82
+ <div class="description"><?php _e('Notify users when a new trackback or pingback is added to the discussion.','subscribe-reloaded'); ?></div></td>
83
+ </tr>
 
 
 
 
84
  </tbody>
85
  </table>
86
  <p class="submit"><input type="submit" value="<?php _e('Save Changes') ?>" class="button-primary" name="Submit"></p>
87
+ </form>
options/panel4.php CHANGED
@@ -4,29 +4,64 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
4
  header('Location: /');
5
  exit;
6
  }
7
- ?>
8
 
9
- <table class="form-table">
10
- <tbody>
11
- <tr valign="top">
12
- <th scope="row"><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
13
- <input type="hidden" name="cmd" value="_s-xclick">
14
- <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBngge5NiTQd7ePyOWNY6kjSyj/Q74nE0K3TTdGFoCbMdW6Ld1K7ifjcuPubEWZretwChUBBSruL3EI+XRK16SIblLbJGVMBoEaPMY8pEWCKbM9C0frSLWkmHX4jKAwT1bW2fi4jzf4nFxHXyiHd/ieqGcz1/nfKSffkvigmCIz8DELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIs4aMz1tHajWAgYim4zSsL96VbGijTiV+GDHKFPi14KLFmyFAJU5orefIC77/Ijj/vEG7tVAV/RzvKQISpSss2gynFxsUccCrA3umK9h8RTBQnWboOrawh9LlerJgeTdjMznG8rPa1BztYT2QYvlfBiICgQViIqXBpZ03ig+sdwZnq9CXOdW+WpMKfyaEq6U5pm1woIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNDE0MTYyNTU2WjAjBgkqhkiG9w0BCQQxFgQU09GMwy7SPhAXAMsygoSa9ybOqHcwDQYJKoZIhvcNAQEBBQAEgYAeNN2U8by1ew6vdBe0we+yhDjy6ihGhGsd6S7hOsR6esdlisOzUkvYM3p1dE+f2J4+0yQFm7uqKZQ4PbjLw41/PsKrqAo/UACpymR2NhNY2sfMnFfFADJGVTo67+wwC33i0wx+GtrTEeqUlTy9vXyaW0WiKw9HoUxN+AfhyyMS9g==-----END PKCS7-----">
15
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
16
- <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
17
- </form>
18
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
- </th>
21
- <td class='wrap'>
22
- <?php _e('How valuable is the feature offered by this plugin to your visitors? Subscribe to Comments Reloaded is and will always be free, but consider supporting the author if this plugin made your web site better, especially if you are making money out of it. Any donation received will be reinvested in the development of Subscribe to Comments Reloaded, and to buy some food for my hungry family.','subscribe-reloaded') ?>
23
- </td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  </tr>
25
  </tbody>
26
  </table>
27
-
28
- <h3><?php _e("Don't want to donate? You can still help",'wp-slimstat-options') ?></h3>
29
- <p><?php _e("If you don't want to donate money, please consider blogging about my plugin with a link to the plugin's page. Please let your readers know what makes your blog better. You can also contribute donating your time: do not hesitate to send me bug reports, your localization files, ideas on how to improve Subscribe to Comments Reloaded and so on. Whatever you do, thanks for using my plugin!",'subscribe-reloaded') ?></p>
30
-
31
- <h3><?php _e("Vote and show your appreciation",'subscribe-reloaded') ?></h3>
32
- <p><?php _e('Tell other people if Subscribe to Comments Reloaded works for you and how good it is. <a href="http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/">Rate it</a> on its Plugin Directory page.','subscribe-reloaded') ?></p>
4
  header('Location: /');
5
  exit;
6
  }
 
7
 
8
+ // Update options
9
+ if (isset($_POST['options'])){
10
+ $faulty_fields = '';
11
+ if (isset($_POST['options']['notification_subject']) && !subscribe_reloaded_update_option('notification_subject', $_POST['options']['notification_subject'], 'text')) $faulty_fields = __('Notification subject','subscribe-reloaded').', ';
12
+ if (isset($_POST['options']['notification_content']) && !subscribe_reloaded_update_option('notification_content', $_POST['options']['notification_content'], 'text')) $faulty_fields = __('Notification message','subscribe-reloaded').', ';
13
+ if (isset($_POST['options']['double_check_subject']) && !subscribe_reloaded_update_option('double_check_subject', $_POST['options']['double_check_subject'], 'text')) $faulty_fields = __('Double check subject','subscribe-reloaded').', ';
14
+ if (isset($_POST['options']['double_check_content']) && !subscribe_reloaded_update_option('double_check_content', $_POST['options']['double_check_content'], 'text')) $faulty_fields = __('Double check message','subscribe-reloaded').', ';
15
+ if (isset($_POST['options']['management_subject']) && !subscribe_reloaded_update_option('management_subject', $_POST['options']['management_subject'], 'text')) $faulty_fields = __('Management subject','subscribe-reloaded').', ';
16
+ if (isset($_POST['options']['management_content']) && !subscribe_reloaded_update_option('management_content', $_POST['options']['management_content'], 'text')) $faulty_fields = __('Management message','subscribe-reloaded').', ';
17
 
18
+ // Display an alert in the admin interface if something went wrong
19
+ echo '<div class="updated fade"><p>';
20
+ if (empty($faulty_fields)){
21
+ _e('Your settings have been successfully updated.','subscribe-reloaded');
22
+ }
23
+ else{
24
+ _e('There was an error updating the following fields:','subscribe-reloaded');
25
+ echo ' <strong>'.substr($faulty_fields,0,-2).'</strong>';
26
+ }
27
+ echo "</p></div>\n";
28
+ }
29
 
30
+ ?>
31
+ <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=<?php echo $current_panel ?>" method="post">
32
+ <table class="form-table <?php echo $wp_locale->text_direction ?>">
33
+ <tbody>
34
+ <tr>
35
+ <th scope="row"><label for="notification_subject"><?php _e('Notification subject','subscribe-reloaded') ?></label></th>
36
+ <td><input type="text" name="options[notification_subject]" id="notification_subject" value="<?php echo subscribe_reloaded_get_option('notification_subject'); ?>" size="70">
37
+ <div class="description"><?php _e('Subject of the notification email. Allowed tag: [post_title]','subscribe-reloaded'); ?></div></td>
38
+ </tr>
39
+ <tr>
40
+ <th scope="row"><label for="notification_content"><?php _e('Notification message','subscribe-reloaded') ?></label></th>
41
+ <td><textarea name="options[notification_content]" id="notification_content" cols="70" rows="5"><?php echo subscribe_reloaded_get_option('notification_content'); ?></textarea>
42
+ <div class="description" style="padding-top:0"><?php _e('Content of the notification email. Allowed tags: [post_title], [comment_permalink], [comment_author], [comment_content], [post_permalink], [manager_link]','subscribe-reloaded'); ?></div></td>
43
+ </tr>
44
+ <tr>
45
+ <th scope="row"><label for="double_check_subject"><?php _e('Double check subject','subscribe-reloaded') ?></label></th>
46
+ <td><input type="text" name="options[double_check_subject]" id="double_check_subject" value="<?php echo subscribe_reloaded_get_option('double_check_subject'); ?>" size="70">
47
+ <div class="description" style="padding-top:0"><?php _e('Subject of the confirmation email. Allowed tag: [post_title]','subscribe-reloaded'); ?></div></td>
48
+ </tr>
49
+ <tr>
50
+ <th scope="row"><label for="double_check_content"><?php _e('Double check message','subscribe-reloaded') ?></label></th>
51
+ <td><textarea name="options[double_check_content]" id="double_check_content" cols="70" rows="5"><?php echo subscribe_reloaded_get_option('double_check_content'); ?></textarea>
52
+ <div class="description" style="padding-top:0"><?php _e('Content of the confirmation email. Allowed tags: [post_permalink], [confirm_link], [post_title], [manager_link]','subscribe-reloaded'); ?></div></td>
53
+ </tr>
54
+ <tr>
55
+ <th scope="row"><label for="management_subject"><?php _e('Management subject','subscribe-reloaded') ?></label></th>
56
+ <td><input type="text" name="options[management_subject]" id="management_subject" value="<?php echo subscribe_reloaded_get_option('management_subject'); ?>" size="70">
57
+ <div class="description" style="padding-top:0"><?php _e('Subject of the mail sent to those who request to access their management page. Allowed tag: [blog_name]','subscribe-reloaded'); ?></div></td>
58
+ </tr>
59
+ <tr>
60
+ <th scope="row"><label for="management_content"><?php _e('Management message','subscribe-reloaded') ?></label></th>
61
+ <td><textarea name="options[management_content]" id="management_content" cols="70" rows="5"><?php echo subscribe_reloaded_get_option('management_content'); ?></textarea>
62
+ <div class="description" style="padding-top:0"><?php _e('Content of the management email. Allowed tags: [blog_name], [manager_link]','subscribe-reloaded'); ?></div></td>
63
  </tr>
64
  </tbody>
65
  </table>
66
+ <p class="submit"><input type="submit" value="<?php _e('Save Changes') ?>" class="button-primary" name="Submit"></p>
67
+ </form>
 
 
 
 
options/panel5.php ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Avoid direct access to this piece of code
3
+ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
4
+ header('Location: /');
5
+ exit;
6
+ }
7
+
8
+ // Update options
9
+ if (isset($_POST['options'])){
10
+ $faulty_fields = '';
11
+ if (isset($_POST['options']['checkbox_label']) && !subscribe_reloaded_update_option('checkbox_label', $_POST['options']['checkbox_label'], 'text')) $faulty_fields = __('Checkbox label','subscribe-reloaded').', ';
12
+ if (isset($_POST['options']['subscribed_label']) && !subscribe_reloaded_update_option('subscribed_label', $_POST['options']['subscribed_label'], 'text')) $faulty_fields = __('Subscribed label','subscribe-reloaded').', ';
13
+ if (isset($_POST['options']['subscribed_waiting_label']) && !subscribe_reloaded_update_option('subscribed_waiting_label', $_POST['options']['subscribed_waiting_label'], 'text')) $faulty_fields = __('Awaiting label','subscribe-reloaded').', ';
14
+ if (isset($_POST['options']['author_label']) && !subscribe_reloaded_update_option('author_label', $_POST['options']['author_label'], 'text')) $faulty_fields = __('Author label','subscribe-reloaded').', ';
15
+
16
+ if (isset($_POST['options']['manager_page_title']) && !subscribe_reloaded_update_option('manager_page_title', $_POST['options']['manager_page_title'], 'text')) $faulty_fields = __('Page title','subscribe-reloaded').', ';
17
+ if (isset($_POST['options']['request_mgmt_link']) && !subscribe_reloaded_update_option('request_mgmt_link', $_POST['options']['request_mgmt_link'], 'text')) $faulty_fields = __('Request link','subscribe-reloaded').', ';
18
+ if (isset($_POST['options']['request_mgmt_link_thankyou']) && !subscribe_reloaded_update_option('request_mgmt_link_thankyou', $_POST['options']['request_mgmt_link_thankyou'], 'text')) $faulty_fields = __('Request submitted','subscribe-reloaded').', ';
19
+ if (isset($_POST['options']['subscribe_without_commenting']) && !subscribe_reloaded_update_option('subscribe_without_commenting', $_POST['options']['subscribe_without_commenting'], 'text')) $faulty_fields = __('Subscribe without commenting','subscribe-reloaded').', ';
20
+ if (isset($_POST['options']['subscription_confirmed']) && !subscribe_reloaded_update_option('subscription_confirmed', $_POST['options']['subscription_confirmed'], 'text')) $faulty_fields = __('Subscription processed','subscribe-reloaded').', ';
21
+ if (isset($_POST['options']['subscription_confirmed_dci']) && !subscribe_reloaded_update_option('subscription_confirmed_dci', $_POST['options']['subscription_confirmed_dci'], 'text')) $faulty_fields = __('Subscription processed (DCI)','subscribe-reloaded').', ';
22
+ if (isset($_POST['options']['author_text']) && !subscribe_reloaded_update_option('author_text', $_POST['options']['author_text'], 'text')) $faulty_fields = __('Authors','subscribe-reloaded').', ';
23
+ if (isset($_POST['options']['user_text']) && !subscribe_reloaded_update_option('user_text', $_POST['options']['user_text'], 'text')) $faulty_fields = __('Users','subscribe-reloaded').', ';
24
+
25
+ // Display an alert in the admin interface if something went wrong
26
+ echo '<div class="updated fade"><p>';
27
+ if (empty($faulty_fields)){
28
+ _e('Your settings have been successfully updated.','subscribe-reloaded');
29
+ }
30
+ else{
31
+ _e('There was an error updating the following fields:','subscribe-reloaded');
32
+ echo ' <strong>'.substr($faulty_fields,0,-2).'</strong>';
33
+ }
34
+ echo "</p></div>\n";
35
+ }
36
+
37
+ ?>
38
+ <form action="admin.php?page=subscribe-to-comments-reloaded/options/index.php&subscribepanel=<?php echo $current_panel ?>" method="post">
39
+ <h3><?php _e('Comment form','subscribe-reloaded') ?></h3>
40
+ <table class="form-table <?php echo $wp_locale->text_direction ?>">
41
+ <tbody>
42
+ <tr>
43
+ <th scope="row"><label for="checkbox_label"><?php _e('Checkbox label','subscribe-reloaded') ?></label></th>
44
+ <td><input type="text" name="options[checkbox_label]" id="checkbox_label" value="<?php echo subscribe_reloaded_get_option('checkbox_label'); ?>" size="70">
45
+ <div class="description"><?php _e('Label associated to the checkbox. Allowed tag: [subscribe_link]','subscribe-reloaded'); ?></div></td>
46
+ </tr>
47
+ <tr>
48
+ <th scope="row"><label for="subscribed_label"><?php _e('Subscribed label','subscribe-reloaded') ?></label></th>
49
+ <td><input type="text" name="options[subscribed_label]" id="subscribed_label" value="<?php echo subscribe_reloaded_get_option('subscribed_label'); ?>" size="70">
50
+ <div class="description"><?php _e('Label shown to those who are already subscribed to a post. Allowed tag: [manager_link]','subscribe-reloaded'); ?></div></td>
51
+ </tr>
52
+ <tr>
53
+ <th scope="row"><label for="subscribed_waiting_label"><?php _e('Awaiting label','subscribe-reloaded') ?></label></th>
54
+ <td><input type="text" name="options[subscribed_waiting_label]" id="subscribed_waiting_label" value="<?php echo subscribe_reloaded_get_option('subscribed_waiting_label'); ?>" size="70">
55
+ <div class="description"><?php _e("Label shown to those who are already subscribed, but haven't clicked on the confirmation link yet. Allowed tag: [manager_link]",'subscribe-reloaded'); ?></div></td>
56
+ </tr>
57
+ <tr>
58
+ <th scope="row"><label for="author_label"><?php _e('Author label','subscribe-reloaded') ?></label></th>
59
+ <td><input type="text" name="options[author_label]" id="author_label" value="<?php echo subscribe_reloaded_get_option('author_label'); ?>" size="70">
60
+ <div class="description"><?php _e('Label shown to authors (and administrators). Allowed tag: [manager_link]','subscribe-reloaded'); ?></div></td>
61
+ </tr>
62
+ </tbody>
63
+ </table>
64
+ <h3><?php _e('Management page','subscribe-reloaded') ?></h3>
65
+ <table class="form-table <?php echo $wp_locale->text_direction ?>">
66
+ <tbody>
67
+ <tr>
68
+ <th scope="row"><label for="manager_page_title"><?php _e('Page title','subscribe-reloaded') ?></label></th>
69
+ <td><input type="text" name="options[manager_page_title]" id="manager_page_title" value="<?php echo subscribe_reloaded_get_option('manager_page_title'); ?>" size="70">
70
+ <div class="description"><?php _e('Title of the page your visitors will use to manage their subscriptions.','subscribe-reloaded'); ?></div></td>
71
+ </tr>
72
+ <tr>
73
+ <th scope="row"><label for="request_mgmt_link"><?php _e('Request link','subscribe-reloaded') ?></label></th>
74
+ <td><textarea name="options[request_mgmt_link]" id="request_mgmt_link" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('request_mgmt_link'); ?></textarea>
75
+ <div class="description"><?php _e('Text shown to those who request to manage their subscriptions.','subscribe-reloaded'); ?></div></td>
76
+ </tr>
77
+ <tr>
78
+ <th scope="row"><label for="request_mgmt_link_thankyou"><?php _e('Request submitted','subscribe-reloaded') ?></label></th>
79
+ <td><textarea name="options[request_mgmt_link_thankyou]" id="request_mgmt_link_thankyou" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('request_mgmt_link_thankyou'); ?></textarea>
80
+ <div class="description"><?php _e('Thank you note shown after the request here above has been processed.','subscribe-reloaded'); ?></div></td>
81
+ </tr>
82
+ <tr>
83
+ <th scope="row"><label for="subscribe_without_commenting"><?php _e('Subscribe without commenting','subscribe-reloaded') ?></label></th>
84
+ <td><textarea name="options[subscribe_without_commenting]" id="subscribe_without_commenting" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('subscribe_without_commenting'); ?></textarea>
85
+ <div class="description"><?php _e('Text shown to those who want to subscribe without commenting. Allowed tag: [post_title]','subscribe-reloaded'); ?></div></td>
86
+ </tr>
87
+ <tr>
88
+ <th scope="row"><label for="subscription_confirmed"><?php _e('Subscription processed','subscribe-reloaded') ?></label></th>
89
+ <td><textarea name="options[subscription_confirmed]" id="subscription_confirmed" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('subscription_confirmed'); ?></textarea>
90
+ <div class="description"><?php _e('Thank you note shown after the subscription request has been processed (double check-in disabled).','subscribe-reloaded'); ?></div></td>
91
+ </tr>
92
+ <tr>
93
+ <th scope="row"><label for="subscription_confirmed_dci"><?php _e('Subscription processed (DCI)','subscribe-reloaded') ?></label></th>
94
+ <td><textarea name="options[subscription_confirmed_dci]" id="subscription_confirmed_dci" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('subscription_confirmed_dci'); ?></textarea>
95
+ <div class="description"><?php _e('Thank you note shown after the subscription request has been processed (double check-in enabled).','subscribe-reloaded'); ?></div></td>
96
+ </tr>
97
+ <tr>
98
+ <th scope="row"><label for="author_text"><?php _e('Authors','subscribe-reloaded') ?></label></th>
99
+ <td><textarea name="options[author_text]" id="author_text" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('author_text'); ?></textarea>
100
+ <div class="description"><?php _e("Introductory text for the authors' management page.",'subscribe-reloaded'); ?></div></td>
101
+ </tr>
102
+ <tr>
103
+ <th scope="row"><label for="user_text"><?php _e('Users','subscribe-reloaded') ?></label></th>
104
+ <td><textarea name="options[user_text]" id="user_text" rows="3" cols="70"><?php echo subscribe_reloaded_get_option('user_text'); ?></textarea>
105
+ <div class="description"><?php _e("Introductory text for the users' management page.",'subscribe-reloaded'); ?></div></td>
106
+ </tr>
107
+ </tbody>
108
+ </table>
109
+ <p class="submit"><input type="submit" value="<?php _e('Save Changes') ?>" class="button-primary" name="Submit"></p>
110
+ </form>
options/panel6.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Avoid direct access to this piece of code
3
+ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
4
+ header('Location: /');
5
+ exit;
6
+ }
7
+ ?>
8
+
9
+ <table class="form-table">
10
+ <tbody>
11
+ <tr valign="top">
12
+ <th scope="row"><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
13
+ <input type="hidden" name="cmd" value="_s-xclick">
14
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBngge5NiTQd7ePyOWNY6kjSyj/Q74nE0K3TTdGFoCbMdW6Ld1K7ifjcuPubEWZretwChUBBSruL3EI+XRK16SIblLbJGVMBoEaPMY8pEWCKbM9C0frSLWkmHX4jKAwT1bW2fi4jzf4nFxHXyiHd/ieqGcz1/nfKSffkvigmCIz8DELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIs4aMz1tHajWAgYim4zSsL96VbGijTiV+GDHKFPi14KLFmyFAJU5orefIC77/Ijj/vEG7tVAV/RzvKQISpSss2gynFxsUccCrA3umK9h8RTBQnWboOrawh9LlerJgeTdjMznG8rPa1BztYT2QYvlfBiICgQViIqXBpZ03ig+sdwZnq9CXOdW+WpMKfyaEq6U5pm1woIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNDE0MTYyNTU2WjAjBgkqhkiG9w0BCQQxFgQU09GMwy7SPhAXAMsygoSa9ybOqHcwDQYJKoZIhvcNAQEBBQAEgYAeNN2U8by1ew6vdBe0we+yhDjy6ihGhGsd6S7hOsR6esdlisOzUkvYM3p1dE+f2J4+0yQFm7uqKZQ4PbjLw41/PsKrqAo/UACpymR2NhNY2sfMnFfFADJGVTo67+wwC33i0wx+GtrTEeqUlTy9vXyaW0WiKw9HoUxN+AfhyyMS9g==-----END PKCS7-----">
15
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
16
+ <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
17
+ </form>
18
+
19
+
20
+ </th>
21
+ <td class='wrap'>
22
+ <?php _e('How valuable is the feature offered by this plugin to your visitors? Subscribe to Comments Reloaded is and will always be free, but consider supporting the author if this plugin made your web site better, especially if you are making money out of it. Any donation received will be reinvested in the development of Subscribe to Comments Reloaded, and to buy some food for my hungry family.','subscribe-reloaded') ?>
23
+ </td>
24
+ </tr>
25
+ </tbody>
26
+ </table>
27
+
28
+ <h3><?php _e("Don't want to donate? You can still help",'wp-slimstat-options') ?></h3>
29
+ <p><?php _e("If you don't want to donate money, please consider blogging about my plugin with a link to the plugin's page. Please let your readers know what makes your blog better. You can also contribute donating your time: do not hesitate to send me bug reports, your localization files, ideas on how to improve Subscribe to Comments Reloaded and so on. Whatever you do, thanks for using my plugin!",'subscribe-reloaded') ?></p>
30
+
31
+ <h3><?php _e("Vote and show your appreciation",'subscribe-reloaded') ?></h3>
32
+ <p><?php _e('Tell other people if Subscribe to Comments Reloaded works for you and how good it is. <a href="http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/">Rate it</a> on its Plugin Directory page.','subscribe-reloaded') ?></p>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Subscribe To Comments Reloaded ===
2
-
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z732JS7KQ6RRL&lc=US&item_name=Subscribe%20To%20Comments%20Reloaded&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: subscribe, comments, notification, subscription, manage, double check-in, follow, commenting
5
  Requires at least: 2.9.2
6
  Tested up to: 3.1
7
- Stable tag: 1.1
8
 
9
  == Description ==
10
  Subscribe to Comments Reloaded is a robust plugin that enables commenters to sign up for e-mail notification of subsequent entries. The plugin includes a full-featured subscription manager that your commenters can use to unsubscribe to certain posts or suspend all notifications. It solves most of the issues that affect Mark Jaquith's version, using the latest Wordpress features and functionality. Plus, allows administrators to enable a double opt-in mechanism, requiring users to confirm their subscription clicking on a link they will receive via email.
@@ -16,7 +16,7 @@ Subscribe to Comments Reloaded is a robust plugin that enables commenters to sig
16
 
17
  ## Main Features
18
  * Does not modify Wordpress system tables anymore
19
- * Imports Subscribe To Comments data
20
  * Management page is now easier to create and adapts to EVERY layout existing out there
21
  * If you decide to uninstall this plugin, no crap will be left around in your DB, I promise!
22
  * Source code is easier to read and update, and its size is almost halved (you're welcome, providers!)
@@ -41,6 +41,12 @@ Subscribe to Comments Reloaded is a robust plugin that enables commenters to sig
41
 
42
  == Changelog ==
43
 
 
 
 
 
 
 
44
  = 1.1 =
45
  * The admin interface has been completely reorganized
46
  * Added a new option to notify the authors when new comments are posted to one of their articles
@@ -51,4 +57,4 @@ Subscribe to Comments Reloaded is a robust plugin that enables commenters to sig
51
  * Activated the official [support forum](http://lab.duechiacchiere.it/index.php?board=5.0)
52
 
53
  = 1.0 =
54
- * First beta release
1
  === Subscribe To Comments Reloaded ===
2
+ Contributors: coolmann
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z732JS7KQ6RRL&lc=US&item_name=Subscribe%20To%20Comments%20Reloaded&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: subscribe, comments, notification, subscription, manage, double check-in, follow, commenting
5
  Requires at least: 2.9.2
6
  Tested up to: 3.1
7
+ Stable tag: 1.2
8
 
9
  == Description ==
10
  Subscribe to Comments Reloaded is a robust plugin that enables commenters to sign up for e-mail notification of subsequent entries. The plugin includes a full-featured subscription manager that your commenters can use to unsubscribe to certain posts or suspend all notifications. It solves most of the issues that affect Mark Jaquith's version, using the latest Wordpress features and functionality. Plus, allows administrators to enable a double opt-in mechanism, requiring users to confirm their subscription clicking on a link they will receive via email.
16
 
17
  ## Main Features
18
  * Does not modify Wordpress system tables anymore
19
+ * Imports Mark Jaquith's Subscribe To Comments data (**copies and then deletes** the old column in `wp_comments`)
20
  * Management page is now easier to create and adapts to EVERY layout existing out there
21
  * If you decide to uninstall this plugin, no crap will be left around in your DB, I promise!
22
  * Source code is easier to read and update, and its size is almost halved (you're welcome, providers!)
41
 
42
  == Changelog ==
43
 
44
+ = 1.2 =
45
+ * Since a lot of people have asked me to avoid the creation of a new page, I've implemented a new solution to satisfy their request. If you were using an earlier version, **you must delete the page** it had created, it's not needed anymore
46
+ * You can now customize more strings and messages
47
+ * Fully compatible with [Fluency Admin](http://deanjrobinson.com/projects/fluency-admin/) (thank you [voyagerfan5761](http://wordpress.org/support/topic/plugin-subscribe-to-comments-reloaded-feature-ideas))
48
+ * Added a new option to choose if users should be notified for pingbacks/trackbacks
49
+
50
  = 1.1 =
51
  * The admin interface has been completely reorganized
52
  * Added a new option to notify the authors when new comments are posted to one of their articles
57
  * Activated the official [support forum](http://lab.duechiacchiere.it/index.php?board=5.0)
58
 
59
  = 1.0 =
60
+ * First release
style.css CHANGED
@@ -1,10 +1,8 @@
1
  /* View Panel */
2
  #subscribe-to-comments-icon{
3
- background:transparent url(images/subscribe-to-comments.png) no-repeat scroll 4px 4px;
4
- float:left;
5
- height:30px;
6
- margin:16px 2px 0 4px;
7
- width:40px;
8
  }
9
  #subscribe-to-comments-icon.rtl{
10
  float:right;
@@ -23,32 +21,29 @@
23
  }
24
  .wrap h2.medium{
25
  border-bottom:1px solid #CCCCCC;
26
- font-size:12px;
 
27
  padding-bottom:0;
28
  }
29
- .wrap .menu-tabs{
30
- -moz-border-radius:5px 5px 0 0;
31
- background-color:transparent;
32
- border-color:#CCCCCC;
33
- border-style:solid;
34
- border-width:1px 1px 0;
35
  color:#464646;
36
- font-weight:bold;
37
- margin-right:6px;
38
- padding:6px 12px 10px;
 
39
  text-decoration:none;
40
  }
41
- .wrap .menu-tabs.menu-tab-inactive{
42
- border-style:dashed;
43
- font-weight:400;
44
- padding:6px 10px;
 
 
45
  position:relative;
46
- top:5px;
47
  }
48
  .form-table th{
49
  padding:3px 10px;
50
- white-space:nowrap;
51
- width:15%;
52
  }
53
  .form-table td{
54
  padding:3px 10px;
1
  /* View Panel */
2
  #subscribe-to-comments-icon{
3
+ background-image:url(images/subscribe-to-comments.png);
4
+ background-position:center;
5
+ background-repeat:no-repeat;
 
 
6
  }
7
  #subscribe-to-comments-icon.rtl{
8
  float:right;
21
  }
22
  .wrap h2.medium{
23
  border-bottom:1px solid #CCCCCC;
24
+ font-size:.9em;
25
+ margin-bottom:5px;
26
  padding-bottom:0;
27
  }
28
+ .wrap .nav-tab{
29
+ border-style:dashed;
 
 
 
 
30
  color:#464646;
31
+ font-size:1em;
32
+ font-style:normal;
33
+ line-height:1.1em;
34
+ padding:10px;
35
  text-decoration:none;
36
  }
37
+ .wrap a.nav-tab.nav-tab-inactive:hover{
38
+ background-color:#fff;
39
+ }
40
+ .wrap .nav-tab.nav-tab-active{
41
+ border-style:solid;
42
+ font-weight:700;
43
  position:relative;
 
44
  }
45
  .form-table th{
46
  padding:3px 10px;
 
 
47
  }
48
  .form-table td{
49
  padding:3px 10px;
subscribe-to-comments-reloaded.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Subscribe to Comments Reloaded
4
- Version: 1.1
5
  Plugin URI: http://lab.duechiacchiere.it/index.php?board=5.0
6
  Description: Let your users follow the discussion...
7
  Author: camu
@@ -16,8 +16,8 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
16
 
17
  function subscribe_reloaded_show(){
18
  global $post;
19
-
20
- $manager_link = get_permalink(get_option('subscribe_reloaded_manager_page', ''));
21
  if (strpos($manager_link, '?') !== false)
22
  $manager_link = "$manager_link&amp;srp=$post->ID";
23
  else
@@ -42,6 +42,7 @@ function subscribe_reloaded_show(){
42
  stripslashes(get_option('subscribe_reloaded_checkbox_label', "Notify me of followup comments via e-mail. You can also <a href='[subscribe_link]'>subscribe</a> without commenting.")));
43
  echo "<input type='checkbox' name='subscribe-reloaded' id='subscribe-reloaded' value='yes'".(($checked_by_default == 'yes')?" checked='checked'":'')." /> $checkbox_label";
44
  }
 
45
  }
46
 
47
  class wp_subscribe_reloaded {
@@ -86,10 +87,9 @@ class wp_subscribe_reloaded {
86
  if (is_array($result)){
87
  $import_sql = "
88
  INSERT INTO `$this->table_subscriptions` (`email`,`status`,`post_ID`,`dt`)
89
- SELECT `comment_author_email`, `comment_subscribe`, `comment_post_ID`, `comment_date`
90
  FROM $wpdb->comments
91
  WHERE `comment_author_email` LIKE '%@%.%'
92
- GROUP BY `comment_author_email`, `comment_post_ID`
93
  ";
94
  $wpdb->query($import_sql);
95
 
@@ -97,14 +97,27 @@ class wp_subscribe_reloaded {
97
  $wpdb->query("ALTER TABLE $wpdb->comments DROP COLUMN `comment_subscribe`");
98
  }
99
 
100
- add_option('subscribe_reloaded_manager_page', '', '', 'no');
 
 
 
 
 
 
 
 
 
 
 
101
  add_option('subscribe_reloaded_purge_days', '30', '', 'no');
102
  add_option('subscribe_reloaded_from_name', 'admin', '', 'no');
103
  add_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'), '', 'no');
104
  add_option('subscribe_reloaded_checked_by_default', 'no', '', 'no');
105
  add_option('subscribe_reloaded_enable_double_check', 'no', '', 'no');
106
  add_option('subscribe_reloaded_notify_authors', 'no', '', 'no');
 
107
 
 
108
  add_option('subscribe_reloaded_notification_subject', __('There is a new comment to [post_title]','subscribe-reloaded'), '', 'no');
109
  add_option('subscribe_reloaded_notification_content', __('There is a new comment to [post_title].
110
  Comment Link: [comment_permalink]
@@ -130,22 +143,6 @@ Please confirm your request by clicking on this link:
130
  add_option('subscribe_reloaded_management_content', __('You have requested to manage your subscriptions to the articles on [blog_name]. Follow this link to access your personal page:
131
  [manager_link]','subscribe-reloaded'));
132
 
133
- // Generate management page
134
- if (intval(get_option('subscribe_reloaded_manager_page', 0)) <= 0){
135
- $management_page_array = array(
136
- 'post_title' => __('Manage subscriptions', 'subscribe-reloaded'),
137
- 'post_content' => __('Oops, Huston we have a problem! Please contact the administrator of this blog for further details.', 'subscribe-reloaded'),
138
- 'post_type' => 'page',
139
- 'ping_status' => 'closed',
140
- 'comment_status' => 'closed',
141
- 'post_status' => 'publish',
142
- 'post_author' => 1
143
- );
144
- $management_page_id = wp_insert_post($management_page_array);
145
- if (!empty($management_page_id))
146
- update_option('subscribe_reloaded_manager_page', $management_page_id);
147
- }
148
-
149
  // Schedule the autopurge hook
150
  if (!wp_next_scheduled('subscribe_reloaded_purge'))
151
  wp_schedule_event(time(), 'daily', 'subscribe_reloaded_purge');
@@ -174,7 +171,7 @@ Please confirm your request by clicking on this link:
174
  if (($autopurge_interval = intval(get_option('subscribe_reloaded_purge_days', 0))) <= 0) return;
175
 
176
  // Delete old entries
177
- $delete_sql = "DELETE FROM `$this->table_subscriptions` WHERE `dt` <= DATE_SUB(NOW(), INTERVAL $autopurge_interval day) AND `status` = 'C'";
178
  $wpdb->query($delete_sql);
179
  }
180
  // end subscribe_reloaded_purge
@@ -189,7 +186,7 @@ Please confirm your request by clicking on this link:
189
  $from_email = get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
190
  $subject = stripslashes(get_option('subscribe_reloaded_double_check_subject', 'Please confirm your subscribtion to [post_title]'));
191
  $message = stripslashes(get_option('subscribe_reloaded_double_check_content', ''));
192
- $manager_link = get_permalink(get_option('subscribe_reloaded_manager_page', ''));
193
  $clean_email = $this->clean_email($_email);
194
  $subscriber_salt = md5($this->salt.$clean_email);
195
 
@@ -228,8 +225,13 @@ Please confirm your request by clicking on this link:
228
  global $wpdb;
229
 
230
  // Retrieve the information about the new comment
231
- $info = $wpdb->get_row("SELECT `comment_post_ID`, `comment_author_email`, `comment_approved` FROM $wpdb->comments WHERE `comment_ID` = '$_comment_ID' LIMIT 1", OBJECT);
232
- if (empty($info) || $info->comment_approved == 'spam') return $_comment_ID;
 
 
 
 
 
233
 
234
  $subscribed_emails = array();
235
 
@@ -331,34 +333,30 @@ Please confirm your request by clicking on this link:
331
  // Description: Displays the appropriate management page
332
  // Input: default page content
333
  // Output: appropriate page content
334
- public function subscribe_reloaded_manage($_content = ''){
335
- global $post;
336
-
337
- $manager_page_id = get_option('subscribe_reloaded_manager_page', '0');
338
- if (empty($post) || ($post->ID != $manager_page_id) || (strpos($_SERVER['REQUEST_URI'],get_permalink($manager_page_id)) !== false) ) return $_content;
339
 
340
  $post_ID = !empty($_POST['srp'])?intval($_POST['srp']):(!empty($_GET['srp'])?intval($_GET['srp']):0);
341
 
342
  // Is the post_id passed in the query string valid?
343
  $target_post = get_post($post_ID);
344
- if (($post_ID > 0) && !is_object($target_post)){
345
- return $_content;
346
- }
347
-
348
  $action = !empty($_POST['sra'])?$_POST['sra']:(!empty($_GET['sra'])?$_GET['sra']:0);
349
  $email = !empty($_POST['sre'])?urldecode($_POST['sre']):(!empty($_GET['sre'])?urldecode($_GET['sre']):0);
350
  $key = !empty($_POST['srk'])?$_POST['srk']:(!empty($_GET['srk'])?$_GET['srk']:0);
351
 
352
  // Subscribe without commenting
353
  if (!empty($action) && ($action == 's') && ($post_ID > 0)){
354
- include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/subscribe.php');
355
- return '';
356
  }
357
 
358
  // Management page for post authors
359
  if (($post_ID > 0) && $this->is_author($target_post->post_author)){
360
- include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/author.php');
361
- return '';
362
  }
363
 
364
  // Confirm your subscription (double check-in)
@@ -366,23 +364,62 @@ Please confirm your request by clicking on this link:
366
  $this->is_user_subscribed($post_ID, $email, 'C') &&
367
  $this->_is_valid_key($key, $email) &&
368
  ($action = 'c') ){
369
- include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/confirm.php');
370
- return '';
371
  }
372
 
373
  // Manage your subscriptions (user)
374
  if ( !empty($email) && ((!empty($key) && $this->_is_valid_key($key, $email)) || current_user_can('manage_options')) ){
375
- include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/user.php');
376
- return '';
377
- }
378
-
379
- // Get the management link in your email
380
- if (!empty($_COOKIE['comment_author_email_'. COOKIEHASH])){
381
- include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/request-management-link.php');
382
- return '';
383
  }
384
 
385
- return $_content;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  }
387
  // end subscribe_reloaded_manage
388
 
@@ -521,7 +558,7 @@ Please confirm your request by clicking on this link:
521
  $from_email = get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
522
  $subject = stripslashes(get_option('subscribe_reloaded_notification_subject', 'There is a new comment on the post [post_title]'));
523
  $message = stripslashes(get_option('subscribe_reloaded_notification_content', ''));
524
- $manager_link = get_permalink(get_option('subscribe_reloaded_manager_page', ''));
525
  $clean_email = $this->clean_email($_email);
526
  $subscriber_salt = md5($this->salt.$clean_email);
527
  if (strpos($manager_link, '?') !== false){
@@ -604,7 +641,7 @@ add_action('wp_set_comment_status', array( &$wp_subscribe_reloaded, 'comment_sta
604
  add_action( 'delete_post', array( &$wp_subscribe_reloaded, 'delete_subscription' ) );
605
 
606
  // Provide content for the management page using WP filters
607
- add_filter('the_content', array( &$wp_subscribe_reloaded, 'subscribe_reloaded_manage' ), 50);
608
 
609
  // Show the checkbox - You can manually override this by adding the corresponding function in your template
610
  add_action('comment_form', 'subscribe_reloaded_show');
1
  <?php
2
  /*
3
  Plugin Name: Subscribe to Comments Reloaded
4
+ Version: 1.2
5
  Plugin URI: http://lab.duechiacchiere.it/index.php?board=5.0
6
  Description: Let your users follow the discussion...
7
  Author: camu
16
 
17
  function subscribe_reloaded_show(){
18
  global $post;
19
+ echo '<!-- BEGIN: subscribe to comments reloaded -->';
20
+ $manager_link = get_option('subscribe_reloaded_manager_page', '');
21
  if (strpos($manager_link, '?') !== false)
22
  $manager_link = "$manager_link&amp;srp=$post->ID";
23
  else
42
  stripslashes(get_option('subscribe_reloaded_checkbox_label', "Notify me of followup comments via e-mail. You can also <a href='[subscribe_link]'>subscribe</a> without commenting.")));
43
  echo "<input type='checkbox' name='subscribe-reloaded' id='subscribe-reloaded' value='yes'".(($checked_by_default == 'yes')?" checked='checked'":'')." /> $checkbox_label";
44
  }
45
+ echo '<!-- END: subscribe to comments reloaded -->';
46
  }
47
 
48
  class wp_subscribe_reloaded {
87
  if (is_array($result)){
88
  $import_sql = "
89
  INSERT INTO `$this->table_subscriptions` (`email`,`status`,`post_ID`,`dt`)
90
+ SELECT DISTINCT `comment_author_email`, `comment_subscribe`, `comment_post_ID`, `comment_date`
91
  FROM $wpdb->comments
92
  WHERE `comment_author_email` LIKE '%@%.%'
 
93
  ";
94
  $wpdb->query($import_sql);
95
 
97
  $wpdb->query("ALTER TABLE $wpdb->comments DROP COLUMN `comment_subscribe`");
98
  }
99
 
100
+ // Messages related to the management page
101
+ add_option('subscribe_reloaded_manager_page', '/comment-subscriptions', '', 'no');
102
+ add_option('subscribe_reloaded_manager_page_title', __('Manage subscriptions','subscribe-reloaded'), '', 'no');
103
+ add_option('subscribe_reloaded_request_mgmt_link', __('To manage your subscriptions, please enter your email address here below. We will send you a message containing the link to access your personal management page.', 'subscribe-reloaded'), '', 'no');
104
+ add_option('subscribe_reloaded_request_mgmt_link_thankyou', __('Thank you for using our subscription service. Your request has been completed, and you should receive an email with the management link in a few minutes.', 'subscribe-reloaded'), '', 'no');
105
+ add_option('subscribe_reloaded_subscribe_without_commenting', __("You can follow the discussion on <strong>[post_title]</strong> without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you're all set.", 'subscribe-reloaded'), '', 'no');
106
+ add_option('subscribe_reloaded_subscription_confirmed', __("Thank you for using our subscription service. Your request has been completed. You will receive a notification email every time a new comment to this article is approved and posted by the administrator.", 'subscribe-reloaded'), '', 'no');
107
+ add_option('subscribe_reloaded_subscription_confirmed_dci', __("Thank you for using our subscription service. In order to confirm your request, please check your email for the verification message and follow the instructions.", 'subscribe-reloaded'), '', 'no');
108
+ add_option('subscribe_reloaded_author_text', __("In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list.", 'subscribe-reloaded'), '', 'no');
109
+ add_option('subscribe_reloaded_user_text', __("In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. You are currently subscribed to:", 'subscribe-reloaded'), '', 'no');
110
+
111
+ // Options
112
  add_option('subscribe_reloaded_purge_days', '30', '', 'no');
113
  add_option('subscribe_reloaded_from_name', 'admin', '', 'no');
114
  add_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'), '', 'no');
115
  add_option('subscribe_reloaded_checked_by_default', 'no', '', 'no');
116
  add_option('subscribe_reloaded_enable_double_check', 'no', '', 'no');
117
  add_option('subscribe_reloaded_notify_authors', 'no', '', 'no');
118
+ add_option('subscribe_reloaded_process_trackbacks', 'no', '', 'no');
119
 
120
+ // Messages related to the emails generated by StCR
121
  add_option('subscribe_reloaded_notification_subject', __('There is a new comment to [post_title]','subscribe-reloaded'), '', 'no');
122
  add_option('subscribe_reloaded_notification_content', __('There is a new comment to [post_title].
123
  Comment Link: [comment_permalink]
143
  add_option('subscribe_reloaded_management_content', __('You have requested to manage your subscriptions to the articles on [blog_name]. Follow this link to access your personal page:
144
  [manager_link]','subscribe-reloaded'));
145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  // Schedule the autopurge hook
147
  if (!wp_next_scheduled('subscribe_reloaded_purge'))
148
  wp_schedule_event(time(), 'daily', 'subscribe_reloaded_purge');
171
  if (($autopurge_interval = intval(get_option('subscribe_reloaded_purge_days', 0))) <= 0) return;
172
 
173
  // Delete old entries
174
+ $delete_sql = "DELETE FROM `$this->table_subscriptions` WHERE `dt` <= DATE_SUB(NOW(), INTERVAL $autopurge_interval DAY) AND `status` = 'C'";
175
  $wpdb->query($delete_sql);
176
  }
177
  // end subscribe_reloaded_purge
186
  $from_email = get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
187
  $subject = stripslashes(get_option('subscribe_reloaded_double_check_subject', 'Please confirm your subscribtion to [post_title]'));
188
  $message = stripslashes(get_option('subscribe_reloaded_double_check_content', ''));
189
+ $manager_link = get_option('subscribe_reloaded_manager_page', '');
190
  $clean_email = $this->clean_email($_email);
191
  $subscriber_salt = md5($this->salt.$clean_email);
192
 
225
  global $wpdb;
226
 
227
  // Retrieve the information about the new comment
228
+ $info = $wpdb->get_row("SELECT `comment_post_ID`, `comment_author_email`, `comment_approved`, `comment_type` FROM $wpdb->comments WHERE `comment_ID` = '$_comment_ID' LIMIT 1", OBJECT);
229
+ if (empty($info) || $info->comment_approved != '1') return $_comment_ID;
230
+
231
+ // Process trackbacks and pingbacks?
232
+ if ((get_option('subscribe_reloaded_process_trackbacks', 'no') == 'no') &&
233
+ ($info->comment_type == 'trackback' || $info->comment_type == 'pingback')) return $_comment_ID;
234
+
235
 
236
  $subscribed_emails = array();
237
 
333
  // Description: Displays the appropriate management page
334
  // Input: default page content
335
  // Output: appropriate page content
336
+ public function subscribe_reloaded_manage($_input = ''){
337
+ $manager_page_permalink = get_option('subscribe_reloaded_manager_page', 'manage-subscriptions');
338
+
339
+ $find_manager_permalink = strpos($_SERVER["REQUEST_URI"], $manager_page_permalink);
340
+ if ( ($find_manager_permalink === false) || ($find_manager_permalink > 0)) return $_input;
341
 
342
  $post_ID = !empty($_POST['srp'])?intval($_POST['srp']):(!empty($_GET['srp'])?intval($_GET['srp']):0);
343
 
344
  // Is the post_id passed in the query string valid?
345
  $target_post = get_post($post_ID);
346
+ if (($post_ID > 0) && !is_object($target_post)) return $_input;
347
+
 
 
348
  $action = !empty($_POST['sra'])?$_POST['sra']:(!empty($_GET['sra'])?$_GET['sra']:0);
349
  $email = !empty($_POST['sre'])?urldecode($_POST['sre']):(!empty($_GET['sre'])?urldecode($_GET['sre']):0);
350
  $key = !empty($_POST['srk'])?$_POST['srk']:(!empty($_GET['srk'])?$_GET['srk']:0);
351
 
352
  // Subscribe without commenting
353
  if (!empty($action) && ($action == 's') && ($post_ID > 0)){
354
+ $include_post_content = include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/subscribe.php');
 
355
  }
356
 
357
  // Management page for post authors
358
  if (($post_ID > 0) && $this->is_author($target_post->post_author)){
359
+ $include_post_content = include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/author.php');
 
360
  }
361
 
362
  // Confirm your subscription (double check-in)
364
  $this->is_user_subscribed($post_ID, $email, 'C') &&
365
  $this->_is_valid_key($key, $email) &&
366
  ($action = 'c') ){
367
+ $include_post_content = include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/confirm.php');
 
368
  }
369
 
370
  // Manage your subscriptions (user)
371
  if ( !empty($email) && ((!empty($key) && $this->_is_valid_key($key, $email)) || current_user_can('manage_options')) ){
372
+ $include_post_content = include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/user.php');
 
 
 
 
 
 
 
373
  }
374
 
375
+ if (empty($include_post_content))
376
+ $include_post_content = include(WP_PLUGIN_DIR.'/subscribe-to-comments-reloaded/templates/request-management-link.php');
377
+
378
+ global $wp_query;
379
+
380
+ $manager_page_title = get_option('subscribe_reloaded_manager_page_title', 'Manage subscriptions');
381
+ $manager_page_obj = array(
382
+ (object)array(
383
+ 'ID' => '0',
384
+ 'post_author' => '1',
385
+ 'post_date' => '2010-10-27 11:38:56',
386
+ 'post_date_gmt' => '2010-10-27 00:38:56',
387
+ 'post_content' => $include_post_content,
388
+ 'post_title' => $manager_page_title,
389
+ 'post_excerpt' => '',
390
+ 'post_status' => 'publish',
391
+ 'comment_status' => 'closed',
392
+ 'ping_status' => 'closed',
393
+ 'post_password' => '',
394
+ 'post_name' => $manager_page_permalink,
395
+ 'to_ping' => '',
396
+ 'pinged' => '',
397
+ 'post_modified' => '2010-10-27 11:00:01',
398
+ 'post_modified_gmt' => '2010-10-27 00:00:01',
399
+ 'post_content_filtered' => '',
400
+ 'post_parent' => '0',
401
+ 'menu_order' => '0',
402
+ 'post_type' => 'page',
403
+ 'post_mime_type' => '',
404
+ 'post_category' => '0',
405
+ 'comment_count' => '0',
406
+ 'filter' => 'raw'
407
+ )
408
+ );
409
+
410
+ // Make WP believe this is a real page
411
+ $wp_query->is_page = true;
412
+ $wp_query->is_single = false;
413
+
414
+ // Discard 404 errors thrown by other checks
415
+ unset($wp_query->query["error"]);
416
+ $wp_query->query_vars["error"]="";
417
+ $wp_query->is_404=false;
418
+
419
+ // Seems like WP adds its own HTML formatting code to the content, we don't need that here
420
+ remove_filter('the_content','wpautop');
421
+
422
+ return $manager_page_obj;
423
  }
424
  // end subscribe_reloaded_manage
425
 
558
  $from_email = get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
559
  $subject = stripslashes(get_option('subscribe_reloaded_notification_subject', 'There is a new comment on the post [post_title]'));
560
  $message = stripslashes(get_option('subscribe_reloaded_notification_content', ''));
561
+ $manager_link = get_option('subscribe_reloaded_manager_page', '');
562
  $clean_email = $this->clean_email($_email);
563
  $subscriber_salt = md5($this->salt.$clean_email);
564
  if (strpos($manager_link, '?') !== false){
641
  add_action( 'delete_post', array( &$wp_subscribe_reloaded, 'delete_subscription' ) );
642
 
643
  // Provide content for the management page using WP filters
644
+ add_filter('the_posts',array(&$wp_subscribe_reloaded, 'subscribe_reloaded_manage'));
645
 
646
  // Show the checkbox - You can manually override this by adding the corresponding function in your template
647
  add_action('comment_form', 'subscribe_reloaded_show');
templates/author.php CHANGED
@@ -4,11 +4,12 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
4
  header('Location: /');
5
  exit;
6
  }
 
 
7
 
8
  // Load localization files
9
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
10
  $wp_subscribe_reloaded = new wp_subscribe_reloaded();
11
- global $wpdb;
12
 
13
  $clean_post_id = !empty($_POST['srp'])?intval($_POST['srp']):(!empty($_GET['srp'])?intval($_GET['srp']):0);
14
 
@@ -27,12 +28,10 @@ if (!empty($_POST['email_list']) && !empty($_POST['action_type'])){
27
  default:
28
  break;
29
  }
30
- echo '<p>'.__("Subscriptions have been successfully updated. In order to cancel or suspend more notifications, select the corresponding checkbox(es) and click on the button at the end of the list.", 'subscribe-reloaded').'</p>';
31
- }
32
- else{
33
- echo '<p>'.__("You can manage the subscriptions to your articles on this page. In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list.", 'subscribe-reloaded').'</p>';
34
  }
35
 
 
36
  ?>
37
 
38
  <form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>" method="post" id="email_list_form"
@@ -47,7 +46,7 @@ else{
47
  echo '<ul>';
48
  foreach($subscriptions as $i => $a_subscription){
49
  $subscriber_salt = md5($wp_subscribe_reloaded->salt.$a_subscription->email);
50
- $manager_link = get_permalink(get_option('subscribe_reloaded_manager_page', ''));
51
  if (strpos($manager_link, '?') !== false)
52
  $manager_link = "$manager_link&sre=".urlencode($a_subscription->email)."&srk=$subscriber_salt";
53
  else
@@ -68,4 +67,9 @@ else{
68
  }
69
  ?>
70
  </fieldset>
71
- </form>
 
 
 
 
 
4
  header('Location: /');
5
  exit;
6
  }
7
+ global $wpdb;
8
+ ob_start();
9
 
10
  // Load localization files
11
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
12
  $wp_subscribe_reloaded = new wp_subscribe_reloaded();
 
13
 
14
  $clean_post_id = !empty($_POST['srp'])?intval($_POST['srp']):(!empty($_GET['srp'])?intval($_GET['srp']):0);
15
 
28
  default:
29
  break;
30
  }
31
+ echo '<p><b>'.__('Subscriptions have been successfully updated.','subscribe-reloaded').'</b></p>';
 
 
 
32
  }
33
 
34
+ echo '<p>'.stripslashes(get_option('subscribe_reloaded_author_text')).'</p>';
35
  ?>
36
 
37
  <form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>" method="post" id="email_list_form"
46
  echo '<ul>';
47
  foreach($subscriptions as $i => $a_subscription){
48
  $subscriber_salt = md5($wp_subscribe_reloaded->salt.$a_subscription->email);
49
+ $manager_link = get_option('subscribe_reloaded_manager_page', '');
50
  if (strpos($manager_link, '?') !== false)
51
  $manager_link = "$manager_link&sre=".urlencode($a_subscription->email)."&srk=$subscriber_salt";
52
  else
67
  }
68
  ?>
69
  </fieldset>
70
+ </form>
71
+ <?php
72
+ $output = ob_get_contents();
73
+ ob_end_clean();
74
+ return $output;
75
+ ?>
templates/confirm.php CHANGED
@@ -14,6 +14,6 @@ $clean_email = urldecode($wp_subscribe_reloaded->clean_email($_GET['sre']));
14
  $post = get_post($clean_post_id);
15
 
16
  $wpdb->query("UPDATE $wp_subscribe_reloaded->table_subscriptions SET `status` = 'Y' WHERE `email` = '$clean_email' AND `post_ID` = '$clean_post_id'");
17
- echo '<p>'.__("Your subscription has been successfully confirmed. Thank you for using our notification service. Now you will receive a message every time someone posts a new comment to", 'subscribe-reloaded')." $post->post_title</p>";
18
 
19
  ?>
14
  $post = get_post($clean_post_id);
15
 
16
  $wpdb->query("UPDATE $wp_subscribe_reloaded->table_subscriptions SET `status` = 'Y' WHERE `email` = '$clean_email' AND `post_ID` = '$clean_post_id'");
17
+ return '<p>'.stripslashes(get_option('subscribe_reloaded_subscription_confirmed')).'</p>';
18
 
19
  ?>
templates/request-management-link.php CHANGED
@@ -5,6 +5,8 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
5
  exit;
6
  }
7
 
 
 
8
  // Load localization files
9
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
10
 
@@ -14,7 +16,7 @@ $post = get_post($post_ID);
14
  if (($post_ID > 0) && !is_object($post)){
15
  return '';
16
  }
17
- if (!empty($_POST['subscribe_reloaded_email'])){
18
  $wp_subscribe_reloaded = new wp_subscribe_reloaded();
19
 
20
  // Send management link
@@ -22,8 +24,8 @@ if (!empty($_POST['subscribe_reloaded_email'])){
22
  $from_email = get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
23
  $subject = stripslashes(get_option('subscribe_reloaded_management_subject', 'Manage your subscriptions on [blog_name]'));
24
  $message = stripslashes(get_option('subscribe_reloaded_management_content', ''));
25
- $manager_link = get_permalink(get_option('subscribe_reloaded_manager_page', ''));
26
- $clean_email = $wp_subscribe_reloaded->clean_email($_POST['subscribe_reloaded_email']);
27
  $subscriber_salt = md5($wp_subscribe_reloaded->salt.$clean_email);
28
 
29
  $headers = "MIME-Version: 1.0\n";
@@ -42,18 +44,21 @@ if (!empty($_POST['subscribe_reloaded_email'])){
42
 
43
  wp_mail($clean_email, $subject, $message, $headers);
44
 
45
- echo '<p>';
46
- printf(__("Thank you for using our subscription service. Your request has been completed, and you should receive an email with the management link in a few minutes. In the meanwhile, feel free to go back to <a href='%s'>%s</a>.", 'subscribe-reloaded'), get_permalink($post_ID), $post->post_title);
47
- echo '</p>';
48
-
49
- return '';
50
- }
51
  ?>
52
 
53
- <p><?php _e("To manage your subscriptions, please enter your email address here below. We will send you a message containing the link to access your personal management page.", 'subscribe-reloaded'); ?></p>
54
  <form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" onsubmit="if(this.subscribe_reloaded_email.value=='' || his.subscribe_reloaded_email.value.indexOf('@')==0) return false">
55
  <fieldset style="border:0">
56
- <p><label for="subscribe_reloaded_email"><?php _e('Email','subscribe-reloaded') ?></label> <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="<?php echo isset($_COOKIE['comment_author_email_'.COOKIEHASH])?$_COOKIE['comment_author_email_'.COOKIEHASH]:'email'; ?>" size="22"/>
 
57
  <input name="submit" type="submit" class="subscribe-form-button" value="<?php _e('Send','subscribe-reloaded') ?>" /></p>
58
  </fieldset>
59
- </form>
 
 
 
 
 
 
5
  exit;
6
  }
7
 
8
+ ob_start();
9
+
10
  // Load localization files
11
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
12
 
16
  if (($post_ID > 0) && !is_object($post)){
17
  return '';
18
  }
19
+ if (!empty($_POST['sre'])){
20
  $wp_subscribe_reloaded = new wp_subscribe_reloaded();
21
 
22
  // Send management link
24
  $from_email = get_option('subscribe_reloaded_from_email', get_bloginfo('admin_email'));
25
  $subject = stripslashes(get_option('subscribe_reloaded_management_subject', 'Manage your subscriptions on [blog_name]'));
26
  $message = stripslashes(get_option('subscribe_reloaded_management_content', ''));
27
+ $manager_link = get_bloginfo('url').get_option('subscribe_reloaded_manager_page', '');
28
+ $clean_email = $wp_subscribe_reloaded->clean_email($_POST['sre']);
29
  $subscriber_salt = md5($wp_subscribe_reloaded->salt.$clean_email);
30
 
31
  $headers = "MIME-Version: 1.0\n";
44
 
45
  wp_mail($clean_email, $subject, $message, $headers);
46
 
47
+ echo '<p>'.stripslashes(get_option('subscribe_reloaded_request_mgmt_link_thankyou')).'</p>';
48
+ } else {
 
 
 
 
49
  ?>
50
 
51
+ <p><?php echo stripslashes(get_option('subscribe_reloaded_request_mgmt_link')); ?></p>
52
  <form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" onsubmit="if(this.subscribe_reloaded_email.value=='' || his.subscribe_reloaded_email.value.indexOf('@')==0) return false">
53
  <fieldset style="border:0">
54
+ <p><label for="subscribe_reloaded_email"><?php _e('Email','subscribe-reloaded') ?></label>
55
+ <input type="text" class="subscribe-form-field" name="sre" value="<?php echo isset($_COOKIE['comment_author_email_'.COOKIEHASH])?$_COOKIE['comment_author_email_'.COOKIEHASH]:'email'; ?>" size="22"/>
56
  <input name="submit" type="submit" class="subscribe-form-button" value="<?php _e('Send','subscribe-reloaded') ?>" /></p>
57
  </fieldset>
58
+ </form>
59
+ <?php
60
+ }
61
+ $output = ob_get_contents();
62
+ ob_end_clean();
63
+ return $output;
64
+ ?>
templates/subscribe.php CHANGED
@@ -5,6 +5,8 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
5
  exit;
6
  }
7
 
 
 
8
  // Load localization files
9
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
10
 
@@ -35,22 +37,28 @@ if (!empty($_POST['subscribe_reloaded_email'])){
35
  if ($enable_double_check == 'yes' && !$wp_subscribe_reloaded->is_user_subscribed($post_ID, $_POST['subscribe_reloaded_email'], 'C')){
36
  $wp_subscribe_reloaded->add_subscription($_POST['subscribe_reloaded_email'], 'C', $post_ID);
37
  $wp_subscribe_reloaded->confirmation_email($_POST['subscribe_reloaded_email'], $post_ID);
38
- printf(__("Thank you for using our subscription service. In order to confirm your request, please check your email for the verification message and follow the instructions. In the meanwhile, you can go back to <a href='%s'>%s</a>.", 'subscribe-reloaded'), get_permalink($post_ID), $post->post_title);
39
  }
40
  elseif(!$wp_subscribe_reloaded->is_user_subscribed($post_ID, $_POST['subscribe_reloaded_email'], 'Y')){
41
  $this->add_subscription($_POST['subscribe_reloaded_email'], 'Y', $post_ID);
42
- printf(__("Thank you for using our subscription service. Your request has been completed, and you are now subscribed to <a href='%s'>%s</a>. You will receive a notification email every time a new comment to this article is approved and posted by the administrator.", 'subscribe-reloaded'), get_permalink($post_ID), $post->post_title);
43
  }
44
  echo '</p>';
45
 
46
  return '';
47
- }
 
48
  ?>
49
 
50
- <p><?php printf(__("You can follow the discussion on <strong>%s</strong> without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you're all set.", 'subscribe-reloaded'), $post->post_title); ?></p>
51
  <form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" onsubmit="if(this.subscribe_reloaded_email.value=='' || his.subscribe_reloaded_email.value.indexOf('@')==0) return false">
52
  <fieldset style="border:0">
53
  <p><label for="subscribe_reloaded_email"><?php _e('Email','subscribe-reloaded') ?></label> <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="<?php echo isset($_COOKIE['comment_author_email_'.COOKIEHASH])?$_COOKIE['comment_author_email_'.COOKIEHASH]:'email'; ?>" size="22"/>
54
  <input name="submit" type="submit" class="subscribe-form-button" value="<?php _e('Send','subscribe-reloaded') ?>" /></p>
55
  </fieldset>
56
- </form>
 
 
 
 
 
5
  exit;
6
  }
7
 
8
+ ob_start();
9
+
10
  // Load localization files
11
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
12
 
37
  if ($enable_double_check == 'yes' && !$wp_subscribe_reloaded->is_user_subscribed($post_ID, $_POST['subscribe_reloaded_email'], 'C')){
38
  $wp_subscribe_reloaded->add_subscription($_POST['subscribe_reloaded_email'], 'C', $post_ID);
39
  $wp_subscribe_reloaded->confirmation_email($_POST['subscribe_reloaded_email'], $post_ID);
40
+ echo stripslashes(get_option('subscribe_reloaded_subscription_confirmed_dci'));
41
  }
42
  elseif(!$wp_subscribe_reloaded->is_user_subscribed($post_ID, $_POST['subscribe_reloaded_email'], 'Y')){
43
  $this->add_subscription($_POST['subscribe_reloaded_email'], 'Y', $post_ID);
44
+ echo stripslashes(get_option('subscribe_reloaded_subscription_confirmed'));
45
  }
46
  echo '</p>';
47
 
48
  return '';
49
+ }
50
+
51
  ?>
52
 
53
+ <p><?php echo str_replace('[post_title]', $post->post_title, stripslashes(get_option('subscribe_reloaded_subscribe_without_commenting'))); ?></p>
54
  <form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" onsubmit="if(this.subscribe_reloaded_email.value=='' || his.subscribe_reloaded_email.value.indexOf('@')==0) return false">
55
  <fieldset style="border:0">
56
  <p><label for="subscribe_reloaded_email"><?php _e('Email','subscribe-reloaded') ?></label> <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="<?php echo isset($_COOKIE['comment_author_email_'.COOKIEHASH])?$_COOKIE['comment_author_email_'.COOKIEHASH]:'email'; ?>" size="22"/>
57
  <input name="submit" type="submit" class="subscribe-form-button" value="<?php _e('Send','subscribe-reloaded') ?>" /></p>
58
  </fieldset>
59
+ </form>
60
+ <?php
61
+ $output = ob_get_contents();
62
+ ob_end_clean();
63
+ return $output;
64
+ ?>
templates/user.php CHANGED
@@ -4,11 +4,12 @@ if (strpos($_SERVER['SCRIPT_FILENAME'], basename(__FILE__))){
4
  header('Location: /');
5
  exit;
6
  }
 
 
7
 
8
  // Load localization files
9
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
10
  $wp_subscribe_reloaded = new wp_subscribe_reloaded();
11
- global $wpdb;
12
 
13
  if (!empty($_POST['post_list']) && !empty($_POST['action_type'])){
14
  $post_list = implode("','", $_POST['post_list']);
@@ -25,12 +26,10 @@ if (!empty($_POST['post_list']) && !empty($_POST['action_type'])){
25
  default:
26
  break;
27
  }
28
- echo '<p>'.__("Your subscriptions have been successfully updated. In order to cancel or suspend more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. You are currently subscribed to:", 'subscribe-reloaded').'</p>';
29
- }
30
- else{
31
- echo '<p>'.__("You can manage your subscriptions to the article of this blog on this page. In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. You are currently subscribed to:", 'subscribe-reloaded').'</p>';
32
  }
33
 
 
34
  ?>
35
 
36
  <form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>" method="post" id="post_list_form"
@@ -61,4 +60,9 @@ else{
61
  }
62
  ?>
63
  </fieldset>
64
- </form>
 
 
 
 
 
4
  header('Location: /');
5
  exit;
6
  }
7
+ global $wpdb;
8
+ ob_start();
9
 
10
  // Load localization files
11
  load_plugin_textdomain('subscribe-reloaded', WP_PLUGIN_DIR .'/subscribe-to-comments-reloaded/langs', '/subscribe-to-comments-reloaded/langs');
12
  $wp_subscribe_reloaded = new wp_subscribe_reloaded();
 
13
 
14
  if (!empty($_POST['post_list']) && !empty($_POST['action_type'])){
15
  $post_list = implode("','", $_POST['post_list']);
26
  default:
27
  break;
28
  }
29
+ echo '<p><b>'.__('Subscriptions have been successfully updated.','subscribe-reloaded').'</b></p>';
 
 
 
30
  }
31
 
32
+ echo '<p>'.stripslashes(get_option('subscribe_reloaded_user_text')).'</p>';
33
  ?>
34
 
35
  <form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>" method="post" id="post_list_form"
60
  }
61
  ?>
62
  </fieldset>
63
+ </form>
64
+ <?php
65
+ $output = ob_get_contents();
66
+ ob_end_clean();
67
+ return $output;
68
+ ?>
uninstall.php CHANGED
@@ -7,6 +7,7 @@ $wpdb->query("DROP TABLE IF EXISTS `{$wpdb->prefix}subscribe_reloaded`");
7
 
8
  // Goodbye options...
9
  delete_option('subscribe_reloaded_manager_page');
 
10
  delete_option('subscribe_reloaded_purge_days');
11
  delete_option('subscribe_reloaded_from_name');
12
  delete_option('subscribe_reloaded_from_email');
7
 
8
  // Goodbye options...
9
  delete_option('subscribe_reloaded_manager_page');
10
+ delete_option('subscribe_reloaded_manager_page_title');
11
  delete_option('subscribe_reloaded_purge_days');
12
  delete_option('subscribe_reloaded_from_name');
13
  delete_option('subscribe_reloaded_from_email');