PluginProbe ʕ •ᴥ•ʔ
MailPoet – Newsletters, Email Marketing, and Automation / 5.34.2
MailPoet – Newsletters, Email Marketing, and Automation v5.34.2
5.34.2 5.34.1 5.34.0 5.33.1 5.33.0 5.32.0 5.31.0 5.30.0 5.29.0 5.28.1 5.28.0 5.27.0 5.26.0 5.26.1 5.25.0 5.24.0 4.43.0 4.43.1 4.44.0 4.44.1 4.45.0 4.46.0 4.47.0 4.48.0 4.48.1 4.48.2 4.49.0 4.49.1 4.5.0 4.5.1 4.5.2 4.50.0 4.50.1 4.51.0 4.51.1 4.51.2 4.52.0 4.53.0 4.54.0 4.55.0 4.56.0 4.57.0 4.58.0 4.58.1 4.58.2 4.6.0 4.6.1 4.6.2 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 5.0.0 5.0.1 5.0.2 5.1.0 5.1.1 5.10.0 5.10.1 5.11.0 5.12.0 5.12.1 5.12.10 5.12.11 5.12.12 5.12.13 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13.0 5.13.1 5.13.2 5.14.0 5.14.1 5.14.2 5.14.3 5.15.0 5.15.1 5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.18.0 5.19.0 5.2.0 5.2.1 5.2.2 5.2.3 5.20.0 5.21.0 5.21.1 5.21.2 5.21.3 5.22.0 5.22.1 5.22.2 5.22.3 5.22.4 5.23.0 5.23.1 5.23.2 5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4.0 5.4.1 5.4.2 5.5.0 5.5.1 5.5.2 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.7.0 5.7.1 5.8.0 5.8.1 5.9.0 3.0.0-beta.15 3.7.1 3.0.0-beta.16 3.7.2 3.0.0-beta.17 3.7.3 3.0.0-beta.18 3.7.4 3.0.0-beta.19 3.7.5 3.0.0-beta.2 3.7.6 3.0.0-beta.20 3.7.8 3.0.0-beta.21 3.70.0 3.0.0-beta.22 3.71.0 3.0.0-beta.23 3.71.1 3.0.0-beta.23.1 3.71.2 3.0.0-beta.23.2 3.71.3 3.0.0-beta.24 3.72.0 3.0.0-beta.25 3.73.0 3.0.0-beta.26 3.73.1 3.0.0-beta.27 3.73.2 3.0.0-beta.28 3.74.0 3.0.0-beta.29 3.74.1 3.0.0-beta.3 3.74.2 3.0.0-beta.30 3.74.3 3.0.0-beta.31 3.75.0 3.0.0-beta.32 3.75.1 3.0.0-beta.33 3.76.0 3.0.0-beta.33.1 3.77.0 3.0.0-beta.34.0.0 3.77.1 3.0.0-beta.36.0.0 3.78.0 3.0.0-beta.36.0.1 3.79.0 3.0.0-beta.36.2.0 3.8 3.0.0-beta.36.3.0 3.8.1 3.0.0-beta.36.3.1 3.8.2 3.0.0-beta.37.0.0 3.8.3 3.0.0-beta.4 3.8.4 3.0.0-beta.5 3.8.5 3.0.0-beta.6 3.8.6 3.0.0-beta.7 3.80.0 3.0.0-beta.7.1 3.81.0 3.0.0-beta.8 3.82.0 3.0.0-beta.9 3.83.0 3.0.0-rc.1.0.0 3.84.0 3.0.0-rc.1.0.1 3.84.1 3.0.0-rc.1.0.2 3.85.0 3.0.0-rc.1.0.3 3.85.1 3.0.0-rc.1.0.4 3.86.0 3.0.0-rc.2.0.0 3.87.0 3.0.0-rc.2.0.1 3.87.1 3.0.0-rc.2.0.2 3.87.2 3.0.0-rc.2.0.3 3.88.0 3.0.1 3.88.1 3.0.2 3.88.2 3.0.3 3.89.0 3.0.4 3.89.1 3.0.5 3.89.2 3.0.6 3.89.3 3.0.7 3.89.4 3.0.8 3.9.0 3.0.9 3.9.1 3.1.0 3.90.0 3.10 3.90.1 3.10.1 3.90.2 3.100.0 3.91.0 3.100.1 3.91.1 3.100.2 3.92.0 3.101.0 3.92.1 3.101.1 3.93.0 3.102.0 3.93.1 3.102.1 3.94.0 3.103.0 3.95.0 3.103.1 3.95.1 3.11.0 3.96.0 3.11.1 3.96.1 3.11.2 3.97.0 3.11.3 3.98.0 3.11.4 3.98.1 3.11.5 3.99.0 3.12.0 3.99.1 3.12.1 4.0.0 3.13.0 4.0.1 3.14.0 4.1.0 3.14.1 4.1.1 3.15.0 4.10.0 3.16.0 4.11.0 3.16.1 4.11.1 3.16.2 4.12.0 3.16.3 4.12.1 3.17.0 4.12.2 3.17.1 4.13.0 3.17.2 4.14.0 3.18.0 4.15.0 3.18.1 4.16.0 3.18.2 4.17.0 3.19.0 4.17.1 3.19.1 4.18.0 3.19.2 4.18.1 3.19.3 4.19.0 3.2.0 4.2.0 3.2.1 4.20.0 3.2.2 4.20.1 3.2.3 4.20.2 3.2.4 4.21.0 3.2.5 4.22.0 3.20.0 4.22.1 3.21.0 4.22.2 3.21.1 4.23.0 3.22.0 4.24.0 3.23.0 4.25.0 3.23.1 4.26.0 3.23.2 4.26.1 3.24.0 4.27.0 3.25.0 4.28.0 3.25.1 4.29.0 3.26.0 4.3.0 3.26.1 4.3.1 3.27.0 4.30.0 3.28.0 4.31.0 3.29.0 4.31.1 3.3.0 4.32.0 3.3.1 4.33.0 3.3.2 4.34.0 3.3.3 4.35.0 3.3.4 4.35.1 3.3.5 4.36.0 3.3.6 4.37.0 3.30.0 4.38.0 3.31.0 4.39.0 3.31.1 4.4.0 3.32.0 4.40.0 3.32.1 4.41.0 3.32.2 4.41.1 3.33.0 4.41.2 3.34.0 4.41.3 3.34.1 4.42.0 3.34.2 4.42.1 3.34.3 3.34.4 3.35.0 3.35.1 3.35.3 3.35.4 3.36.0 3.37.0 3.37.1 3.37.2 3.37.3 3.38.0 3.38.1 3.39.0 3.39.1 3.39.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.40.0 3.40.1 3.41.0 3.41.1 3.41.2 3.42.0 3.42.1 3.42.2 3.42.3 3.43.0 3.43.1 3.44.0 3.45.0 3.45.1 3.46.0 3.46.1 3.46.10 3.46.11 3.46.12 3.46.13 3.46.14 3.46.2 3.46.3 3.46.4 3.46.5 3.46.6 3.46.7 3.46.8 3.46.9 3.47.0 3.47.1 3.47.10 3.47.11 3.47.2 3.47.3 3.47.5 3.47.6 3.47.7 3.47.9 3.48.0 3.48.1 3.49.0 3.49.1 3.5.0 3.5.1 3.50.0 3.51.0 3.51.1 3.51.2 3.52.0 3.53.0 3.54.0 3.54.1 3.54.2 3.54.3 3.55.0 3.55.1 3.56.0 3.56.1 3.56.2 3.57.0 3.57.1 3.58.0 3.59.0 3.59.1 3.59.2 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.60.0 3.60.1 3.60.10 3.60.11 3.60.12 3.60.2 3.60.3 3.60.4 3.60.6 3.60.7 3.60.8 3.60.9 3.61.0 3.62.0 3.62.1 3.63.0 3.64.0 3.64.1 3.64.2 3.64.3 3.65.0 trunk 3.65.1 3.0.0 3.66.0 3.0.0-beta.1 3.67.0 3.0.0-beta.10 3.67.1 3.0.0-beta.11 3.68.0 3.0.0-beta.12 3.69.0 3.0.0-beta.13 3.69.1 3.0.0-beta.14 3.7.0
mailpoet / lib / Config / PopulatorData / Templates / Software.php
mailpoet / lib / Config / PopulatorData / Templates Last commit date
AppWelcome.php 1 year ago Avocado.php 1 year ago Birds.php 1 year ago BirthdayCelebration.php 2 months ago BookStoreWithCoupon.php 1 year ago BrandingAgencyNews.php 1 year ago BuddhistTemple.php 1 year ago Charity.php 1 year ago CityLocalNews.php 1 year ago ClearNews.php 1 year ago Coffee.php 1 year ago College.php 1 year ago ComputerRepair.php 1 year ago ConfirmInterestBeforeDeactivation.php 2 years ago ConfirmInterestOrUnsubscribe.php 2 years ago DogFood.php 1 year ago Drone.php 1 year ago Engineering.php 1 year ago Faith.php 1 year ago FarmersMarket.php 1 year ago FashionBlog.php 1 year ago FashionBlogA.php 1 year ago FashionShop.php 1 year ago FashionStore.php 1 year ago FestivalEvent.php 1 year ago Fitness.php 1 year ago FlowersWithCoupon.php 1 year ago FoodBox.php 1 year ago GiftWelcome.php 1 year ago Guitarist.php 1 year ago HealthyFoodBlog.php 1 year ago Hotels.php 1 year ago IndustryConference.php 1 year ago JazzClub.php 1 year ago KidsClothing.php 1 year ago LifestyleBlogA.php 1 year ago LifestyleBlogB.php 1 year ago Minimal.php 1 year ago ModularStyleStories.php 1 year ago Mosque.php 1 year ago Motor.php 1 year ago Music.php 1 year ago NewsDay.php 1 year ago NewsletterBlank121Column.php 1 year ago NewsletterBlank12Column.php 1 year ago NewsletterBlank13Column.php 1 year ago NewsletterBlank1Column.php 1 year ago NewspaperTraditional.php 1 year ago NotSoMedium.php 1 year ago Painter.php 1 year ago Phone.php 1 year ago Photography.php 1 year ago PieceOfCake.php 1 year ago Poet.php 1 year ago PostNotificationsBlank1Column.php 1 year ago PrimarySchool.php 1 year ago RealEstate.php 1 year ago RenewableEnergy.php 1 year ago Retro.php 1 year ago RetroComputingMagazine.php 1 year ago RockBand.php 1 year ago RssSimpleNews.php 1 year ago ScienceWeekly.php 1 year ago Shoes.php 1 year ago SimpleText.php 2 years ago Software.php 1 year ago Sunglasses.php 1 year ago Synagogue.php 1 year ago TakeAHike.php 1 year ago Vlogger.php 1 year ago WelcomeBlank12Column.php 1 year ago WelcomeBlank1Column.php 1 year ago WideStoryLayout.php 1 year ago WineCity.php 1 year ago WordPressTheme.php 1 year ago WorldCup.php 1 year ago YogaStudio.php 1 year ago index.php 3 years ago
Software.php
1319 lines
1 <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
2
3 namespace MailPoet\Config\PopulatorData\Templates;
4
5 if (!defined('ABSPATH')) exit;
6
7
8 class Software {
9
10 private $template_image_url;
11 private $social_icon_url;
12
13 public function __construct(
14 $assets_url
15 ) {
16 $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/software';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Software", 'mailpoet'),
23 'categories' => json_encode(['standard', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getThumbnail() {
31 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
32 }
33
34 private function getBody() {
35 return [
36 'content' =>
37 [
38 'type' => 'container',
39 'columnLayout' => false,
40 'orientation' => 'vertical',
41 'image' =>
42 [
43 'src' => null,
44 'display' => 'scale',
45 ],
46 'styles' =>
47 [
48 'block' =>
49 [
50 'backgroundColor' => 'transparent',
51 ],
52 ],
53 'blocks' =>
54 [
55 0 =>
56 [
57 'type' => 'container',
58 'columnLayout' => false,
59 'orientation' => 'horizontal',
60 'image' =>
61 [
62 'src' => null,
63 'display' => 'scale',
64 ],
65 'styles' =>
66 [
67 'block' =>
68 [
69 'backgroundColor' => 'transparent',
70 ],
71 ],
72 'blocks' =>
73 [
74 0 =>
75 [
76 'type' => 'container',
77 'columnLayout' => false,
78 'orientation' => 'vertical',
79 'image' =>
80 [
81 'src' => null,
82 'display' => 'scale',
83 ],
84 'styles' =>
85 [
86 'block' =>
87 [
88 'backgroundColor' => 'transparent',
89 ],
90 ],
91 'blocks' =>
92 [
93 0 =>
94 [
95 'type' => 'spacer',
96 'styles' =>
97 [
98 'block' =>
99 [
100 'backgroundColor' => 'transparent',
101 'height' => '60px',
102 ],
103 ],
104 ],
105 ],
106 ],
107 ],
108 ],
109 1 =>
110 [
111 'type' => 'container',
112 'columnLayout' => false,
113 'orientation' => 'horizontal',
114 'image' =>
115 [
116 'src' => null,
117 'display' => 'scale',
118 ],
119 'styles' =>
120 [
121 'block' =>
122 [
123 'backgroundColor' => 'transparent',
124 ],
125 ],
126 'blocks' =>
127 [
128 0 =>
129 [
130 'type' => 'container',
131 'columnLayout' => false,
132 'orientation' => 'vertical',
133 'image' =>
134 [
135 'src' => null,
136 'display' => 'scale',
137 ],
138 'styles' =>
139 [
140 'block' =>
141 [
142 'backgroundColor' => 'transparent',
143 ],
144 ],
145 'blocks' =>
146 [
147 0 =>
148 [
149 'type' => 'image',
150 'link' => '',
151 'src' => $this->template_image_url . '/Software-Logo.png',
152 'alt' => 'Software-Logo',
153 'fullWidth' => false,
154 'width' => '140px',
155 'height' => '122px',
156 'styles' =>
157 [
158 'block' =>
159 [
160 'textAlign' => 'left',
161 ],
162 ],
163 ],
164 ],
165 ],
166 1 =>
167 [
168 'type' => 'container',
169 'columnLayout' => false,
170 'orientation' => 'vertical',
171 'image' =>
172 [
173 'src' => null,
174 'display' => 'scale',
175 ],
176 'styles' =>
177 [
178 'block' =>
179 [
180 'backgroundColor' => 'transparent',
181 ],
182 ],
183 'blocks' =>
184 [
185 0 =>
186 [
187 'type' => 'header',
188 'text' => '<p><strong><a href="[link:newsletter_view_in_browser_url]">View online</a></strong></p>',
189 'styles' =>
190 [
191 'block' =>
192 [
193 'backgroundColor' => 'transparent',
194 ],
195 'text' =>
196 [
197 'fontColor' => '#222222',
198 'fontFamily' => 'Merriweather Sans',
199 'fontSize' => '12px',
200 'textAlign' => 'right',
201 ],
202 'link' =>
203 [
204 'fontColor' => '#212327',
205 'textDecoration' => 'underline',
206 ],
207 ],
208 ],
209 ],
210 ],
211 ],
212 ],
213 2 =>
214 [
215 'type' => 'container',
216 'columnLayout' => false,
217 'orientation' => 'horizontal',
218 'image' =>
219 [
220 'src' => null,
221 'display' => 'scale',
222 ],
223 'styles' =>
224 [
225 'block' =>
226 [
227 'backgroundColor' => 'transparent',
228 ],
229 ],
230 'blocks' =>
231 [
232 0 =>
233 [
234 'type' => 'container',
235 'columnLayout' => false,
236 'orientation' => 'vertical',
237 'image' =>
238 [
239 'src' => null,
240 'display' => 'scale',
241 ],
242 'styles' =>
243 [
244 'block' =>
245 [
246 'backgroundColor' => 'transparent',
247 ],
248 ],
249 'blocks' =>
250 [
251 0 =>
252 [
253 'type' => 'spacer',
254 'styles' =>
255 [
256 'block' =>
257 [
258 'backgroundColor' => 'transparent',
259 'height' => '30px',
260 ],
261 ],
262 ],
263 1 =>
264 [
265 'type' => 'text',
266 'text' => '<h1 style="text-align: center; line-height: 46px;"><span style="color: #212327;"><strong>Your music.<br />Your way.</strong></span></h1>',
267 ],
268 2 =>
269 [
270 'type' => 'spacer',
271 'styles' =>
272 [
273 'block' =>
274 [
275 'backgroundColor' => 'transparent',
276 'height' => '40px',
277 ],
278 ],
279 ],
280 3 =>
281 [
282 'type' => 'image',
283 'link' => '',
284 'src' => $this->template_image_url . '/Software-Header.jpg',
285 'alt' => 'Software-Header',
286 'fullWidth' => true,
287 'width' => '1200px',
288 'height' => '800px',
289 'styles' =>
290 [
291 'block' =>
292 [
293 'textAlign' => 'center',
294 ],
295 ],
296 ],
297 ],
298 ],
299 ],
300 ],
301 3 =>
302 [
303 'type' => 'container',
304 'columnLayout' => false,
305 'orientation' => 'horizontal',
306 'image' =>
307 [
308 'src' => null,
309 'display' => 'scale',
310 ],
311 'styles' =>
312 [
313 'block' =>
314 [
315 'backgroundColor' => 'transparent',
316 ],
317 ],
318 'blocks' =>
319 [
320 0 =>
321 [
322 'type' => 'container',
323 'columnLayout' => false,
324 'orientation' => 'vertical',
325 'image' =>
326 [
327 'src' => null,
328 'display' => 'scale',
329 ],
330 'styles' =>
331 [
332 'block' =>
333 [
334 'backgroundColor' => 'transparent',
335 ],
336 ],
337 'blocks' =>
338 [
339 0 =>
340 [
341 'type' => 'spacer',
342 'styles' =>
343 [
344 'block' =>
345 [
346 'backgroundColor' => 'transparent',
347 'height' => '40px',
348 ],
349 ],
350 ],
351 ],
352 ],
353 ],
354 ],
355 4 =>
356 [
357 'type' => 'container',
358 'columnLayout' => false,
359 'orientation' => 'horizontal',
360 'image' =>
361 [
362 'src' => null,
363 'display' => 'scale',
364 ],
365 'styles' =>
366 [
367 'block' =>
368 [
369 'backgroundColor' => 'transparent',
370 ],
371 ],
372 'blocks' =>
373 [
374 0 =>
375 [
376 'type' => 'container',
377 'columnLayout' => false,
378 'orientation' => 'vertical',
379 'image' =>
380 [
381 'src' => null,
382 'display' => 'scale',
383 ],
384 'styles' =>
385 [
386 'block' =>
387 [
388 'backgroundColor' => 'transparent',
389 ],
390 ],
391 'blocks' =>
392 [
393 0 =>
394 [
395 'type' => 'spacer',
396 'styles' =>
397 [
398 'block' =>
399 [
400 'backgroundColor' => 'transparent',
401 'height' => '50px',
402 ],
403 ],
404 ],
405 1 =>
406 [
407 'type' => 'text',
408 'text' => '<h2 style="text-align: left;"><strong>Find music fast</strong></h2>
409 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida. In eu vestibulum orci, sit amet ultrices mauris.</p>',
410 ],
411 2 =>
412 [
413 'type' => 'button',
414 'text' => 'Find out more',
415 'url' => '',
416 'styles' =>
417 [
418 'block' =>
419 [
420 'backgroundColor' => '#212327',
421 'borderColor' => '#212327',
422 'borderWidth' => '0px',
423 'borderRadius' => '5px',
424 'borderStyle' => 'solid',
425 'width' => '124px',
426 'lineHeight' => '39px',
427 'fontColor' => '#cacaca',
428 'fontFamily' => 'Merriweather Sans',
429 'fontSize' => '14px',
430 'fontWeight' => 'bold',
431 'textAlign' => 'left',
432 ],
433 ],
434 ],
435 ],
436 ],
437 1 =>
438 [
439 'type' => 'container',
440 'columnLayout' => false,
441 'orientation' => 'vertical',
442 'image' =>
443 [
444 'src' => null,
445 'display' => 'scale',
446 ],
447 'styles' =>
448 [
449 'block' =>
450 [
451 'backgroundColor' => 'transparent',
452 ],
453 ],
454 'blocks' =>
455 [
456 0 =>
457 [
458 'type' => 'image',
459 'link' => '',
460 'src' => $this->template_image_url . '/Software-Image-1.jpg',
461 'alt' => 'Software-Image-1',
462 'fullWidth' => true,
463 'width' => '800px',
464 'height' => '800px',
465 'styles' =>
466 [
467 'block' =>
468 [
469 'textAlign' => 'center',
470 ],
471 ],
472 ],
473 ],
474 ],
475 ],
476 ],
477 5 =>
478 [
479 'type' => 'container',
480 'columnLayout' => false,
481 'orientation' => 'horizontal',
482 'image' =>
483 [
484 'src' => null,
485 'display' => 'scale',
486 ],
487 'styles' =>
488 [
489 'block' =>
490 [
491 'backgroundColor' => 'transparent',
492 ],
493 ],
494 'blocks' =>
495 [
496 0 =>
497 [
498 'type' => 'container',
499 'columnLayout' => false,
500 'orientation' => 'vertical',
501 'image' =>
502 [
503 'src' => null,
504 'display' => 'scale',
505 ],
506 'styles' =>
507 [
508 'block' =>
509 [
510 'backgroundColor' => 'transparent',
511 ],
512 ],
513 'blocks' =>
514 [
515 0 =>
516 [
517 'type' => 'spacer',
518 'styles' =>
519 [
520 'block' =>
521 [
522 'backgroundColor' => 'transparent',
523 'height' => '40px',
524 ],
525 ],
526 ],
527 ],
528 ],
529 ],
530 ],
531 6 =>
532 [
533 'type' => 'container',
534 'columnLayout' => false,
535 'orientation' => 'horizontal',
536 'image' =>
537 [
538 'src' => null,
539 'display' => 'scale',
540 ],
541 'styles' =>
542 [
543 'block' =>
544 [
545 'backgroundColor' => 'transparent',
546 ],
547 ],
548 'blocks' =>
549 [
550 0 =>
551 [
552 'type' => 'container',
553 'columnLayout' => false,
554 'orientation' => 'vertical',
555 'image' =>
556 [
557 'src' => null,
558 'display' => 'scale',
559 ],
560 'styles' =>
561 [
562 'block' =>
563 [
564 'backgroundColor' => 'transparent',
565 ],
566 ],
567 'blocks' =>
568 [
569 0 =>
570 [
571 'type' => 'image',
572 'link' => '',
573 'src' => $this->template_image_url . '/Software-Image-2.jpg',
574 'alt' => 'Software-Image-2',
575 'fullWidth' => true,
576 'width' => '800px',
577 'height' => '800px',
578 'styles' =>
579 [
580 'block' =>
581 [
582 'textAlign' => 'center',
583 ],
584 ],
585 ],
586 ],
587 ],
588 1 =>
589 [
590 'type' => 'container',
591 'columnLayout' => false,
592 'orientation' => 'vertical',
593 'image' =>
594 [
595 'src' => null,
596 'display' => 'scale',
597 ],
598 'styles' =>
599 [
600 'block' =>
601 [
602 'backgroundColor' => 'transparent',
603 ],
604 ],
605 'blocks' =>
606 [
607 0 =>
608 [
609 'type' => 'spacer',
610 'styles' =>
611 [
612 'block' =>
613 [
614 'backgroundColor' => 'transparent',
615 'height' => '50px',
616 ],
617 ],
618 ],
619 1 =>
620 [
621 'type' => 'text',
622 'text' => '<h2 style="text-align: left;"><strong>Keep up with the trend</strong></h2>
623 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida. In eu vestibulum orci, sit amet ultrices mauris.</p>',
624 ],
625 2 =>
626 [
627 'type' => 'button',
628 'text' => 'Find out more',
629 'url' => '',
630 'styles' =>
631 [
632 'block' =>
633 [
634 'backgroundColor' => '#212327',
635 'borderColor' => '#212327',
636 'borderWidth' => '0px',
637 'borderRadius' => '5px',
638 'borderStyle' => 'solid',
639 'width' => '124px',
640 'lineHeight' => '39px',
641 'fontColor' => '#cacaca',
642 'fontFamily' => 'Merriweather Sans',
643 'fontSize' => '14px',
644 'fontWeight' => 'bold',
645 'textAlign' => 'left',
646 ],
647 ],
648 ],
649 ],
650 ],
651 ],
652 ],
653 7 =>
654 [
655 'type' => 'container',
656 'columnLayout' => false,
657 'orientation' => 'horizontal',
658 'image' =>
659 [
660 'src' => null,
661 'display' => 'scale',
662 ],
663 'styles' =>
664 [
665 'block' =>
666 [
667 'backgroundColor' => 'transparent',
668 ],
669 ],
670 'blocks' =>
671 [
672 0 =>
673 [
674 'type' => 'container',
675 'columnLayout' => false,
676 'orientation' => 'vertical',
677 'image' =>
678 [
679 'src' => null,
680 'display' => 'scale',
681 ],
682 'styles' =>
683 [
684 'block' =>
685 [
686 'backgroundColor' => 'transparent',
687 ],
688 ],
689 'blocks' =>
690 [
691 0 =>
692 [
693 'type' => 'spacer',
694 'styles' =>
695 [
696 'block' =>
697 [
698 'backgroundColor' => 'transparent',
699 'height' => '50px',
700 ],
701 ],
702 ],
703 ],
704 ],
705 ],
706 ],
707 8 =>
708 [
709 'type' => 'container',
710 'columnLayout' => false,
711 'orientation' => 'horizontal',
712 'image' =>
713 [
714 'src' => null,
715 'display' => 'scale',
716 ],
717 'styles' =>
718 [
719 'block' =>
720 [
721 'backgroundColor' => '#ffffff',
722 ],
723 ],
724 'blocks' =>
725 [
726 0 =>
727 [
728 'type' => 'container',
729 'columnLayout' => false,
730 'orientation' => 'vertical',
731 'image' =>
732 [
733 'src' => null,
734 'display' => 'scale',
735 ],
736 'styles' =>
737 [
738 'block' =>
739 [
740 'backgroundColor' => 'transparent',
741 ],
742 ],
743 'blocks' =>
744 [
745 0 =>
746 [
747 'type' => 'spacer',
748 'styles' =>
749 [
750 'block' =>
751 [
752 'backgroundColor' => 'transparent',
753 'height' => '40px',
754 ],
755 ],
756 ],
757 1 =>
758 [
759 'type' => 'text',
760 'text' => '<h2 style="text-align: center;"><strong>Get the app now for free</strong></h2>
761 <p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</p>',
762 ],
763 2 =>
764 [
765 'type' => 'button',
766 'text' => 'Download for free',
767 'url' => '',
768 'styles' =>
769 [
770 'block' =>
771 [
772 'backgroundColor' => '#dbbb00',
773 'borderColor' => '#212327',
774 'borderWidth' => '0px',
775 'borderRadius' => '5px',
776 'borderStyle' => 'solid',
777 'width' => '199px',
778 'lineHeight' => '50px',
779 'fontColor' => '#212327',
780 'fontFamily' => 'Merriweather Sans',
781 'fontSize' => '18px',
782 'fontWeight' => 'bold',
783 'textAlign' => 'center',
784 ],
785 ],
786 ],
787 3 =>
788 [
789 'type' => 'spacer',
790 'styles' =>
791 [
792 'block' =>
793 [
794 'backgroundColor' => 'transparent',
795 'height' => '20px',
796 ],
797 ],
798 ],
799 ],
800 ],
801 ],
802 ],
803 9 =>
804 [
805 'type' => 'container',
806 'columnLayout' => false,
807 'orientation' => 'horizontal',
808 'image' =>
809 [
810 'src' => null,
811 'display' => 'scale',
812 ],
813 'styles' =>
814 [
815 'block' =>
816 [
817 'backgroundColor' => 'transparent',
818 ],
819 ],
820 'blocks' =>
821 [
822 0 =>
823 [
824 'type' => 'container',
825 'columnLayout' => false,
826 'orientation' => 'vertical',
827 'image' =>
828 [
829 'src' => null,
830 'display' => 'scale',
831 ],
832 'styles' =>
833 [
834 'block' =>
835 [
836 'backgroundColor' => 'transparent',
837 ],
838 ],
839 'blocks' =>
840 [
841 0 =>
842 [
843 'type' => 'spacer',
844 'styles' =>
845 [
846 'block' =>
847 [
848 'backgroundColor' => 'transparent',
849 'height' => '50px',
850 ],
851 ],
852 ],
853 1 =>
854 [
855 'type' => 'image',
856 'link' => '',
857 'src' => $this->template_image_url . '/Software-Logo.png',
858 'alt' => 'Software-Logo',
859 'fullWidth' => false,
860 'width' => '140px',
861 'height' => '122px',
862 'styles' =>
863 [
864 'block' =>
865 [
866 'textAlign' => 'center',
867 ],
868 ],
869 ],
870 2 =>
871 [
872 'type' => 'social',
873 'iconSet' => 'official',
874 'icons' =>
875 [
876 0 =>
877 [
878 'type' => 'socialIcon',
879 'iconType' => 'facebook',
880 'link' => 'http://www.facebook.com',
881 'image' => $this->social_icon_url . '/11-official/Facebook.png',
882 'height' => '32px',
883 'width' => '32px',
884 'text' => 'Facebook',
885 ],
886 1 =>
887 [
888 'type' => 'socialIcon',
889 'iconType' => 'twitter',
890 'link' => 'http://www.twitter.com',
891 'image' => $this->social_icon_url . '/11-official/X.png',
892 'height' => '32px',
893 'width' => '32px',
894 'text' => 'Twitter',
895 ],
896 2 =>
897 [
898 'type' => 'socialIcon',
899 'iconType' => 'youtube',
900 'link' => 'http://www.youtube.com',
901 'image' => $this->social_icon_url . '/11-official/Youtube.png',
902 'height' => '32px',
903 'width' => '32px',
904 'text' => 'Youtube',
905 ],
906 ],
907 ],
908 3 =>
909 [
910 'type' => 'footer',
911 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
912 'styles' =>
913 [
914 'block' =>
915 [
916 'backgroundColor' => 'transparent',
917 ],
918 'text' =>
919 [
920 'fontColor' => '#222222',
921 'fontFamily' => 'Merriweather Sans',
922 'fontSize' => '12px',
923 'textAlign' => 'center',
924 ],
925 'link' =>
926 [
927 'fontColor' => '#212327',
928 'textDecoration' => 'underline',
929 ],
930 ],
931 ],
932 4 =>
933 [
934 'type' => 'spacer',
935 'styles' =>
936 [
937 'block' =>
938 [
939 'backgroundColor' => 'transparent',
940 'height' => '20px',
941 ],
942 ],
943 ],
944 ],
945 ],
946 ],
947 ],
948 ],
949 ],
950 'globalStyles' =>
951 [
952 'text' =>
953 [
954 'fontColor' => '#212327',
955 'fontFamily' => 'Merriweather Sans',
956 'fontSize' => '14px',
957 ],
958 'h1' =>
959 [
960 'fontColor' => '#212327',
961 'fontFamily' => 'Merriweather Sans',
962 'fontSize' => '40px',
963 ],
964 'h2' =>
965 [
966 'fontColor' => '#212327',
967 'fontFamily' => 'Merriweather Sans',
968 'fontSize' => '26px',
969 ],
970 'h3' =>
971 [
972 'fontColor' => '#212327',
973 'fontFamily' => 'Merriweather Sans',
974 'fontSize' => '22px',
975 ],
976 'link' =>
977 [
978 'fontColor' => '#212327',
979 'textDecoration' => 'underline',
980 ],
981 'wrapper' =>
982 [
983 'backgroundColor' => '#dbbb00',
984 ],
985 'body' =>
986 [
987 'backgroundColor' => '#dbbb00',
988 ],
989 ],
990 'blockDefaults' =>
991 [
992 'automatedLatestContent' =>
993 [
994 'amount' => '5',
995 'withLayout' => false,
996 'contentType' => 'post',
997 'inclusionType' => 'include',
998 'displayType' => 'excerpt',
999 'titleFormat' => 'h1',
1000 'titleAlignment' => 'left',
1001 'titleIsLink' => false,
1002 'imageFullWidth' => false,
1003 'featuredImagePosition' => 'belowTitle',
1004 'showAuthor' => 'no',
1005 'authorPrecededBy' => 'Author:',
1006 'showCategories' => 'no',
1007 'categoriesPrecededBy' => 'Categories:',
1008 'readMoreType' => 'button',
1009 'readMoreText' => 'Read more',
1010 'readMoreButton' =>
1011 [
1012 'text' => 'Read more',
1013 'url' => '[postLink]',
1014 'context' => 'automatedLatestContent.readMoreButton',
1015 'styles' =>
1016 [
1017 'block' =>
1018 [
1019 'backgroundColor' => '#2ea1cd',
1020 'borderColor' => '#0074a2',
1021 'borderWidth' => '1px',
1022 'borderRadius' => '5px',
1023 'borderStyle' => 'solid',
1024 'width' => '180px',
1025 'lineHeight' => '40px',
1026 'fontColor' => '#ffffff',
1027 'fontFamily' => 'Verdana',
1028 'fontSize' => '18px',
1029 'fontWeight' => 'normal',
1030 'textAlign' => 'center',
1031 ],
1032 ],
1033 ],
1034 'sortBy' => 'newest',
1035 'showDivider' => true,
1036 'divider' =>
1037 [
1038 'context' => 'automatedLatestContent.divider',
1039 'styles' =>
1040 [
1041 'block' =>
1042 [
1043 'backgroundColor' => 'transparent',
1044 'padding' => '13px',
1045 'borderStyle' => 'solid',
1046 'borderWidth' => '3px',
1047 'borderColor' => '#aaaaaa',
1048 ],
1049 ],
1050 ],
1051 'backgroundColor' => '#ffffff',
1052 'backgroundColorAlternate' => '#eeeeee',
1053 ],
1054 'automatedLatestContentLayout' =>
1055 [
1056 'amount' => '5',
1057 'withLayout' => true,
1058 'contentType' => 'post',
1059 'inclusionType' => 'include',
1060 'displayType' => 'excerpt',
1061 'titleFormat' => 'h1',
1062 'titleAlignment' => 'left',
1063 'titleIsLink' => false,
1064 'imageFullWidth' => false,
1065 'featuredImagePosition' => 'alternate',
1066 'showAuthor' => 'no',
1067 'authorPrecededBy' => 'Author:',
1068 'showCategories' => 'no',
1069 'categoriesPrecededBy' => 'Categories:',
1070 'readMoreType' => 'button',
1071 'readMoreText' => 'Read more',
1072 'readMoreButton' =>
1073 [
1074 'text' => 'Read more',
1075 'url' => '[postLink]',
1076 'context' => 'automatedLatestContentLayout.readMoreButton',
1077 'styles' =>
1078 [
1079 'block' =>
1080 [
1081 'backgroundColor' => '#2ea1cd',
1082 'borderColor' => '#0074a2',
1083 'borderWidth' => '1px',
1084 'borderRadius' => '5px',
1085 'borderStyle' => 'solid',
1086 'width' => '180px',
1087 'lineHeight' => '40px',
1088 'fontColor' => '#ffffff',
1089 'fontFamily' => 'Verdana',
1090 'fontSize' => '18px',
1091 'fontWeight' => 'normal',
1092 'textAlign' => 'center',
1093 ],
1094 ],
1095 ],
1096 'sortBy' => 'newest',
1097 'showDivider' => true,
1098 'divider' =>
1099 [
1100 'context' => 'automatedLatestContentLayout.divider',
1101 'styles' =>
1102 [
1103 'block' =>
1104 [
1105 'backgroundColor' => 'transparent',
1106 'padding' => '13px',
1107 'borderStyle' => 'solid',
1108 'borderWidth' => '3px',
1109 'borderColor' => '#aaaaaa',
1110 ],
1111 ],
1112 ],
1113 'backgroundColor' => '#ffffff',
1114 'backgroundColorAlternate' => '#eeeeee',
1115 ],
1116 'button' =>
1117 [
1118 'text' => 'Find out more',
1119 'url' => '',
1120 'styles' =>
1121 [
1122 'block' =>
1123 [
1124 'backgroundColor' => '#212327',
1125 'borderColor' => '#212327',
1126 'borderWidth' => '0px',
1127 'borderRadius' => '5px',
1128 'borderStyle' => 'solid',
1129 'width' => '124px',
1130 'lineHeight' => '39px',
1131 'fontColor' => '#cacaca',
1132 'fontFamily' => 'Merriweather Sans',
1133 'fontSize' => '14px',
1134 'fontWeight' => 'bold',
1135 'textAlign' => 'left',
1136 ],
1137 ],
1138 'type' => 'button',
1139 ],
1140 'divider' =>
1141 [
1142 'styles' =>
1143 [
1144 'block' =>
1145 [
1146 'backgroundColor' => 'transparent',
1147 'padding' => '13px',
1148 'borderStyle' => 'solid',
1149 'borderWidth' => '3px',
1150 'borderColor' => '#aaaaaa',
1151 ],
1152 ],
1153 ],
1154 'footer' =>
1155 [
1156 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
1157 'styles' =>
1158 [
1159 'block' =>
1160 [
1161 'backgroundColor' => 'transparent',
1162 ],
1163 'text' =>
1164 [
1165 'fontColor' => '#222222',
1166 'fontFamily' => 'Merriweather Sans',
1167 'fontSize' => '12px',
1168 'textAlign' => 'center',
1169 ],
1170 'link' =>
1171 [
1172 'fontColor' => '#212327',
1173 'textDecoration' => 'underline',
1174 ],
1175 ],
1176 'type' => 'footer',
1177 ],
1178 'posts' =>
1179 [
1180 'amount' => '10',
1181 'withLayout' => true,
1182 'contentType' => 'post',
1183 'postStatus' => 'publish',
1184 'inclusionType' => 'include',
1185 'displayType' => 'excerpt',
1186 'titleFormat' => 'h1',
1187 'titleAlignment' => 'left',
1188 'titleIsLink' => false,
1189 'imageFullWidth' => false,
1190 'featuredImagePosition' => 'alternate',
1191 'showAuthor' => 'no',
1192 'authorPrecededBy' => 'Author:',
1193 'showCategories' => 'no',
1194 'categoriesPrecededBy' => 'Categories:',
1195 'readMoreType' => 'link',
1196 'readMoreText' => 'Read more',
1197 'readMoreButton' =>
1198 [
1199 'text' => 'Read more',
1200 'url' => '[postLink]',
1201 'context' => 'posts.readMoreButton',
1202 'styles' =>
1203 [
1204 'block' =>
1205 [
1206 'backgroundColor' => '#2ea1cd',
1207 'borderColor' => '#0074a2',
1208 'borderWidth' => '1px',
1209 'borderRadius' => '5px',
1210 'borderStyle' => 'solid',
1211 'width' => '180px',
1212 'lineHeight' => '40px',
1213 'fontColor' => '#ffffff',
1214 'fontFamily' => 'Verdana',
1215 'fontSize' => '18px',
1216 'fontWeight' => 'normal',
1217 'textAlign' => 'center',
1218 ],
1219 ],
1220 ],
1221 'sortBy' => 'newest',
1222 'showDivider' => true,
1223 'divider' =>
1224 [
1225 'context' => 'posts.divider',
1226 'styles' =>
1227 [
1228 'block' =>
1229 [
1230 'backgroundColor' => 'transparent',
1231 'padding' => '13px',
1232 'borderStyle' => 'solid',
1233 'borderWidth' => '3px',
1234 'borderColor' => '#aaaaaa',
1235 ],
1236 ],
1237 ],
1238 'backgroundColor' => '#ffffff',
1239 'backgroundColorAlternate' => '#eeeeee',
1240 ],
1241 'social' =>
1242 [
1243 'iconSet' => 'official',
1244 'icons' =>
1245 [
1246 0 =>
1247 [
1248 'type' => 'socialIcon',
1249 'iconType' => 'facebook',
1250 'link' => 'http://www.facebook.com',
1251 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1252 'height' => '32px',
1253 'width' => '32px',
1254 'text' => 'Facebook',
1255 ],
1256 1 =>
1257 [
1258 'type' => 'socialIcon',
1259 'iconType' => 'twitter',
1260 'link' => 'http://www.twitter.com',
1261 'image' => $this->social_icon_url . '/11-official/X.png',
1262 'height' => '32px',
1263 'width' => '32px',
1264 'text' => 'Twitter',
1265 ],
1266 2 =>
1267 [
1268 'type' => 'socialIcon',
1269 'iconType' => 'youtube',
1270 'link' => 'http://www.youtube.com',
1271 'image' => $this->social_icon_url . '/11-official/Youtube.png',
1272 'height' => '32px',
1273 'width' => '32px',
1274 'text' => 'Youtube',
1275 ],
1276 ],
1277 'type' => 'social',
1278 ],
1279 'spacer' =>
1280 [
1281 'styles' =>
1282 [
1283 'block' =>
1284 [
1285 'backgroundColor' => 'transparent',
1286 'height' => '20px',
1287 ],
1288 ],
1289 'type' => 'spacer',
1290 ],
1291 'header' =>
1292 [
1293 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1294 'styles' =>
1295 [
1296 'block' =>
1297 [
1298 'backgroundColor' => 'transparent',
1299 ],
1300 'text' =>
1301 [
1302 'fontColor' => '#222222',
1303 'fontFamily' => 'Merriweather Sans',
1304 'fontSize' => '12px',
1305 'textAlign' => 'right',
1306 ],
1307 'link' =>
1308 [
1309 'fontColor' => '#212327',
1310 'textDecoration' => 'underline',
1311 ],
1312 ],
1313 'type' => 'header',
1314 ],
1315 ],
1316 ];
1317 }
1318 }
1319