Minimal Coming Soon & Maintenance Mode - Version 0.3

Version Description

  • Enhancement: Added one more template.
  • Fix: Custom HTML & CSS issue.
  • Fix: Comment typos and performed code cleaning.
Download this release

Release Info

Developer akshitsethi
Plugin Icon 128x128 Minimal Coming Soon & Maintenance Mode
Version 0.3
Comparing to
See all releases

Code changes from version 0.2 to 0.3

content/css/front.css CHANGED
@@ -445,4 +445,10 @@ h1 { margin-bottom: 30px; }
445
  .simply h1 { font-size: 26px; color: #fff; }
446
  .simply h1 span { background: #ff0000; padding: 8px 16px; border-radius: 4px; }
447
  .simply p { font-size: 14px; color: #333333; }
448
- .simply .signals-response.error { color: #999999; }
 
 
 
 
 
 
445
  .simply h1 { font-size: 26px; color: #fff; }
446
  .simply h1 span { background: #ff0000; padding: 8px 16px; border-radius: 4px; }
447
  .simply p { font-size: 14px; color: #333333; }
448
+ .simply .signals-response.error { color: #ff0000; }
449
+ .black { text-align: center; }
450
+ .black h1 { font-family: "Patua One", sans-serif; color: #ffffff; }
451
+ .black p { font-family: "Open Sans", sans-serif; color: #eeeeee; }
452
+ .black .signals-response { padding: 10px 0; font-size: 14px; color: #999999; }
453
+ .black .signals-response.success { color: #999999; }
454
+ .black .signals-response.error { color: #999999; }
content/img/signals-icon.png CHANGED
Binary file
languages/minimal-coming-soon-maintenance-mode.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Minimal Coming Soon & Maintenance Mode\n"
4
- "POT-Creation-Date: 2014-08-07 00:20+0530\n"
5
- "PO-Revision-Date: 2014-08-07 00:20+0530\n"
6
  "Last-Translator: 69signals <ping@69signals.com>\n"
7
  "Language-Team: 69signals <ping@69signals.com>\n"
8
  "Language: en_US\n"
@@ -15,183 +15,242 @@ msgstr ""
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: library/templates/elegant/html.php:15 library/templates/naked/html.php:15
19
- #: library/templates/simply/html.php:15
 
 
 
20
  msgid "Maintainance Mode"
21
  msgstr ""
22
 
23
- #: library/templates/elegant/html.php:20 library/templates/naked/html.php:20
24
- #: library/templates/simply/html.php:20
 
 
 
25
  msgid "Maintainance Mode."
26
  msgstr ""
27
 
28
- #: library/templates/elegant/html.php:24 library/templates/naked/html.php:24
29
- #: library/templates/simply/html.php:24
 
 
 
30
  msgid ""
31
  "We are performing scheduled maintenance task on our servers because of which "
32
  "the website will be unavailable. In the meantime, you can subscribe to our "
33
  "mailing list and get notified about our important events."
34
  msgstr ""
35
 
36
- #: library/templates/elegant/html.php:122 library/templates/naked/html.php:126
37
- #: library/templates/simply/html.php:124
 
 
 
38
  msgid "Please provide your email address."
39
  msgstr ""
40
 
41
- #: library/templates/elegant/html.php:140 library/templates/naked/html.php:144
42
- #: library/templates/simply/html.php:142
 
 
 
43
  msgid "Oops! Something went wrong."
44
  msgstr ""
45
 
46
- #: library/templates/elegant/html.php:143 library/templates/naked/html.php:147
47
- #: library/templates/simply/html.php:145
 
 
 
48
  msgid "You are already subscribed!"
49
  msgstr ""
50
 
51
- #: library/templates/elegant/html.php:146 library/templates/naked/html.php:150
52
- #: library/templates/simply/html.php:148
 
 
 
53
  msgid "Thank you! We'll be in touch!"
54
  msgstr ""
55
 
56
- #: library/templates/elegant/html.php:150 library/templates/naked/html.php:154
57
- #: library/templates/simply/html.php:152
 
 
 
58
  msgid "Please provide a valid email address."
59
  msgstr ""
60
 
61
- #: library/templates/elegant/html.php:168 library/templates/naked/html.php:172
62
- #: library/templates/simply/html.php:170
 
 
 
63
  msgid "Enter your email here"
64
  msgstr ""
65
 
66
- #: library/templates/elegant/html.php:169 library/templates/naked/html.php:173
67
- #: library/templates/simply/html.php:171
 
 
 
68
  msgid "Subscribe Me"
69
  msgstr ""
70
 
71
- #: library/views/panel.php:15
 
72
  msgid "Minimal Maintenance Mode"
73
  msgstr ""
74
 
75
- #: library/views/panel.php:15
 
76
  msgid "by"
77
  msgstr ""
78
 
79
- #: library/views/panel.php:15
 
80
  msgid "69signals"
81
  msgstr ""
82
 
83
- #: library/views/panel.php:41
 
84
  msgid "Basic"
85
  msgstr ""
86
 
87
- #: library/views/panel.php:44
 
88
  msgid "Email"
89
  msgstr ""
90
 
91
- #: library/views/panel.php:47
 
92
  msgid "Design"
93
  msgstr ""
94
 
95
- #: library/views/panel.php:50
 
96
  msgid "Advanced"
97
  msgstr ""
98
 
99
- #: library/views/panel.php:53
 
100
  msgid "Support"
101
  msgstr ""
102
 
103
- #: library/views/panel.php:56
 
104
  msgid "Information"
105
  msgstr ""
106
 
107
- #: library/views/panel.php:64
 
108
  msgid "BASIC"
109
  msgstr ""
110
 
111
- #: library/views/panel.php:65
 
112
  msgid ""
113
  "Configure the core settings for the plugin. These are the most important "
114
  "options. So, make sure you configure them carefully."
115
  msgstr ""
116
 
117
- #: library/views/panel.php:69
 
118
  msgid "Enable Maintenance Mode?"
119
  msgstr ""
120
 
121
- #: library/views/panel.php:72
 
122
  msgid ""
123
  "Select the status for the plugin. Do you want to enable Maintenance Mode for "
124
  "your website?"
125
  msgstr ""
126
 
127
- #: library/views/panel.php:76
 
128
  msgid "Select Template"
129
  msgstr ""
130
 
131
- #: library/views/panel.php:79
 
132
  msgid "Simply"
133
  msgstr ""
134
 
135
- #: library/views/panel.php:80
 
136
  msgid "Naked"
137
  msgstr ""
138
 
139
- #: library/views/panel.php:81
 
140
  msgid "Elegant"
141
  msgstr ""
142
 
 
143
  #: library/views/panel.php:84
144
  msgid ""
145
  "Select the template for the plugin. This is shown to your website visitors "
146
  "when the plugin is activated."
147
  msgstr ""
148
 
 
149
  #: library/views/panel.php:88
150
  msgid "Page Title"
151
  msgstr ""
152
 
 
153
  #: library/views/panel.php:89
154
  msgid "Please provide a Page Title"
155
  msgstr ""
156
 
 
157
  #: library/views/panel.php:91
158
  msgid "Provide title for the maintenance page."
159
  msgstr ""
160
 
 
161
  #: library/views/panel.php:95
162
  msgid "Header Text"
163
  msgstr ""
164
 
 
165
  #: library/views/panel.php:98
166
  msgid ""
167
  "Provide header text for the plugin over here. If you leave this blank, "
168
  "default text will be used which is not recommended."
169
  msgstr ""
170
 
 
171
  #: library/views/panel.php:102
172
  msgid "Secondary Text"
173
  msgstr ""
174
 
 
175
  #: library/views/panel.php:105
176
  msgid ""
177
  "Provide secondary text for the plugin over here. If you leave this blank, "
178
  "default text will be used which is not recommended."
179
  msgstr ""
180
 
 
181
  #: library/views/panel.php:109
182
  msgid "Show normal website to logged in users?"
183
  msgstr ""
184
 
 
185
  #: library/views/panel.php:112
186
  msgid ""
187
  "Enable this option if you want logged in users to view the website normally "
188
  "while visitors see the maintenance page."
189
  msgstr ""
190
 
 
191
  #: library/views/panel.php:116
192
  msgid "Exclude Search Engines?"
193
  msgstr ""
194
 
 
195
  #: library/views/panel.php:119
196
  msgid ""
197
  "Do you want to exclude search engines from viewing this plugin? This will "
@@ -199,257 +258,323 @@ msgid ""
199
  "page when the plugin is enabled."
200
  msgstr ""
201
 
 
202
  #: library/views/panel.php:127
203
  msgid "EMAIL"
204
  msgstr ""
205
 
 
206
  #: library/views/panel.php:128
207
  msgid ""
208
  "Email settings for the plugin. You can configure your MailChimp account API "
209
  "with this plugin to store collected emails in an list."
210
  msgstr ""
211
 
 
 
212
  #: library/views/panel.php:132 library/views/panel.php:133
213
  msgid "MailChimp API"
214
  msgstr ""
215
 
 
216
  #: library/views/panel.php:135
217
  msgid "Provide your MailChimp API over here."
218
  msgstr ""
219
 
 
220
  #: library/views/panel.php:135
221
  msgid "Click here"
222
  msgstr ""
223
 
 
224
  #: library/views/panel.php:135
225
  msgid ""
226
  "to know how to get this information. In case you don't want to enable "
227
  "subscription option, just leave this field blank."
228
  msgstr ""
229
 
 
230
  #: library/views/panel.php:139
231
  msgid "MailChimp List"
232
  msgstr ""
233
 
 
234
  #: library/views/panel.php:154
235
  msgid ""
236
  "There was an error communicating with the MailChimp server. Please make sure "
237
  "that the API Key used is correct and try again."
238
  msgstr ""
239
 
 
240
  #: library/views/panel.php:156
241
  msgid ""
242
  "It seems that there is no list created for this account. Why not create one "
243
  "on the MailChimp website and then try here."
244
  msgstr ""
245
 
 
246
  #: library/views/panel.php:166
247
  msgid ""
248
  "Select your MailChimp list in which you would like to store the subscribers "
249
  "data."
250
  msgstr ""
251
 
 
252
  #: library/views/panel.php:169
253
  msgid ""
254
  "Provide your MailChimp API key in the above box and click on `Save Changes` "
255
  "option. Your lists will appear over here."
256
  msgstr ""
257
 
 
258
  #: library/views/panel.php:180
259
  msgid "DESIGN"
260
  msgstr ""
261
 
 
262
  #: library/views/panel.php:181
263
  msgid ""
264
  "Design settings for the plugin. You have the option to modify every aspect "
265
  "of the design so that it matches the look and feel of your website."
266
  msgstr ""
267
 
 
268
  #: library/views/panel.php:185
269
  msgid "Ignore Default Template Styles"
270
  msgstr ""
271
 
 
272
  #: library/views/panel.php:188
273
  msgid ""
274
  "Turn ON this option if you want to ignore default template styling and use "
275
  "your custom design scheme from below."
276
  msgstr ""
277
 
 
278
  #: library/views/panel.php:192
279
  msgid "Backgorund Cover Image"
280
  msgstr ""
281
 
 
282
  #: library/views/panel.php:193
283
  msgid "Enter an image URL or upload using the button below"
284
  msgstr ""
285
 
 
286
  #: library/views/panel.php:194
287
  msgid "Upload Image"
288
  msgstr ""
289
 
 
290
  #: library/views/panel.php:196
291
  msgid "Select or upload background cover image for the page."
292
  msgstr ""
293
 
 
294
  #: library/views/panel.php:200
295
  msgid "Backgorund Color"
296
  msgstr ""
297
 
 
298
  #: library/views/panel.php:201
299
  msgid "Background color for the page"
300
  msgstr ""
301
 
 
302
  #: library/views/panel.php:203
303
  msgid ""
304
  "Select background color for the page. Leave it untouched to use the default "
305
  "layout. If the background cover is set, this option will be ignored."
306
  msgstr ""
307
 
 
308
  #: library/views/panel.php:207
309
  msgid "Header Font"
310
  msgstr ""
311
 
 
 
312
  #: library/views/panel.php:210 library/views/panel.php:261
313
  msgid "Arial"
314
  msgstr ""
315
 
 
 
316
  #: library/views/panel.php:211 library/views/panel.php:262
317
  msgid "Helvetica"
318
  msgstr ""
319
 
 
 
320
  #: library/views/panel.php:212 library/views/panel.php:263
321
  msgid "Georgia"
322
  msgstr ""
323
 
 
 
324
  #: library/views/panel.php:213 library/views/panel.php:264
325
  msgid "Times New Roman"
326
  msgstr ""
327
 
 
 
328
  #: library/views/panel.php:214 library/views/panel.php:265
329
  msgid "Tahoma"
330
  msgstr ""
331
 
 
 
332
  #: library/views/panel.php:215 library/views/panel.php:266
333
  msgid "Verdana"
334
  msgstr ""
335
 
 
 
336
  #: library/views/panel.php:216 library/views/panel.php:267
337
  msgid "Geneva"
338
  msgstr ""
339
 
 
 
340
  #: library/views/panel.php:228 library/views/panel.php:279
341
  msgid "This is how this font is going to look!"
342
  msgstr ""
343
 
 
344
  #: library/views/panel.php:230
345
  msgid "Font for the header text. Listing a total of 668 Google web fonts."
346
  msgstr ""
347
 
 
348
  #: library/views/panel.php:234
349
  msgid "Header Font Size"
350
  msgstr ""
351
 
 
 
352
  #: library/views/panel.php:241 library/views/panel.php:292
353
  msgid "px"
354
  msgstr ""
355
 
 
356
  #: library/views/panel.php:247
357
  msgid "Font size for the header text. Select the one as per your preference."
358
  msgstr ""
359
 
 
360
  #: library/views/panel.php:251
361
  msgid "Header Font Color"
362
  msgstr ""
363
 
 
364
  #: library/views/panel.php:252
365
  msgid "Font color for the Header text"
366
  msgstr ""
367
 
 
368
  #: library/views/panel.php:254
369
  msgid ""
370
  "Select font color for the header text. To use the default colors of the "
371
  "theme, leave it untouched."
372
  msgstr ""
373
 
 
374
  #: library/views/panel.php:258
375
  msgid "Secondary Font"
376
  msgstr ""
377
 
 
378
  #: library/views/panel.php:281
379
  msgid "Font for the secondary text. Listing a total of 668 Google web fonts."
380
  msgstr ""
381
 
 
382
  #: library/views/panel.php:285
383
  msgid "Secondary Font Size"
384
  msgstr ""
385
 
 
386
  #: library/views/panel.php:298
387
  msgid ""
388
  "Font size for the secondary text. Select the one as per your preference."
389
  msgstr ""
390
 
 
391
  #: library/views/panel.php:302
392
  msgid "Secondary Font Color"
393
  msgstr ""
394
 
 
395
  #: library/views/panel.php:303
396
  msgid "Font color for the Secondary text"
397
  msgstr ""
398
 
 
399
  #: library/views/panel.php:305
400
  msgid ""
401
  "Select font color for the secondary text. To use the default colors of the "
402
  "theme, leave it untouched."
403
  msgstr ""
404
 
 
405
  #: library/views/panel.php:313
406
  msgid "ADVANCED"
407
  msgstr ""
408
 
 
409
  #: library/views/panel.php:314
410
  msgid ""
411
  "You can add custom HTML & CSS in this section. Making wrong changes over "
412
  "here will affect the working of the plugin."
413
  msgstr ""
414
 
 
415
  #: library/views/panel.php:318
416
  msgid "Use Custom HTML & CSS only"
417
  msgstr ""
418
 
 
419
  #: library/views/panel.php:321
420
  msgid ""
421
  "If you enable this option, the plugin will ignore everything except the HTML "
422
  "& CSS you provide. So, use this option carefully."
423
  msgstr ""
424
 
 
425
  #: library/views/panel.php:325
426
  msgid "Custom HTML"
427
  msgstr ""
428
 
 
429
  #: library/views/panel.php:329
430
  msgid "Custom HTML for the plugin goes over here. Please note that "
431
  msgstr ""
432
 
 
433
  #: library/views/panel.php:329
434
  msgid "[html], [head], [title], [meta], [body], and few other tags"
435
  msgstr ""
436
 
437
- #: library/views/panel.php:329
438
  msgid " gets filtered. Only provide content HTML for the page."
439
  msgstr ""
440
 
 
441
  #: library/views/panel.php:333
442
  msgid "Custom CSS"
443
  msgstr ""
444
 
 
445
  #: library/views/panel.php:337
446
  msgid "Custom CSS for the plugin goes over here."
447
  msgstr ""
448
 
 
449
  #: library/views/panel.php:345
450
  msgid "SUPPORT"
451
  msgstr ""
452
 
 
453
  #: library/views/panel.php:346
454
  msgid ""
455
  "Getting help is just a click away now. Report issue using the form below and "
@@ -457,68 +582,91 @@ msgid ""
457
  "form is not working for you, kindly send us an email at "
458
  msgstr ""
459
 
 
460
  #: library/views/panel.php:346
461
  msgid " explaining the issue you are facing with the plugin."
462
  msgstr ""
463
 
 
464
  #: library/views/panel.php:352
465
  msgid "Email Address"
466
  msgstr ""
467
 
 
468
  #: library/views/panel.php:353
469
  msgid "Please provide your email address"
470
  msgstr ""
471
 
 
472
  #: library/views/panel.php:355
473
  msgid "You will receive support response at this email address."
474
  msgstr ""
475
 
 
476
  #: library/views/panel.php:359
477
  msgid "Issue / Feedback"
478
  msgstr ""
479
 
 
480
  #: library/views/panel.php:362
481
  msgid ""
482
  "Please explain the issue you are facing with the plugin. Provide as much "
483
  "detail as possible."
484
  msgstr ""
485
 
 
486
  #: library/views/panel.php:365
487
  msgid "Ask for Support"
488
  msgstr ""
489
 
 
490
  #: library/views/panel.php:372
491
  msgid "INFORMATION"
492
  msgstr ""
493
 
 
494
  #: library/views/panel.php:373
495
  msgid ""
496
  "Know more about this plugin, about us and what more we have for you. If you "
497
  "love this plugin, then please like us on social media."
498
  msgstr ""
499
 
 
500
  #: library/views/panel.php:394
501
  msgid "OFFERS"
502
  msgstr ""
503
 
 
504
  #: library/views/panel.php:401
505
  msgid "BLOG"
506
  msgstr ""
507
 
 
508
  #: library/views/panel.php:402
509
  msgid ""
510
  "This blog is dedicated to design, coding, jquery, entrepreneurship, and a "
511
  "little bit here & there to make you do stuff the right way."
512
  msgstr ""
513
 
 
514
  #: library/views/panel.php:427
515
  msgid "Save Changes"
516
  msgstr ""
517
 
 
518
  #: minimal-coming-soon-maintenance-mode.php:115
519
  msgid "Coming Soon & Maintenance Mode"
520
  msgstr ""
521
 
 
522
  #: minimal-coming-soon-maintenance-mode.php:116
523
  msgid "Maintenance Mode"
524
  msgstr ""
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Minimal Coming Soon & Maintenance Mode\n"
4
+ "POT-Creation-Date: 2014-08-12 07:09+0530\n"
5
+ "PO-Revision-Date: 2014-08-12 07:09+0530\n"
6
  "Last-Translator: 69signals <ping@69signals.com>\n"
7
  "Language-Team: 69signals <ping@69signals.com>\n"
8
  "Language: en_US\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:15
19
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:15
20
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:15
21
+ #: library/templates/black/html.php:14 library/templates/elegant/html.php:14
22
+ #: library/templates/naked/html.php:14 library/templates/simply/html.php:14
23
  msgid "Maintainance Mode"
24
  msgstr ""
25
 
26
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:20
27
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:20
28
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:20
29
+ #: library/templates/black/html.php:19 library/templates/elegant/html.php:19
30
+ #: library/templates/naked/html.php:19 library/templates/simply/html.php:19
31
  msgid "Maintainance Mode."
32
  msgstr ""
33
 
34
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:24
35
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:24
36
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:24
37
+ #: library/templates/black/html.php:23 library/templates/elegant/html.php:23
38
+ #: library/templates/naked/html.php:23 library/templates/simply/html.php:23
39
  msgid ""
40
  "We are performing scheduled maintenance task on our servers because of which "
41
  "the website will be unavailable. In the meantime, you can subscribe to our "
42
  "mailing list and get notified about our important events."
43
  msgstr ""
44
 
45
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:122
46
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:126
47
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:124
48
+ #: library/templates/black/html.php:119 library/templates/elegant/html.php:121
49
+ #: library/templates/naked/html.php:125 library/templates/simply/html.php:123
50
  msgid "Please provide your email address."
51
  msgstr ""
52
 
53
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:140
54
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:144
55
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:142
56
+ #: library/templates/black/html.php:137 library/templates/elegant/html.php:139
57
+ #: library/templates/naked/html.php:143 library/templates/simply/html.php:141
58
  msgid "Oops! Something went wrong."
59
  msgstr ""
60
 
61
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:143
62
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:147
63
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:145
64
+ #: library/templates/black/html.php:140 library/templates/elegant/html.php:142
65
+ #: library/templates/naked/html.php:146 library/templates/simply/html.php:144
66
  msgid "You are already subscribed!"
67
  msgstr ""
68
 
69
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:146
70
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:150
71
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:148
72
+ #: library/templates/black/html.php:143 library/templates/elegant/html.php:145
73
+ #: library/templates/naked/html.php:149 library/templates/simply/html.php:147
74
  msgid "Thank you! We'll be in touch!"
75
  msgstr ""
76
 
77
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:150
78
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:154
79
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:152
80
+ #: library/templates/black/html.php:147 library/templates/elegant/html.php:149
81
+ #: library/templates/naked/html.php:153 library/templates/simply/html.php:151
82
  msgid "Please provide a valid email address."
83
  msgstr ""
84
 
85
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:168
86
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:172
87
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:170
88
+ #: library/templates/black/html.php:165 library/templates/elegant/html.php:167
89
+ #: library/templates/naked/html.php:171 library/templates/simply/html.php:169
90
  msgid "Enter your email here"
91
  msgstr ""
92
 
93
+ #: bin/trunk__12_Aug_2014/library/templates/elegant/html.php:169
94
+ #: bin/trunk__12_Aug_2014/library/templates/naked/html.php:173
95
+ #: bin/trunk__12_Aug_2014/library/templates/simply/html.php:171
96
+ #: library/templates/black/html.php:166 library/templates/elegant/html.php:168
97
+ #: library/templates/naked/html.php:172 library/templates/simply/html.php:170
98
  msgid "Subscribe Me"
99
  msgstr ""
100
 
101
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:15
102
+ #: library/views/panel.php:14
103
  msgid "Minimal Maintenance Mode"
104
  msgstr ""
105
 
106
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:15
107
+ #: library/views/panel.php:14
108
  msgid "by"
109
  msgstr ""
110
 
111
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:15
112
+ #: library/views/panel.php:14
113
  msgid "69signals"
114
  msgstr ""
115
 
116
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:41
117
+ #: library/views/panel.php:40
118
  msgid "Basic"
119
  msgstr ""
120
 
121
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:44
122
+ #: library/views/panel.php:43
123
  msgid "Email"
124
  msgstr ""
125
 
126
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:47
127
+ #: library/views/panel.php:46
128
  msgid "Design"
129
  msgstr ""
130
 
131
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:50
132
+ #: library/views/panel.php:49
133
  msgid "Advanced"
134
  msgstr ""
135
 
136
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:53
137
+ #: library/views/panel.php:52
138
  msgid "Support"
139
  msgstr ""
140
 
141
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:56
142
+ #: library/views/panel.php:55
143
  msgid "Information"
144
  msgstr ""
145
 
146
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:64
147
+ #: library/views/panel.php:63
148
  msgid "BASIC"
149
  msgstr ""
150
 
151
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:65
152
+ #: library/views/panel.php:64
153
  msgid ""
154
  "Configure the core settings for the plugin. These are the most important "
155
  "options. So, make sure you configure them carefully."
156
  msgstr ""
157
 
158
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:69
159
+ #: library/views/panel.php:68
160
  msgid "Enable Maintenance Mode?"
161
  msgstr ""
162
 
163
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:72
164
+ #: library/views/panel.php:71
165
  msgid ""
166
  "Select the status for the plugin. Do you want to enable Maintenance Mode for "
167
  "your website?"
168
  msgstr ""
169
 
170
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:76
171
+ #: library/views/panel.php:75
172
  msgid "Select Template"
173
  msgstr ""
174
 
175
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:79
176
+ #: library/views/panel.php:78
177
  msgid "Simply"
178
  msgstr ""
179
 
180
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:80
181
+ #: library/views/panel.php:79
182
  msgid "Naked"
183
  msgstr ""
184
 
185
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:81
186
+ #: library/views/panel.php:80
187
  msgid "Elegant"
188
  msgstr ""
189
 
190
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:84
191
  #: library/views/panel.php:84
192
  msgid ""
193
  "Select the template for the plugin. This is shown to your website visitors "
194
  "when the plugin is activated."
195
  msgstr ""
196
 
197
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:88
198
  #: library/views/panel.php:88
199
  msgid "Page Title"
200
  msgstr ""
201
 
202
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:89
203
  #: library/views/panel.php:89
204
  msgid "Please provide a Page Title"
205
  msgstr ""
206
 
207
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:91
208
  #: library/views/panel.php:91
209
  msgid "Provide title for the maintenance page."
210
  msgstr ""
211
 
212
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:95
213
  #: library/views/panel.php:95
214
  msgid "Header Text"
215
  msgstr ""
216
 
217
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:98
218
  #: library/views/panel.php:98
219
  msgid ""
220
  "Provide header text for the plugin over here. If you leave this blank, "
221
  "default text will be used which is not recommended."
222
  msgstr ""
223
 
224
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:102
225
  #: library/views/panel.php:102
226
  msgid "Secondary Text"
227
  msgstr ""
228
 
229
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:105
230
  #: library/views/panel.php:105
231
  msgid ""
232
  "Provide secondary text for the plugin over here. If you leave this blank, "
233
  "default text will be used which is not recommended."
234
  msgstr ""
235
 
236
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:109
237
  #: library/views/panel.php:109
238
  msgid "Show normal website to logged in users?"
239
  msgstr ""
240
 
241
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:112
242
  #: library/views/panel.php:112
243
  msgid ""
244
  "Enable this option if you want logged in users to view the website normally "
245
  "while visitors see the maintenance page."
246
  msgstr ""
247
 
248
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:116
249
  #: library/views/panel.php:116
250
  msgid "Exclude Search Engines?"
251
  msgstr ""
252
 
253
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:119
254
  #: library/views/panel.php:119
255
  msgid ""
256
  "Do you want to exclude search engines from viewing this plugin? This will "
258
  "page when the plugin is enabled."
259
  msgstr ""
260
 
261
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:127
262
  #: library/views/panel.php:127
263
  msgid "EMAIL"
264
  msgstr ""
265
 
266
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:128
267
  #: library/views/panel.php:128
268
  msgid ""
269
  "Email settings for the plugin. You can configure your MailChimp account API "
270
  "with this plugin to store collected emails in an list."
271
  msgstr ""
272
 
273
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:132
274
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:133
275
  #: library/views/panel.php:132 library/views/panel.php:133
276
  msgid "MailChimp API"
277
  msgstr ""
278
 
279
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:135
280
  #: library/views/panel.php:135
281
  msgid "Provide your MailChimp API over here."
282
  msgstr ""
283
 
284
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:135
285
  #: library/views/panel.php:135
286
  msgid "Click here"
287
  msgstr ""
288
 
289
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:135
290
  #: library/views/panel.php:135
291
  msgid ""
292
  "to know how to get this information. In case you don't want to enable "
293
  "subscription option, just leave this field blank."
294
  msgstr ""
295
 
296
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:139
297
  #: library/views/panel.php:139
298
  msgid "MailChimp List"
299
  msgstr ""
300
 
301
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:154
302
  #: library/views/panel.php:154
303
  msgid ""
304
  "There was an error communicating with the MailChimp server. Please make sure "
305
  "that the API Key used is correct and try again."
306
  msgstr ""
307
 
308
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:156
309
  #: library/views/panel.php:156
310
  msgid ""
311
  "It seems that there is no list created for this account. Why not create one "
312
  "on the MailChimp website and then try here."
313
  msgstr ""
314
 
315
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:166
316
  #: library/views/panel.php:166
317
  msgid ""
318
  "Select your MailChimp list in which you would like to store the subscribers "
319
  "data."
320
  msgstr ""
321
 
322
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:169
323
  #: library/views/panel.php:169
324
  msgid ""
325
  "Provide your MailChimp API key in the above box and click on `Save Changes` "
326
  "option. Your lists will appear over here."
327
  msgstr ""
328
 
329
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:180
330
  #: library/views/panel.php:180
331
  msgid "DESIGN"
332
  msgstr ""
333
 
334
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:181
335
  #: library/views/panel.php:181
336
  msgid ""
337
  "Design settings for the plugin. You have the option to modify every aspect "
338
  "of the design so that it matches the look and feel of your website."
339
  msgstr ""
340
 
341
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:185
342
  #: library/views/panel.php:185
343
  msgid "Ignore Default Template Styles"
344
  msgstr ""
345
 
346
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:188
347
  #: library/views/panel.php:188
348
  msgid ""
349
  "Turn ON this option if you want to ignore default template styling and use "
350
  "your custom design scheme from below."
351
  msgstr ""
352
 
353
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:192
354
  #: library/views/panel.php:192
355
  msgid "Backgorund Cover Image"
356
  msgstr ""
357
 
358
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:193
359
  #: library/views/panel.php:193
360
  msgid "Enter an image URL or upload using the button below"
361
  msgstr ""
362
 
363
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:194
364
  #: library/views/panel.php:194
365
  msgid "Upload Image"
366
  msgstr ""
367
 
368
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:196
369
  #: library/views/panel.php:196
370
  msgid "Select or upload background cover image for the page."
371
  msgstr ""
372
 
373
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:200
374
  #: library/views/panel.php:200
375
  msgid "Backgorund Color"
376
  msgstr ""
377
 
378
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:201
379
  #: library/views/panel.php:201
380
  msgid "Background color for the page"
381
  msgstr ""
382
 
383
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:203
384
  #: library/views/panel.php:203
385
  msgid ""
386
  "Select background color for the page. Leave it untouched to use the default "
387
  "layout. If the background cover is set, this option will be ignored."
388
  msgstr ""
389
 
390
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:207
391
  #: library/views/panel.php:207
392
  msgid "Header Font"
393
  msgstr ""
394
 
395
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:210
396
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:261
397
  #: library/views/panel.php:210 library/views/panel.php:261
398
  msgid "Arial"
399
  msgstr ""
400
 
401
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:211
402
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:262
403
  #: library/views/panel.php:211 library/views/panel.php:262
404
  msgid "Helvetica"
405
  msgstr ""
406
 
407
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:212
408
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:263
409
  #: library/views/panel.php:212 library/views/panel.php:263
410
  msgid "Georgia"
411
  msgstr ""
412
 
413
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:213
414
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:264
415
  #: library/views/panel.php:213 library/views/panel.php:264
416
  msgid "Times New Roman"
417
  msgstr ""
418
 
419
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:214
420
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:265
421
  #: library/views/panel.php:214 library/views/panel.php:265
422
  msgid "Tahoma"
423
  msgstr ""
424
 
425
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:215
426
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:266
427
  #: library/views/panel.php:215 library/views/panel.php:266
428
  msgid "Verdana"
429
  msgstr ""
430
 
431
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:216
432
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:267
433
  #: library/views/panel.php:216 library/views/panel.php:267
434
  msgid "Geneva"
435
  msgstr ""
436
 
437
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:228
438
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:279
439
  #: library/views/panel.php:228 library/views/panel.php:279
440
  msgid "This is how this font is going to look!"
441
  msgstr ""
442
 
443
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:230
444
  #: library/views/panel.php:230
445
  msgid "Font for the header text. Listing a total of 668 Google web fonts."
446
  msgstr ""
447
 
448
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:234
449
  #: library/views/panel.php:234
450
  msgid "Header Font Size"
451
  msgstr ""
452
 
453
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:241
454
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:292
455
  #: library/views/panel.php:241 library/views/panel.php:292
456
  msgid "px"
457
  msgstr ""
458
 
459
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:247
460
  #: library/views/panel.php:247
461
  msgid "Font size for the header text. Select the one as per your preference."
462
  msgstr ""
463
 
464
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:251
465
  #: library/views/panel.php:251
466
  msgid "Header Font Color"
467
  msgstr ""
468
 
469
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:252
470
  #: library/views/panel.php:252
471
  msgid "Font color for the Header text"
472
  msgstr ""
473
 
474
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:254
475
  #: library/views/panel.php:254
476
  msgid ""
477
  "Select font color for the header text. To use the default colors of the "
478
  "theme, leave it untouched."
479
  msgstr ""
480
 
481
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:258
482
  #: library/views/panel.php:258
483
  msgid "Secondary Font"
484
  msgstr ""
485
 
486
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:281
487
  #: library/views/panel.php:281
488
  msgid "Font for the secondary text. Listing a total of 668 Google web fonts."
489
  msgstr ""
490
 
491
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:285
492
  #: library/views/panel.php:285
493
  msgid "Secondary Font Size"
494
  msgstr ""
495
 
496
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:298
497
  #: library/views/panel.php:298
498
  msgid ""
499
  "Font size for the secondary text. Select the one as per your preference."
500
  msgstr ""
501
 
502
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:302
503
  #: library/views/panel.php:302
504
  msgid "Secondary Font Color"
505
  msgstr ""
506
 
507
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:303
508
  #: library/views/panel.php:303
509
  msgid "Font color for the Secondary text"
510
  msgstr ""
511
 
512
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:305
513
  #: library/views/panel.php:305
514
  msgid ""
515
  "Select font color for the secondary text. To use the default colors of the "
516
  "theme, leave it untouched."
517
  msgstr ""
518
 
519
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:313
520
  #: library/views/panel.php:313
521
  msgid "ADVANCED"
522
  msgstr ""
523
 
524
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:314
525
  #: library/views/panel.php:314
526
  msgid ""
527
  "You can add custom HTML & CSS in this section. Making wrong changes over "
528
  "here will affect the working of the plugin."
529
  msgstr ""
530
 
531
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:318
532
  #: library/views/panel.php:318
533
  msgid "Use Custom HTML & CSS only"
534
  msgstr ""
535
 
536
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:321
537
  #: library/views/panel.php:321
538
  msgid ""
539
  "If you enable this option, the plugin will ignore everything except the HTML "
540
  "& CSS you provide. So, use this option carefully."
541
  msgstr ""
542
 
543
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:325
544
  #: library/views/panel.php:325
545
  msgid "Custom HTML"
546
  msgstr ""
547
 
548
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:329
549
  #: library/views/panel.php:329
550
  msgid "Custom HTML for the plugin goes over here. Please note that "
551
  msgstr ""
552
 
553
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:329
554
  #: library/views/panel.php:329
555
  msgid "[html], [head], [title], [meta], [body], and few other tags"
556
  msgstr ""
557
 
558
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:329
559
  msgid " gets filtered. Only provide content HTML for the page."
560
  msgstr ""
561
 
562
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:333
563
  #: library/views/panel.php:333
564
  msgid "Custom CSS"
565
  msgstr ""
566
 
567
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:337
568
  #: library/views/panel.php:337
569
  msgid "Custom CSS for the plugin goes over here."
570
  msgstr ""
571
 
572
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:345
573
  #: library/views/panel.php:345
574
  msgid "SUPPORT"
575
  msgstr ""
576
 
577
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:346
578
  #: library/views/panel.php:346
579
  msgid ""
580
  "Getting help is just a click away now. Report issue using the form below and "
582
  "form is not working for you, kindly send us an email at "
583
  msgstr ""
584
 
585
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:346
586
  #: library/views/panel.php:346
587
  msgid " explaining the issue you are facing with the plugin."
588
  msgstr ""
589
 
590
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:352
591
  #: library/views/panel.php:352
592
  msgid "Email Address"
593
  msgstr ""
594
 
595
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:353
596
  #: library/views/panel.php:353
597
  msgid "Please provide your email address"
598
  msgstr ""
599
 
600
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:355
601
  #: library/views/panel.php:355
602
  msgid "You will receive support response at this email address."
603
  msgstr ""
604
 
605
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:359
606
  #: library/views/panel.php:359
607
  msgid "Issue / Feedback"
608
  msgstr ""
609
 
610
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:362
611
  #: library/views/panel.php:362
612
  msgid ""
613
  "Please explain the issue you are facing with the plugin. Provide as much "
614
  "detail as possible."
615
  msgstr ""
616
 
617
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:365
618
  #: library/views/panel.php:365
619
  msgid "Ask for Support"
620
  msgstr ""
621
 
622
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:372
623
  #: library/views/panel.php:372
624
  msgid "INFORMATION"
625
  msgstr ""
626
 
627
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:373
628
  #: library/views/panel.php:373
629
  msgid ""
630
  "Know more about this plugin, about us and what more we have for you. If you "
631
  "love this plugin, then please like us on social media."
632
  msgstr ""
633
 
634
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:394
635
  #: library/views/panel.php:394
636
  msgid "OFFERS"
637
  msgstr ""
638
 
639
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:401
640
  #: library/views/panel.php:401
641
  msgid "BLOG"
642
  msgstr ""
643
 
644
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:402
645
  #: library/views/panel.php:402
646
  msgid ""
647
  "This blog is dedicated to design, coding, jquery, entrepreneurship, and a "
648
  "little bit here & there to make you do stuff the right way."
649
  msgstr ""
650
 
651
+ #: bin/trunk__12_Aug_2014/library/views/panel.php:427
652
  #: library/views/panel.php:427
653
  msgid "Save Changes"
654
  msgstr ""
655
 
656
+ #: bin/trunk__12_Aug_2014/minimal-coming-soon-maintenance-mode.php:115
657
  #: minimal-coming-soon-maintenance-mode.php:115
658
  msgid "Coming Soon & Maintenance Mode"
659
  msgstr ""
660
 
661
+ #: bin/trunk__12_Aug_2014/minimal-coming-soon-maintenance-mode.php:116
662
  #: minimal-coming-soon-maintenance-mode.php:116
663
  msgid "Maintenance Mode"
664
  msgstr ""
665
+
666
+ #: library/views/panel.php:81
667
+ msgid "Black"
668
+ msgstr ""
669
+
670
+ #: library/views/panel.php:329
671
+ msgid " are not required. Only provide content HTML for the page."
672
+ msgstr ""
library/fonts.php CHANGED
@@ -4,7 +4,6 @@
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
7
- * @version 0.2
8
  */
9
 
10
  $signals_google_fonts = array (
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
 
7
  */
8
 
9
  $signals_google_fonts = array (
library/settings.php CHANGED
@@ -4,7 +4,6 @@
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
7
- * @version 0.2
8
  */
9
 
10
  function csSignalsAdminSettings() {
@@ -12,9 +11,6 @@ function csSignalsAdminSettings() {
12
  // Including the MailChimp class.
13
  include ('API/class.MailChimp.php');
14
 
15
- // Allowed HTML and CSS tags.
16
- include ('tags.php');
17
-
18
  // List of Google fonts.
19
  include ('fonts.php');
20
 
@@ -62,14 +58,10 @@ function csSignalsAdminSettings() {
62
  $signals_csmm_list = '';
63
  }
64
 
65
-
66
- // Filtering and Sanitizing data to prevent security issues.
67
- // Sanitization and filtering for the HTML and CSS data.
68
- $signals_csmm_html = wp_kses ($_POST['signals_CSMM_html'], $signals_allowed_tags);
69
- // Balancing tags to ensure all closing tags are present.
70
- $signals_csmm_html = balanceTags ($signals_csmm_html, TRUE);
71
-
72
- $signals_csmm_css = wp_kses ($_POST['signals_CSMM_css'], $signals_allowed_tags);
73
 
74
 
75
  // Saving the record to the database.
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
 
7
  */
8
 
9
  function csSignalsAdminSettings() {
11
  // Including the MailChimp class.
12
  include ('API/class.MailChimp.php');
13
 
 
 
 
14
  // List of Google fonts.
15
  include ('fonts.php');
16
 
58
  $signals_csmm_list = '';
59
  }
60
 
61
+ // Not sanitizing the HTML and CSS provided by the admin.
62
+ // Giving full freedom to them :)
63
+ $signals_csmm_html = $_POST['signals_CSMM_html'];
64
+ $signals_csmm_css = $_POST['signals_CSMM_css'];
 
 
 
 
65
 
66
 
67
  // Saving the record to the database.
library/tags.php DELETED
@@ -1,380 +0,0 @@
1
- <?php
2
- /**
3
- * List of allowed tags for filtering HTML and CSS data.
4
- * @package WordPress
5
- * @subpackage CSMM
6
- * @since 0.1
7
- * @version 0.2
8
- */
9
-
10
- $signals_allowed_tags = array (
11
- 'address' => array (),
12
- 'a' => array (
13
- 'href' => TRUE,
14
- 'rel' => TRUE,
15
- 'rev' => TRUE,
16
- 'name' => TRUE,
17
- 'class' => TRUE,
18
- 'target' => TRUE,
19
- ),
20
- 'abbr' => array (),
21
- 'acronym' => array (),
22
- 'area' => array (
23
- 'alt' => TRUE,
24
- 'coords' => TRUE,
25
- 'href' => TRUE,
26
- 'nohref' => TRUE,
27
- 'shape' => TRUE,
28
- 'target' => TRUE,
29
- ),
30
- 'article' => array (
31
- 'align' => TRUE,
32
- 'dir' => TRUE,
33
- 'lang' => TRUE,
34
- 'xml:lang' => TRUE,
35
- ),
36
- 'aside' => array (
37
- 'align' => TRUE,
38
- 'dir' => TRUE,
39
- 'lang' => TRUE,
40
- 'xml:lang' => TRUE,
41
- ),
42
- 'b' => array (),
43
- 'big' => array (),
44
- 'blockquote' => array (
45
- 'cite' => TRUE,
46
- 'lang' => TRUE,
47
- 'xml:lang' => TRUE,
48
- ),
49
- 'br' => array (),
50
- 'button' => array (
51
- 'disabled' => TRUE,
52
- 'name' => TRUE,
53
- 'type' => TRUE,
54
- 'value' => TRUE,
55
- ),
56
- 'caption' => array (
57
- 'align' => TRUE,
58
- ),
59
- 'center' => array (),
60
- 'cite' => array (
61
- 'dir' => TRUE,
62
- 'lang' => TRUE,
63
- ),
64
- 'code' => array (),
65
- 'col' => array (
66
- 'align' => TRUE,
67
- 'char' => TRUE,
68
- 'charoff' => TRUE,
69
- 'span' => TRUE,
70
- 'dir' => TRUE,
71
- 'valign' => TRUE,
72
- 'width' => TRUE,
73
- ),
74
- 'del' => array (
75
- 'datetime' => TRUE,
76
- ),
77
- 'dd' => array (),
78
- 'dfn' => array (),
79
- 'details' => array (
80
- 'align' => TRUE,
81
- 'dir' => TRUE,
82
- 'lang' => TRUE,
83
- 'open' => TRUE,
84
- 'xml:lang' => TRUE,
85
- ),
86
- 'div' => array (
87
- 'class' => TRUE,
88
- 'align' => TRUE,
89
- 'dir' => TRUE,
90
- 'lang' => TRUE,
91
- 'xml:lang' => TRUE,
92
- ),
93
- 'dl' => array (),
94
- 'dt' => array (),
95
- 'em' => array (),
96
- 'embed' => array (
97
- 'src' => TRUE,
98
- 'type' => TRUE,
99
- 'width' => TRUE,
100
- 'height' => TRUE,
101
- 'allowscriptaccess' => TRUE,
102
- 'allowfullscreen' => TRUE,
103
- ),
104
- 'fieldset' => array (),
105
- 'figure' => array (
106
- 'align' => TRUE,
107
- 'dir' => TRUE,
108
- 'lang' => TRUE,
109
- 'xml:lang' => TRUE,
110
- ),
111
- 'figcaption' => array (
112
- 'align' => TRUE,
113
- 'dir' => TRUE,
114
- 'lang' => TRUE,
115
- 'xml:lang' => TRUE,
116
- ),
117
- 'font' => array (
118
- 'color' => TRUE,
119
- 'face' => TRUE,
120
- 'size' => TRUE,
121
- ),
122
- 'footer' => array (
123
- 'align' => TRUE,
124
- 'dir' => TRUE,
125
- 'lang' => TRUE,
126
- 'xml:lang' => TRUE,
127
- ),
128
- 'form' => array (
129
- 'action' => TRUE,
130
- 'accept' => TRUE,
131
- 'accept-charset' => TRUE,
132
- 'enctype' => TRUE,
133
- 'method' => TRUE,
134
- 'name' => TRUE,
135
- 'target' => TRUE,
136
- ),
137
- 'h1' => array (
138
- 'align' => TRUE,
139
- ),
140
- 'h2' => array (
141
- 'align' => TRUE,
142
- ),
143
- 'h3' => array (
144
- 'align' => TRUE,
145
- ),
146
- 'h4' => array (
147
- 'align' => TRUE,
148
- ),
149
- 'h5' => array (
150
- 'align' => TRUE,
151
- ),
152
- 'h6' => array (
153
- 'align' => TRUE,
154
- ),
155
- 'header' => array (
156
- 'align' => TRUE,
157
- 'dir' => TRUE,
158
- 'lang' => TRUE,
159
- 'xml:lang' => TRUE,
160
- ),
161
- 'hgroup' => array (
162
- 'align' => TRUE,
163
- 'dir' => TRUE,
164
- 'lang' => TRUE,
165
- 'xml:lang' => TRUE,
166
- ),
167
- 'hr' => array (
168
- 'align' => TRUE,
169
- 'noshade' => TRUE,
170
- 'size' => TRUE,
171
- 'width' => TRUE,
172
- ),
173
- 'i' => array (),
174
- 'iframe' => array (
175
- 'align' => TRUE,
176
- 'frameborder' => TRUE,
177
- 'height' => TRUE,
178
- 'longdesc' => TRUE,
179
- 'marginheight' => TRUE,
180
- 'marginwidth' => TRUE,
181
- 'name' => TRUE,
182
- 'sandbox' => TRUE,
183
- 'scrolling' => TRUE,
184
- 'seamless' => TRUE,
185
- 'src' => TRUE,
186
- 'srcdoc' => TRUE,
187
- 'width' => TRUE,
188
- ),
189
- 'img' => array (
190
- 'class' => TRUE,
191
- 'alt' => TRUE,
192
- 'align' => TRUE,
193
- 'border' => TRUE,
194
- 'height' => TRUE,
195
- 'hspace' => TRUE,
196
- 'longdesc' => TRUE,
197
- 'vspace' => TRUE,
198
- 'src' => TRUE,
199
- 'usemap' => TRUE,
200
- 'width' => TRUE,
201
- ),
202
- 'ins' => array (
203
- 'datetime' => TRUE,
204
- 'cite' => TRUE,
205
- ),
206
- 'kbd' => array (),
207
- 'label' => array (
208
- 'for' => TRUE,
209
- ),
210
- 'legend' => array (
211
- 'align' => TRUE,
212
- ),
213
- 'li' => array (
214
- 'align' => TRUE,
215
- 'value' => TRUE,
216
- ),
217
- 'map' => array (
218
- 'name' => TRUE,
219
- ),
220
- 'mark' => array (),
221
- 'menu' => array (
222
- 'type' => TRUE,
223
- ),
224
- 'nav' => array (
225
- 'align' => TRUE,
226
- 'dir' => TRUE,
227
- 'lang' => TRUE,
228
- 'xml:lang' => TRUE,
229
- ),
230
- 'object' => array (
231
- 'width' => TRUE,
232
- 'height' => TRUE,
233
- ),
234
- 'p' => array (
235
- 'align' => TRUE,
236
- 'dir' => TRUE,
237
- 'lang' => TRUE,
238
- 'xml:lang' => TRUE,
239
- ),
240
- 'param' => array (
241
- 'name' => TRUE,
242
- 'value' => TRUE,
243
- ),
244
- 'pre' => array (
245
- 'width' => TRUE,
246
- ),
247
- 'q' => array (
248
- 'cite' => TRUE,
249
- ),
250
- 's' => array (),
251
- 'samp' => array (),
252
- 'span' => array (
253
- 'dir' => TRUE,
254
- 'align' => TRUE,
255
- 'lang' => TRUE,
256
- 'xml:lang' => TRUE,
257
- ),
258
- 'section' => array (
259
- 'align' => TRUE,
260
- 'dir' => TRUE,
261
- 'lang' => TRUE,
262
- 'xml:lang' => TRUE,
263
- ),
264
- 'small' => array (),
265
- 'source' => array (
266
- 'src' => TRUE,
267
- 'type' => TRUE,
268
- ),
269
- 'strike' => array (),
270
- 'strong' => array (),
271
- 'sub' => array (),
272
- 'summary' => array (
273
- 'align' => TRUE,
274
- 'dir' => TRUE,
275
- 'lang' => TRUE,
276
- 'xml:lang' => TRUE,
277
- ),
278
- 'sup' => array (),
279
- 'table' => array (
280
- 'class' => TRUE,
281
- 'align' => TRUE,
282
- 'bgcolor' => TRUE,
283
- 'border' => TRUE,
284
- 'cellpadding' => TRUE,
285
- 'cellspacing' => TRUE,
286
- 'dir' => TRUE,
287
- 'rules' => TRUE,
288
- 'summary' => TRUE,
289
- 'width' => TRUE,
290
- ),
291
- 'tbody' => array (
292
- 'align' => TRUE,
293
- 'char' => TRUE,
294
- 'charoff' => TRUE,
295
- 'valign' => TRUE,
296
- ),
297
- 'td' => array (
298
- 'abbr' => TRUE,
299
- 'align' => TRUE,
300
- 'axis' => TRUE,
301
- 'bgcolor' => TRUE,
302
- 'char' => TRUE,
303
- 'charoff' => TRUE,
304
- 'colspan' => TRUE,
305
- 'dir' => TRUE,
306
- 'headers' => TRUE,
307
- 'height' => TRUE,
308
- 'nowrap' => TRUE,
309
- 'rowspan' => TRUE,
310
- 'scope' => TRUE,
311
- 'valign' => TRUE,
312
- 'width' => TRUE,
313
- ),
314
- 'textarea' => array (
315
- 'cols' => TRUE,
316
- 'rows' => TRUE,
317
- 'disabled' => TRUE,
318
- 'name' => TRUE,
319
- 'readonly' => TRUE,
320
- ),
321
- 'tfoot' => array (
322
- 'align' => TRUE,
323
- 'char' => TRUE,
324
- 'charoff' => TRUE,
325
- 'valign' => TRUE,
326
- ),
327
- 'th' => array (
328
- 'abbr' => TRUE,
329
- 'align' => TRUE,
330
- 'axis' => TRUE,
331
- 'bgcolor' => TRUE,
332
- 'char' => TRUE,
333
- 'charoff' => TRUE,
334
- 'colspan' => TRUE,
335
- 'headers' => TRUE,
336
- 'height' => TRUE,
337
- 'nowrap' => TRUE,
338
- 'rowspan' => TRUE,
339
- 'scope' => TRUE,
340
- 'valign' => TRUE,
341
- 'width' => TRUE,
342
- ),
343
- 'thead' => array (
344
- 'align' => TRUE,
345
- 'char' => TRUE,
346
- 'charoff' => TRUE,
347
- 'valign' => TRUE,
348
- ),
349
- 'title' => array (),
350
- 'tr' => array (
351
- 'align' => TRUE,
352
- 'bgcolor' => TRUE,
353
- 'char' => TRUE,
354
- 'charoff' => TRUE,
355
- 'valign' => TRUE,
356
- ),
357
- 'tt' => array (),
358
- 'u' => array (),
359
- 'ul' => array (
360
- 'class' => TRUE,
361
- 'type' => TRUE,
362
- ),
363
- 'ol' => array (
364
- 'class' => TRUE,
365
- 'start' => TRUE,
366
- 'type' => TRUE,
367
- ),
368
- 'var' => array (),
369
- 'video' => array (
370
- 'autoplay' => TRUE,
371
- 'controls' => TRUE,
372
- 'height' => TRUE,
373
- 'loop' => TRUE,
374
- 'muted' => TRUE,
375
- 'poster' => TRUE,
376
- 'preload' => TRUE,
377
- 'src' => TRUE,
378
- 'width' => TRUE,
379
- ),
380
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
library/templates/black/html.php ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Settings management panel for the plugin. The user set options are processed over here.
4
+ * Template: Black
5
+ *
6
+ * @package WordPress
7
+ * @subpackage CSMM
8
+ * @since 0.3
9
+ *
10
+ * Assigning values if the stored values are empty.
11
+ * Starting with page title.
12
+ */
13
+ if ('' == $signals_csmm_options['title']) {
14
+ $signals_csmm_options['title'] = __('Maintainance Mode', 'signals');
15
+ }
16
+
17
+ // Header Text
18
+ if ('' == $signals_csmm_options['header_text']) {
19
+ $signals_csmm_options['header_text'] = __('Maintainance Mode.', 'signals');
20
+ }
21
+
22
+ if ('' == $signals_csmm_options['secondary_text']) {
23
+ $signals_csmm_options['secondary_text'] = __('We are performing scheduled maintenance task on our servers because of which the website will be unavailable. In the meantime, you can subscribe to our mailing list and get notified about our important events.', 'signals');
24
+ }
25
+
26
+ ?><!DOCTYPE html>
27
+ <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
28
+ <head>
29
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
+ <meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width" />
31
+ <title><?php echo $signals_csmm_options['title']; ?></title>
32
+ <script src='//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js'></script>
33
+ <script>
34
+ WebFont.load({
35
+ google: {
36
+ <?php
37
+
38
+ // Checking whether custom styles are applied or not.
39
+ if (1 == $signals_csmm_options['ignore_template']) {
40
+ echo 'families: ["' . $signals_csmm_options["header_font"] . '", "' . $signals_csmm_options["secondary_font"] . '"]';
41
+ } else {
42
+ echo 'families: ["Patua One", "Open Sans"]';
43
+ }
44
+
45
+ ?>
46
+ }
47
+ });
48
+ </script>
49
+ <link rel="stylesheet" type="text/css" href="<?php echo SIGNALS_CSMM_URL; ?>/content/css/front.css" />
50
+ <style type="text/css">
51
+ body { background-color: #000000; }
52
+ <?php
53
+
54
+ /**
55
+ * Custom styles for the page.
56
+ * Checking whether custom styles are applied or not.
57
+ * "/r/n" is used for the line breaks.
58
+ */
59
+ if (2 == $signals_csmm_options['disable_settings']) {
60
+ if (1 == $signals_csmm_options['ignore_template']) {
61
+ // Applying custom styles to the header text.
62
+ echo 'body { background-color: #' . $signals_csmm_options['bg_color'] . ' !important }' . "\r\n";
63
+
64
+ // Applying custom styles to the header text.
65
+ echo 'h1 { font-family: "' . $signals_csmm_options['header_font'] . '", sans-serif !important; font-size: ' . $signals_csmm_options['header_font_size'] . 'px !important; color: #' . $signals_csmm_options['header_font_color'] . ' !important }' . "\r\n";
66
+
67
+ // Applying custom styles to the secondary text.
68
+ echo 'p { font-family: "' . $signals_csmm_options['secondary_font'] . '", sans-serif !important; font-size: ' . $signals_csmm_options['secondary_font_size'] . 'px !important; color: #' . $signals_csmm_options['secondary_font_color'] . ' !important }' . "\r\n";
69
+ }
70
+ }
71
+
72
+ // Showing the custom CSS over here.
73
+ if (!empty ($signals_csmm_options['custom_css'])) {
74
+ // .CSS for the page.
75
+ echo stripslashes ($signals_csmm_options['custom_css']) . "\r\n";
76
+ }
77
+
78
+ ?>
79
+ </style>
80
+ </head>
81
+ <body>
82
+ <div id="maintenance-mode">
83
+ <div class="black">
84
+
85
+ <?php
86
+
87
+ // If the use only custom .CSS and .JS option is enabled, then don't display the HTML below.
88
+ if (2 == $signals_csmm_options['disable_settings']) {
89
+
90
+ ?>
91
+
92
+ <div class="row">
93
+ <div class="small-12 medium-8 medium-offset-2 columns">
94
+ <h1><?php echo $signals_csmm_options['header_text']; ?></h1>
95
+ <p><?php echo $signals_csmm_options['secondary_text']; ?></p>
96
+ </div>
97
+ </div>
98
+
99
+ <?php
100
+
101
+ // For the custom html part. Showing it above the form as it makes more sense.
102
+ if (!empty ($signals_csmm_options['custom_html'])) {
103
+ echo '<div class="row">' . "\r\n";
104
+ echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
105
+ echo stripslashes ($signals_csmm_options['custom_html']) . "\r\n";
106
+ echo '</div>' . "\r\n";
107
+ echo '</div>' . "\r\n";
108
+ }
109
+
110
+ // Checking for the MailChimp API. If the API and the List ID are present, let's how the form.
111
+ if (!empty ($signals_csmm_options['mailchimp_api']) && !empty ($signals_csmm_options['mailchimp_list'])) {
112
+ // Checking if the form is submitted or not. No AJAX in the free version.
113
+ if (isset ($_POST['signals_email'])) {
114
+ // Do the processing over here.
115
+ $signals_email = csSignalsCleanInput ($_POST['signals_email']);
116
+
117
+ if ('' === $signals_email) {
118
+ $signals_msg['code'] = 'error';
119
+ $signals_msg['response'] = __('Please provide your email address.', 'signals');
120
+ } else {
121
+ $signals_email = filter_var (strtolower (trim ($signals_email)), FILTER_SANITIZE_EMAIL);
122
+
123
+ if (strpos ($signals_email, '@')) {
124
+ require_once SIGNALS_CSMM_PATH . '/library/API/class.MailChimp.php';
125
+
126
+ $signals_connect = new MailChimp ($signals_csmm_options['mailchimp_api']);
127
+ $signals_response = $signals_connect->call ('lists/subscribe', array (
128
+ 'id' => $signals_csmm_options['mailchimp_list'],
129
+ 'email' => array ('email' => $signals_email),
130
+ 'double_optin' => FALSE,
131
+ 'send_welcome' => TRUE
132
+ ));
133
+
134
+ // Showing message as per the response from the MailChimp server.
135
+ if (isset ($signals_response['code']) && 214 !== $signals_response['code']) {
136
+ $signals_msg['code'] = 'error';
137
+ $signals_msg['response'] = __('Oops! Something went wrong.', 'signals');
138
+ } elseif (isset ($signals_response['code']) && 214 === $signals_response['code']) {
139
+ $signals_msg['code'] = 'success';
140
+ $signals_msg['response'] = __('You are already subscribed!', 'signals');
141
+ } else {
142
+ $signals_msg['code'] = 'success';
143
+ $signals_msg['response'] = __('Thank you! We\'ll be in touch!', 'signals');
144
+ }
145
+ } else {
146
+ $signals_msg['code'] = 'error';
147
+ $signals_msg['response'] = __('Please provide a valid email address.', 'signals');
148
+ }
149
+ }
150
+ }
151
+
152
+ ?>
153
+
154
+ <div class="row">
155
+ <div class="small-12 medium-8 medium-offset-2 columns">
156
+ <?php
157
+
158
+ // Showing the error message is its set.
159
+ if (isset ($signals_msg)) {
160
+ echo '<div class="signals-response ' . $signals_msg['code'] . '">' . $signals_msg['response'] . '</div>';
161
+ }
162
+
163
+ ?>
164
+ <form role="form" method="POST">
165
+ <input type="text" name="signals_email" placeholder="<?php _e('Enter your email here'); ?>">
166
+ <button type="submit" class="button small radius"><?php _e('Subscribe Me', 'signals'); ?></button>
167
+ </form>
168
+ </div>
169
+ </div>
170
+
171
+ <script src="<?php echo SIGNALS_CSMM_URL; ?>/content/js/front.js"></script>
172
+ <?php
173
+
174
+ // If the background cover is available.
175
+ if (!empty ($signals_csmm_options['bg_cover'])) {
176
+
177
+ ?>
178
+
179
+ <script type="text/javascript">
180
+ jQuery(document).ready(function() {
181
+ jQuery.backstretch("<?php echo $signals_csmm_options['bg_cover']; ?>");
182
+ });
183
+ </script>
184
+
185
+ <?php
186
+
187
+ }
188
+ }
189
+ } else {
190
+ // Displaying only the html part.
191
+ echo stripslashes ($signals_csmm_options['custom_html']);
192
+ }
193
+
194
+ ?>
195
+
196
+ </div>
197
+ </div>
198
+ </body>
199
+ </html>
library/templates/elegant/html.php CHANGED
@@ -6,7 +6,6 @@
6
  * @package WordPress
7
  * @subpackage CSMM
8
  * @since 0.1
9
- * @version 0.2
10
  *
11
  * Assigning values if the stored values are empty.
12
  * Starting with page title.
@@ -62,7 +61,7 @@ body { background: url('<?php echo SIGNALS_CSMM_URL; ?>/content/img/data/elegant
62
  if (2 == $signals_csmm_options['disable_settings']) {
63
  if (1 == $signals_csmm_options['ignore_template']) {
64
  // Applying custom styles to the header text.
65
- echo 'body { background-color: #' . $signals_csmm_options['bg_color'] . ' !important }' . "\r\n";
66
 
67
  // Applying custom styles to the header text.
68
  echo 'h1 { font-family: "' . $signals_csmm_options['header_font'] . '", sans-serif !important; font-size: ' . $signals_csmm_options['header_font_size'] . 'px !important; color: #' . $signals_csmm_options['header_font_color'] . ' !important }' . "\r\n";
@@ -75,7 +74,7 @@ body { background: url('<?php echo SIGNALS_CSMM_URL; ?>/content/img/data/elegant
75
  // Showing the custom CSS over here.
76
  if (!empty ($signals_csmm_options['custom_css'])) {
77
  // .CSS for the page.
78
- echo $signals_csmm_options['custom_css'] . "\r\n";
79
  }
80
 
81
  ?>
@@ -105,7 +104,7 @@ body { background: url('<?php echo SIGNALS_CSMM_URL; ?>/content/img/data/elegant
105
  if (!empty ($signals_csmm_options['custom_html'])) {
106
  echo '<div class="row">' . "\r\n";
107
  echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
108
- echo $signals_csmm_options['custom_html'] . "\r\n";
109
  echo '</div>' . "\r\n";
110
  echo '</div>' . "\r\n";
111
  }
@@ -191,7 +190,7 @@ body { background: url('<?php echo SIGNALS_CSMM_URL; ?>/content/img/data/elegant
191
  }
192
  } else {
193
  // Displaying only the html part.
194
- echo $signals_csmm_options['custom_html'];
195
  }
196
 
197
  ?>
6
  * @package WordPress
7
  * @subpackage CSMM
8
  * @since 0.1
 
9
  *
10
  * Assigning values if the stored values are empty.
11
  * Starting with page title.
61
  if (2 == $signals_csmm_options['disable_settings']) {
62
  if (1 == $signals_csmm_options['ignore_template']) {
63
  // Applying custom styles to the header text.
64
+ echo 'body { background: #' . $signals_csmm_options['bg_color'] . ' !important }' . "\r\n";
65
 
66
  // Applying custom styles to the header text.
67
  echo 'h1 { font-family: "' . $signals_csmm_options['header_font'] . '", sans-serif !important; font-size: ' . $signals_csmm_options['header_font_size'] . 'px !important; color: #' . $signals_csmm_options['header_font_color'] . ' !important }' . "\r\n";
74
  // Showing the custom CSS over here.
75
  if (!empty ($signals_csmm_options['custom_css'])) {
76
  // .CSS for the page.
77
+ echo stripslashes ($signals_csmm_options['custom_css']) . "\r\n";
78
  }
79
 
80
  ?>
104
  if (!empty ($signals_csmm_options['custom_html'])) {
105
  echo '<div class="row">' . "\r\n";
106
  echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
107
+ echo stripslashes ($signals_csmm_options['custom_html']) . "\r\n";
108
  echo '</div>' . "\r\n";
109
  echo '</div>' . "\r\n";
110
  }
190
  }
191
  } else {
192
  // Displaying only the html part.
193
+ echo stripslashes ($signals_csmm_options['custom_html']);
194
  }
195
 
196
  ?>
library/templates/naked/html.php CHANGED
@@ -6,7 +6,6 @@
6
  * @package WordPress
7
  * @subpackage CSMM
8
  * @since 0.1
9
- * @version 0.2
10
  *
11
  * Assigning values if the stored values are empty.
12
  * Starting with page title.
@@ -79,7 +78,7 @@ if ('' == $signals_csmm_options['secondary_text']) {
79
  echo '<style type="text/css">' . "\r\n";
80
 
81
  // .CSS for the page.
82
- echo $signals_csmm_options['custom_css'] . "\r\n";
83
 
84
  echo '</style>' . "\r\n";
85
  }
@@ -109,7 +108,7 @@ if ('' == $signals_csmm_options['secondary_text']) {
109
  if (!empty ($signals_csmm_options['custom_html'])) {
110
  echo '<div class="row">' . "\r\n";
111
  echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
112
- echo $signals_csmm_options['custom_html'] . "\r\n";
113
  echo '</div>' . "\r\n";
114
  echo '</div>' . "\r\n";
115
  }
@@ -170,7 +169,7 @@ if ('' == $signals_csmm_options['secondary_text']) {
170
  ?>
171
  <form role="form" method="POST">
172
  <input type="text" name="signals_email" placeholder="<?php _e('Enter your email here'); ?>">
173
- <button type="submit" class="button small radius alert"><?php _e('Subscribe Me', 'signals'); ?></button>
174
  </form>
175
  </div>
176
  </div>
@@ -195,7 +194,7 @@ if ('' == $signals_csmm_options['secondary_text']) {
195
  }
196
  } else {
197
  // Displaying only the html part.
198
- echo $signals_csmm_options['custom_html'];
199
  }
200
 
201
  ?>
6
  * @package WordPress
7
  * @subpackage CSMM
8
  * @since 0.1
 
9
  *
10
  * Assigning values if the stored values are empty.
11
  * Starting with page title.
78
  echo '<style type="text/css">' . "\r\n";
79
 
80
  // .CSS for the page.
81
+ echo stripslashes ($signals_csmm_options['custom_css']) . "\r\n";
82
 
83
  echo '</style>' . "\r\n";
84
  }
108
  if (!empty ($signals_csmm_options['custom_html'])) {
109
  echo '<div class="row">' . "\r\n";
110
  echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
111
+ echo stripslashes ($signals_csmm_options['custom_html']) . "\r\n";
112
  echo '</div>' . "\r\n";
113
  echo '</div>' . "\r\n";
114
  }
169
  ?>
170
  <form role="form" method="POST">
171
  <input type="text" name="signals_email" placeholder="<?php _e('Enter your email here'); ?>">
172
+ <button type="submit" class="button small radius"><?php _e('Subscribe Me', 'signals'); ?></button>
173
  </form>
174
  </div>
175
  </div>
194
  }
195
  } else {
196
  // Displaying only the html part.
197
+ echo stripslashes ($signals_csmm_options['custom_html']);
198
  }
199
 
200
  ?>
library/templates/simply/html.php CHANGED
@@ -6,7 +6,6 @@
6
  * @package WordPress
7
  * @subpackage CSMM
8
  * @since 0.1
9
- * @version 0.2
10
  *
11
  * Assigning values if the stored values are empty.
12
  * Starting with page title.
@@ -75,7 +74,7 @@ body { background-color: #ffffff; }
75
  // Showing the custom CSS over here.
76
  if (!empty ($signals_csmm_options['custom_css'])) {
77
  // .CSS for the page.
78
- echo $signals_csmm_options['custom_css'] . "\r\n";
79
  }
80
 
81
  ?>
@@ -107,7 +106,7 @@ body { background-color: #ffffff; }
107
  if (!empty ($signals_csmm_options['custom_html'])) {
108
  echo '<div class="row">' . "\r\n";
109
  echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
110
- echo $signals_csmm_options['custom_html'] . "\r\n";
111
  echo '</div>' . "\r\n";
112
  echo '</div>' . "\r\n";
113
  }
@@ -193,7 +192,7 @@ body { background-color: #ffffff; }
193
  }
194
  } else {
195
  // Displaying only the html part.
196
- echo $signals_csmm_options['custom_html'];
197
  }
198
 
199
  ?>
6
  * @package WordPress
7
  * @subpackage CSMM
8
  * @since 0.1
 
9
  *
10
  * Assigning values if the stored values are empty.
11
  * Starting with page title.
74
  // Showing the custom CSS over here.
75
  if (!empty ($signals_csmm_options['custom_css'])) {
76
  // .CSS for the page.
77
+ echo stripslashes ($signals_csmm_options['custom_css']) . "\r\n";
78
  }
79
 
80
  ?>
106
  if (!empty ($signals_csmm_options['custom_html'])) {
107
  echo '<div class="row">' . "\r\n";
108
  echo '<div class="small-12 medium-8 medium-offset-2 columns">' . "\r\n";
109
+ echo stripslashes ($signals_csmm_options['custom_html']) . "\r\n";
110
  echo '</div>' . "\r\n";
111
  echo '</div>' . "\r\n";
112
  }
192
  }
193
  } else {
194
  // Displaying only the html part.
195
+ echo stripslashes ($signals_csmm_options['custom_html']);
196
  }
197
 
198
  ?>
library/views/panel.php CHANGED
@@ -4,7 +4,6 @@
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
7
- * @version 0.2
8
  */
9
  ?>
10
 
@@ -79,6 +78,7 @@
79
  <option value="simply"<?php selected ($signals_csmm_options['template'], 'simply'); ?>><?php _e('Simply', 'signals'); ?></option>
80
  <option value="naked"<?php selected ($signals_csmm_options['template'], 'naked'); ?>><?php _e('Naked', 'signals'); ?></option>
81
  <option value="elegant"<?php selected ($signals_csmm_options['template'], 'elegant'); ?>><?php _e('Elegant', 'signals'); ?></option>
 
82
  </select>
83
 
84
  <p class="Signals_Form_Help_Block"><?php _e('Select the template for the plugin. This is shown to your website visitors when the plugin is activated.', 'signals'); ?></p>
@@ -324,15 +324,15 @@
324
  <div class="Signals_Form_Group">
325
  <label for="signals_CSMM_html" class="Signals_CSMM_Strong"><?php _e('Custom HTML', 'signals'); ?></label>
326
  <div id="signals_CSMM_html_editor"></div>
327
- <textarea name="signals_CSMM_html" id="signals_CSMM_html" class="Signals_CSMM_Block" rows="8" placeholder="Custom HTML for the plugin"><?php echo esc_textarea ($signals_csmm_options['custom_html']); ?></textarea>
328
 
329
- <p class="Signals_Form_Help_Block"><?php echo __('Custom HTML for the plugin goes over here. Please note that ', 'signals') . '<i style="color: #f96773">' . __('[html], [head], [title], [meta], [body], and few other tags', 'signals') . '</i>' . __(' gets filtered. Only provide content HTML for the page.', 'signals'); ?></p>
330
  </div>
331
 
332
  <div class="Signals_Form_Group">
333
  <label for="signals_CSMM_disable" class="Signals_CSMM_Strong"><?php _e('Custom CSS', 'signals'); ?></label>
334
  <div id="signals_CSMM_css_editor"></div>
335
- <textarea name="signals_CSMM_css" id="signals_CSMM_css" class="Signals_CSMM_Block" rows="8" placeholder="Custom CSS for the plugin"><?php echo esc_textarea ($signals_csmm_options['custom_css']); ?></textarea>
336
 
337
  <p class="Signals_Form_Help_Block"><?php _e('Custom CSS for the plugin goes over here.', 'signals'); ?></p>
338
  </div>
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
 
7
  */
8
  ?>
9
 
78
  <option value="simply"<?php selected ($signals_csmm_options['template'], 'simply'); ?>><?php _e('Simply', 'signals'); ?></option>
79
  <option value="naked"<?php selected ($signals_csmm_options['template'], 'naked'); ?>><?php _e('Naked', 'signals'); ?></option>
80
  <option value="elegant"<?php selected ($signals_csmm_options['template'], 'elegant'); ?>><?php _e('Elegant', 'signals'); ?></option>
81
+ <option value="black"<?php selected ($signals_csmm_options['template'], 'black'); ?>><?php _e('Black', 'signals'); ?></option>
82
  </select>
83
 
84
  <p class="Signals_Form_Help_Block"><?php _e('Select the template for the plugin. This is shown to your website visitors when the plugin is activated.', 'signals'); ?></p>
324
  <div class="Signals_Form_Group">
325
  <label for="signals_CSMM_html" class="Signals_CSMM_Strong"><?php _e('Custom HTML', 'signals'); ?></label>
326
  <div id="signals_CSMM_html_editor"></div>
327
+ <textarea name="signals_CSMM_html" id="signals_CSMM_html" class="Signals_CSMM_Block" rows="8" placeholder="Custom HTML for the plugin"><?php echo stripslashes ($signals_csmm_options['custom_html']); ?></textarea>
328
 
329
+ <p class="Signals_Form_Help_Block"><?php echo __('Custom HTML for the plugin goes over here. Please note that ', 'signals') . '<i style="color: #f96773">' . __('[html], [head], [title], [meta], [body], and few other tags', 'signals') . '</i>' . __(' are not required. Only provide content HTML for the page.', 'signals'); ?></p>
330
  </div>
331
 
332
  <div class="Signals_Form_Group">
333
  <label for="signals_CSMM_disable" class="Signals_CSMM_Strong"><?php _e('Custom CSS', 'signals'); ?></label>
334
  <div id="signals_CSMM_css_editor"></div>
335
+ <textarea name="signals_CSMM_css" id="signals_CSMM_css" class="Signals_CSMM_Block" rows="8" placeholder="Custom CSS for the plugin"><?php echo stripslashes ($signals_csmm_options['custom_css']); ?></textarea>
336
 
337
  <p class="Signals_Form_Help_Block"><?php _e('Custom CSS for the plugin goes over here.', 'signals'); ?></p>
338
  </div>
minimal-coming-soon-maintenance-mode.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  Plugin URI: http://www.69signals.com/minimal-coming-soon-maintenance-mode-plugin.php
5
  Description: Simply awesome coming soon & maintenance mode plugin for your WordPress blog. Try it to know why there is no other plugin like this one.
6
- Version: 0.2
7
  Author: akshitsethi
8
  Author URI: http://www.69signals.com
9
  Domain Path: /languages/
@@ -25,10 +25,10 @@ GNU General Public License for more details.
25
  You should have received a copy of the GNU General Public License
26
  along with this program. If not, see <http://www.gnu.org/licenses/>.
27
 
28
- - Setting up the plugin base over here.
29
- - Required .JS and .CSS files are included.
30
- - Including the required files if the user is admin.
31
- - Defining constants and activation hook.
32
  */
33
  define ('SIGNALS_CSMM_URL', plugins_url ('', __FILE__));
34
  define ('SIGNALS_CSMM_PATH', plugin_dir_path (__FILE__));
3
  Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  Plugin URI: http://www.69signals.com/minimal-coming-soon-maintenance-mode-plugin.php
5
  Description: Simply awesome coming soon & maintenance mode plugin for your WordPress blog. Try it to know why there is no other plugin like this one.
6
+ Version: 0.3
7
  Author: akshitsethi
8
  Author URI: http://www.69signals.com
9
  Domain Path: /languages/
25
  You should have received a copy of the GNU General Public License
26
  along with this program. If not, see <http://www.gnu.org/licenses/>.
27
 
28
+ * Setting up the plugin base over here.
29
+ * Required .JS and .CSS files are included.
30
+ * Including the required files if the user is admin.
31
+ * Defining constants and activation hook.
32
  */
33
  define ('SIGNALS_CSMM_URL', plugins_url ('', __FILE__));
34
  define ('SIGNALS_CSMM_PATH', plugin_dir_path (__FILE__));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.69signals.com/
4
  Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, newsletter, offline, unavailable, under construction, wordpress coming soon, wordpress maintenance mode, wordpress under construction
5
  Requires at least: 3.0.1
6
  Tested up to: 4.0
7
- Stable tag: 0.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -26,7 +26,7 @@ It's Simple + flexible and works with any WordPress theme you have installed on
26
  * Collect Emails with MailChimp.
27
  * You can let search engines to view website normally while visitors see the "Coming Soon" page.
28
  * Visible to only non logged in users so you can build your site while visitors see the "Coming Soon" page. Configurable via options panel.
29
- * 3 Simple and Minimal templates included.
30
  * Integrated with Google Fonts.
31
  * Stretch Background Image to Cover the Entire Browser.
32
  * Uses HTML5 & CSS3.
@@ -52,8 +52,24 @@ To manually install this plugin, please follow the instructions below.
52
 
53
  Getting help is just a click away now. Report issue using the support form in the plugin options panel and we will get back to you at your admin email address. If the support form is not working for you, kindly send us an email at support@69signals.com explaining the issue you are facing with the plugin.
54
 
 
 
 
 
 
 
 
 
 
 
 
55
  == Changelog ==
56
 
 
 
 
 
 
57
  = 0.2 =
58
  * Enhancement: Allow logged in users to visit the website normally. Option can be turned on or off.
59
  * Enhancement: Support for adding videos via custom HTML option.
@@ -64,4 +80,4 @@ Getting help is just a click away now. Report issue using the support form in th
64
 
65
  == Upgrade Notice ==
66
 
67
- Added option to allow logged in users to visit the website normally, support for adding videos via custom HTML option, and fixed translation file issue.
4
  Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, newsletter, offline, unavailable, under construction, wordpress coming soon, wordpress maintenance mode, wordpress under construction
5
  Requires at least: 3.0.1
6
  Tested up to: 4.0
7
+ Stable tag: 0.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
26
  * Collect Emails with MailChimp.
27
  * You can let search engines to view website normally while visitors see the "Coming Soon" page.
28
  * Visible to only non logged in users so you can build your site while visitors see the "Coming Soon" page. Configurable via options panel.
29
+ * 4 Simple and Minimal templates included.
30
  * Integrated with Google Fonts.
31
  * Stretch Background Image to Cover the Entire Browser.
32
  * Uses HTML5 & CSS3.
52
 
53
  Getting help is just a click away now. Report issue using the support form in the plugin options panel and we will get back to you at your admin email address. If the support form is not working for you, kindly send us an email at support@69signals.com explaining the issue you are facing with the plugin.
54
 
55
+ == Screenshots ==
56
+
57
+ 1. A minimal Maintenance Mode page that also allow users to subscribe.
58
+ 2. Another minimal template (Naked) with custom Google fonts.
59
+ 3. Another example of template usage.
60
+ 4. Options panel (Basic Settings).
61
+ 5. Options panel (Email Settings).
62
+ 6. Options panel (Design Settings).
63
+ 7. Options panel (Advanced Settings).
64
+ 8. Get support within the options panel without leaving your website. Isn't that cool?
65
+
66
  == Changelog ==
67
 
68
+ = 0.3 =
69
+ * Enhancement: Added one more template.
70
+ * Fix: Custom HTML & CSS issue.
71
+ * Fix: Comment typos and performed code cleaning.
72
+
73
  = 0.2 =
74
  * Enhancement: Allow logged in users to visit the website normally. Option can be turned on or off.
75
  * Enhancement: Support for adding videos via custom HTML option.
80
 
81
  == Upgrade Notice ==
82
 
83
+ Added one more template and fixed the HTML & CSS issue.
uninstall.php CHANGED
@@ -4,7 +4,6 @@
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
7
- * @version 0.2
8
  *
9
  * Checking whether the file is called by the Wordpress uninstall action or not.
10
  * If not, then exit and prevent unauthorized access.
4
  * @package WordPress
5
  * @subpackage CSMM
6
  * @since 0.1
 
7
  *
8
  * Checking whether the file is called by the Wordpress uninstall action or not.
9
  * If not, then exit and prevent unauthorized access.