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 / RenewableEnergy.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
RenewableEnergy.php
1357 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 RenewableEnergy {
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/renewable-energy';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Renewable Energy", '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' => '#313f58',
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' => '20px',
102 ],
103 ],
104 ],
105 1 =>
106 [
107 'type' => 'header',
108 'text' => '<p><span style="color: #fdb323;"><a href="[link:newsletter_view_in_browser_url]" style="color: #fdb323;">View in browser &gt;</a></span></p>',
109 'styles' =>
110 [
111 'block' =>
112 [
113 'backgroundColor' => 'transparent',
114 ],
115 'text' =>
116 [
117 'fontColor' => '#222222',
118 'fontFamily' => 'Arial',
119 'fontSize' => '12px',
120 'textAlign' => 'center',
121 ],
122 'link' =>
123 [
124 'fontColor' => '#6cb7d4',
125 'textDecoration' => 'underline',
126 ],
127 ],
128 ],
129 ],
130 ],
131 ],
132 ],
133 1 =>
134 [
135 'type' => 'container',
136 'columnLayout' => false,
137 'orientation' => 'horizontal',
138 'image' =>
139 [
140 'src' => null,
141 'display' => 'scale',
142 ],
143 'styles' =>
144 [
145 'block' =>
146 [
147 'backgroundColor' => '#016fc1',
148 ],
149 ],
150 'blocks' =>
151 [
152 0 =>
153 [
154 'type' => 'container',
155 'columnLayout' => false,
156 'orientation' => 'vertical',
157 'image' =>
158 [
159 'src' => null,
160 'display' => 'scale',
161 ],
162 'styles' =>
163 [
164 'block' =>
165 [
166 'backgroundColor' => 'transparent',
167 ],
168 ],
169 'blocks' =>
170 [
171 0 =>
172 [
173 'type' => 'spacer',
174 'styles' =>
175 [
176 'block' =>
177 [
178 'backgroundColor' => 'transparent',
179 'height' => '30px',
180 ],
181 ],
182 ],
183 1 =>
184 [
185 'type' => 'image',
186 'link' => '',
187 'src' => $this->template_image_url . '/Energy-Logo.png',
188 'alt' => 'Energy-Logo',
189 'fullWidth' => false,
190 'width' => '200px',
191 'height' => '145px',
192 'styles' =>
193 [
194 'block' =>
195 [
196 'textAlign' => 'center',
197 ],
198 ],
199 ],
200 ],
201 ],
202 1 =>
203 [
204 'type' => 'container',
205 'columnLayout' => false,
206 'orientation' => 'vertical',
207 'image' =>
208 [
209 'src' => null,
210 'display' => 'scale',
211 ],
212 'styles' =>
213 [
214 'block' =>
215 [
216 'backgroundColor' => 'transparent',
217 ],
218 ],
219 'blocks' =>
220 [
221 0 =>
222 [
223 'type' => 'spacer',
224 'styles' =>
225 [
226 'block' =>
227 [
228 'backgroundColor' => 'transparent',
229 'height' => '20px',
230 ],
231 ],
232 ],
233 ],
234 ],
235 2 =>
236 [
237 'type' => 'container',
238 'columnLayout' => false,
239 'orientation' => 'vertical',
240 'image' =>
241 [
242 'src' => null,
243 'display' => 'scale',
244 ],
245 'styles' =>
246 [
247 'block' =>
248 [
249 'backgroundColor' => 'transparent',
250 ],
251 ],
252 'blocks' =>
253 [
254 0 =>
255 [
256 'type' => 'spacer',
257 'styles' =>
258 [
259 'block' =>
260 [
261 'backgroundColor' => 'transparent',
262 'height' => '36px',
263 ],
264 ],
265 ],
266 1 =>
267 [
268 'type' => 'social',
269 'iconSet' => 'official-white',
270 'icons' =>
271 [
272 0 =>
273 [
274 'type' => 'socialIcon',
275 'iconType' => 'facebook',
276 'link' => 'http://www.facebook.com',
277 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
278 'height' => '32px',
279 'width' => '32px',
280 'text' => 'Facebook',
281 ],
282 1 =>
283 [
284 'type' => 'socialIcon',
285 'iconType' => 'twitter',
286 'link' => 'http://www.twitter.com',
287 'image' => $this->social_icon_url . '/12-official-white/X.png',
288 'height' => '32px',
289 'width' => '32px',
290 'text' => 'Twitter',
291 ],
292 2 =>
293 [
294 'type' => 'socialIcon',
295 'iconType' => 'linkedin',
296 'link' => 'http://www.linkedin.com',
297 'image' => $this->social_icon_url . '/12-official-white/Linkedin.png',
298 'height' => '32px',
299 'width' => '32px',
300 'text' => 'LinkedIn',
301 ],
302 ],
303 ],
304 ],
305 ],
306 ],
307 ],
308 2 =>
309 [
310 'type' => 'container',
311 'columnLayout' => false,
312 'orientation' => 'horizontal',
313 'image' =>
314 [
315 'src' => $this->template_image_url . '/Energy-Header.jpg',
316 'display' => 'scale',
317 ],
318 'styles' =>
319 [
320 'block' =>
321 [
322 'backgroundColor' => '#2ea1cd',
323 ],
324 ],
325 'blocks' =>
326 [
327 0 =>
328 [
329 'type' => 'container',
330 'columnLayout' => false,
331 'orientation' => 'vertical',
332 'image' =>
333 [
334 'src' => null,
335 'display' => 'scale',
336 ],
337 'styles' =>
338 [
339 'block' =>
340 [
341 'backgroundColor' => 'transparent',
342 ],
343 ],
344 'blocks' =>
345 [
346 0 =>
347 [
348 'type' => 'spacer',
349 'styles' =>
350 [
351 'block' =>
352 [
353 'backgroundColor' => 'transparent',
354 'height' => '20px',
355 ],
356 ],
357 ],
358 1 =>
359 [
360 'type' => 'text',
361 'text' => '<h1 style="text-align: center;"><strong><span style="color: #ffffff;">2018 Energy Report</span></strong></h1>
362 <p style="text-align: center;"><span style="color: #ffffff;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse maximus purus vel sem rutrum pulvinar. Pellentesque at justo id ipsum porttitor viverra non porta nisl.</span></p>',
363 ],
364 2 =>
365 [
366 'type' => 'button',
367 'text' => 'Read it here',
368 'url' => '',
369 'styles' =>
370 [
371 'block' =>
372 [
373 'backgroundColor' => '#fdb323',
374 'borderColor' => '#0074a2',
375 'borderWidth' => '0px',
376 'borderRadius' => '0px',
377 'borderStyle' => 'solid',
378 'width' => '135px',
379 'lineHeight' => '44px',
380 'fontColor' => '#2e2e2e',
381 'fontFamily' => 'Merriweather Sans',
382 'fontSize' => '16px',
383 'fontWeight' => 'bold',
384 'textAlign' => 'center',
385 ],
386 ],
387 ],
388 3 =>
389 [
390 'type' => 'spacer',
391 'styles' =>
392 [
393 'block' =>
394 [
395 'backgroundColor' => 'transparent',
396 'height' => '197px',
397 ],
398 ],
399 ],
400 ],
401 ],
402 ],
403 ],
404 3 =>
405 [
406 'type' => 'container',
407 'columnLayout' => false,
408 'orientation' => 'horizontal',
409 'image' =>
410 [
411 'src' => null,
412 'display' => 'scale',
413 ],
414 'styles' =>
415 [
416 'block' =>
417 [
418 'backgroundColor' => 'transparent',
419 ],
420 ],
421 'blocks' =>
422 [
423 0 =>
424 [
425 'type' => 'container',
426 'columnLayout' => false,
427 'orientation' => 'vertical',
428 'image' =>
429 [
430 'src' => null,
431 'display' => 'scale',
432 ],
433 'styles' =>
434 [
435 'block' =>
436 [
437 'backgroundColor' => 'transparent',
438 ],
439 ],
440 'blocks' =>
441 [
442 0 =>
443 [
444 'type' => 'spacer',
445 'styles' =>
446 [
447 'block' =>
448 [
449 'backgroundColor' => 'transparent',
450 'height' => '40px',
451 ],
452 ],
453 ],
454 1 =>
455 [
456 'type' => 'text',
457 'text' => '<p style="text-align: center;"><span style="color: #999999;"><strong>R E C E N T</strong></span></p>
458 <h2 style="text-align: center;"><span style="color: #003366;"><strong>Here\'s what\'s happening this week</strong></span></h2>',
459 ],
460 ],
461 ],
462 ],
463 ],
464 4 =>
465 [
466 'type' => 'container',
467 'columnLayout' => false,
468 'orientation' => 'horizontal',
469 'image' =>
470 [
471 'src' => null,
472 'display' => 'scale',
473 ],
474 'styles' =>
475 [
476 'block' =>
477 [
478 'backgroundColor' => 'transparent',
479 ],
480 ],
481 'blocks' =>
482 [
483 0 =>
484 [
485 'type' => 'container',
486 'columnLayout' => false,
487 'orientation' => 'vertical',
488 'image' =>
489 [
490 'src' => null,
491 'display' => 'scale',
492 ],
493 'styles' =>
494 [
495 'block' =>
496 [
497 'backgroundColor' => 'transparent',
498 ],
499 ],
500 'blocks' =>
501 [
502 0 =>
503 [
504 'type' => 'image',
505 'link' => '',
506 'src' => $this->template_image_url . '/Energy-Image-1.jpg',
507 'alt' => 'Energy-Image-1',
508 'fullWidth' => false,
509 'width' => '600px',
510 'height' => '400px',
511 'styles' =>
512 [
513 'block' =>
514 [
515 'textAlign' => 'center',
516 ],
517 ],
518 ],
519 1 =>
520 [
521 'type' => 'text',
522 'text' => '<h3><span style="color: #003366;"><strong>How can electricity be better?</strong></span></h3>',
523 ],
524 2 =>
525 [
526 'type' => 'button',
527 'text' => 'Read more',
528 'url' => '',
529 'styles' =>
530 [
531 'block' =>
532 [
533 'backgroundColor' => '#fdb323',
534 'borderColor' => '#0074a2',
535 'borderWidth' => '0px',
536 'borderRadius' => '0px',
537 'borderStyle' => 'solid',
538 'width' => '100px',
539 'lineHeight' => '30px',
540 'fontColor' => '#2e2e2e',
541 'fontFamily' => 'Merriweather Sans',
542 'fontSize' => '14px',
543 'fontWeight' => 'bold',
544 'textAlign' => 'left',
545 ],
546 ],
547 ],
548 ],
549 ],
550 1 =>
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 . '/Energy-Image-2.jpg',
574 'alt' => 'Energy-Image-2',
575 'fullWidth' => false,
576 'width' => '600px',
577 'height' => '400px',
578 'styles' =>
579 [
580 'block' =>
581 [
582 'textAlign' => 'center',
583 ],
584 ],
585 ],
586 1 =>
587 [
588 'type' => 'text',
589 'text' => '<h3><span style="color: #003366;"><strong>Nuclear power for newcomers</strong></span></h3>',
590 ],
591 2 =>
592 [
593 'type' => 'button',
594 'text' => 'Read more',
595 'url' => '',
596 'styles' =>
597 [
598 'block' =>
599 [
600 'backgroundColor' => '#fdb323',
601 'borderColor' => '#0074a2',
602 'borderWidth' => '0px',
603 'borderRadius' => '0px',
604 'borderStyle' => 'solid',
605 'width' => '100px',
606 'lineHeight' => '30px',
607 'fontColor' => '#2e2e2e',
608 'fontFamily' => 'Merriweather Sans',
609 'fontSize' => '14px',
610 'fontWeight' => 'bold',
611 'textAlign' => 'left',
612 ],
613 ],
614 ],
615 ],
616 ],
617 2 =>
618 [
619 'type' => 'container',
620 'columnLayout' => false,
621 'orientation' => 'vertical',
622 'image' =>
623 [
624 'src' => null,
625 'display' => 'scale',
626 ],
627 'styles' =>
628 [
629 'block' =>
630 [
631 'backgroundColor' => 'transparent',
632 ],
633 ],
634 'blocks' =>
635 [
636 0 =>
637 [
638 'type' => 'image',
639 'link' => '',
640 'src' => $this->template_image_url . '/Energy-Image-3.jpg',
641 'alt' => 'Energy-Image-3',
642 'fullWidth' => false,
643 'width' => '600px',
644 'height' => '400px',
645 'styles' =>
646 [
647 'block' =>
648 [
649 'textAlign' => 'center',
650 ],
651 ],
652 ],
653 1 =>
654 [
655 'type' => 'text',
656 'text' => '<h3><span style="color: #003366;"><strong>Saving the planet, one trip at a time</strong></span></h3>',
657 ],
658 2 =>
659 [
660 'type' => 'button',
661 'text' => 'Read more',
662 'url' => '',
663 'styles' =>
664 [
665 'block' =>
666 [
667 'backgroundColor' => '#fdb323',
668 'borderColor' => '#0074a2',
669 'borderWidth' => '0px',
670 'borderRadius' => '0px',
671 'borderStyle' => 'solid',
672 'width' => '100px',
673 'lineHeight' => '30px',
674 'fontColor' => '#2e2e2e',
675 'fontFamily' => 'Merriweather Sans',
676 'fontSize' => '14px',
677 'fontWeight' => 'bold',
678 'textAlign' => 'left',
679 ],
680 ],
681 ],
682 ],
683 ],
684 ],
685 ],
686 5 =>
687 [
688 'type' => 'container',
689 'columnLayout' => false,
690 'orientation' => 'horizontal',
691 'image' =>
692 [
693 'src' => null,
694 'display' => 'scale',
695 ],
696 'styles' =>
697 [
698 'block' =>
699 [
700 'backgroundColor' => 'transparent',
701 ],
702 ],
703 'blocks' =>
704 [
705 0 =>
706 [
707 'type' => 'container',
708 'columnLayout' => false,
709 'orientation' => 'vertical',
710 'image' =>
711 [
712 'src' => null,
713 'display' => 'scale',
714 ],
715 'styles' =>
716 [
717 'block' =>
718 [
719 'backgroundColor' => 'transparent',
720 ],
721 ],
722 'blocks' =>
723 [
724 0 =>
725 [
726 'type' => 'spacer',
727 'styles' =>
728 [
729 'block' =>
730 [
731 'backgroundColor' => 'transparent',
732 'height' => '35px',
733 ],
734 ],
735 ],
736 ],
737 ],
738 ],
739 ],
740 6 =>
741 [
742 'type' => 'container',
743 'columnLayout' => '1_2',
744 'orientation' => 'horizontal',
745 'image' =>
746 [
747 'src' => null,
748 'display' => 'scale',
749 ],
750 'styles' =>
751 [
752 'block' =>
753 [
754 'backgroundColor' => '#f8f8f8',
755 ],
756 ],
757 'blocks' =>
758 [
759 0 =>
760 [
761 'type' => 'container',
762 'columnLayout' => false,
763 'orientation' => 'vertical',
764 'image' =>
765 [
766 'src' => null,
767 'display' => 'scale',
768 ],
769 'styles' =>
770 [
771 'block' =>
772 [
773 'backgroundColor' => 'transparent',
774 ],
775 ],
776 'blocks' =>
777 [
778 0 =>
779 [
780 'type' => 'image',
781 'link' => '',
782 'src' => $this->template_image_url . '/Energy-Image-Tall.jpg',
783 'alt' => 'Energy-Image-Tall',
784 'fullWidth' => true,
785 'width' => '600px',
786 'height' => '900px',
787 'styles' =>
788 [
789 'block' =>
790 [
791 'textAlign' => 'center',
792 ],
793 ],
794 ],
795 ],
796 ],
797 1 =>
798 [
799 'type' => 'container',
800 'columnLayout' => false,
801 'orientation' => 'vertical',
802 'image' =>
803 [
804 'src' => null,
805 'display' => 'scale',
806 ],
807 'styles' =>
808 [
809 'block' =>
810 [
811 'backgroundColor' => 'transparent',
812 ],
813 ],
814 'blocks' =>
815 [
816 0 =>
817 [
818 'type' => 'spacer',
819 'styles' =>
820 [
821 'block' =>
822 [
823 'backgroundColor' => 'transparent',
824 'height' => '30px',
825 ],
826 ],
827 ],
828 1 =>
829 [
830 'type' => 'text',
831 'text' => '<p style="text-align: left;"><span style="color: #999999;"><strong>S P O N S O R E D</strong></span></p>
832 <h2><span style="color: #003366;"><strong>Control your heating and your spending with our amazing app</strong></span></h2>
833 <p><span style="color: #003366;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse maximus purus vel sem rutrum pulvinar.&nbsp;</span></p>',
834 ],
835 2 =>
836 [
837 'type' => 'image',
838 'link' => '',
839 'src' => $this->template_image_url . '/CityNews-GoogleDownload.png',
840 'alt' => 'CityNews-GoogleDownload',
841 'fullWidth' => false,
842 'width' => '130px',
843 'height' => '168px',
844 'styles' =>
845 [
846 'block' =>
847 [
848 'textAlign' => 'left',
849 ],
850 ],
851 ],
852 3 =>
853 [
854 'type' => 'image',
855 'link' => '',
856 'src' => $this->template_image_url . '/CityNews-AppleDownload.png',
857 'alt' => 'CityNews-AppleDownload',
858 'fullWidth' => false,
859 'width' => '130px',
860 'height' => '168px',
861 'styles' =>
862 [
863 'block' =>
864 [
865 'textAlign' => 'left',
866 ],
867 ],
868 ],
869 ],
870 ],
871 ],
872 ],
873 7 =>
874 [
875 'type' => 'container',
876 'columnLayout' => false,
877 'orientation' => 'horizontal',
878 'image' =>
879 [
880 'src' => null,
881 'display' => 'scale',
882 ],
883 'styles' =>
884 [
885 'block' =>
886 [
887 'backgroundColor' => '#313f58',
888 ],
889 ],
890 'blocks' =>
891 [
892 0 =>
893 [
894 'type' => 'container',
895 'columnLayout' => false,
896 'orientation' => 'vertical',
897 'image' =>
898 [
899 'src' => null,
900 'display' => 'scale',
901 ],
902 'styles' =>
903 [
904 'block' =>
905 [
906 'backgroundColor' => 'transparent',
907 ],
908 ],
909 'blocks' =>
910 [
911 0 =>
912 [
913 'type' => 'spacer',
914 'styles' =>
915 [
916 'block' =>
917 [
918 'backgroundColor' => 'transparent',
919 'height' => '30px',
920 ],
921 ],
922 ],
923 1 =>
924 [
925 'type' => 'image',
926 'link' => '',
927 'src' => $this->template_image_url . '/Energy-Logo.png',
928 'alt' => 'Energy-Logo',
929 'fullWidth' => true,
930 'width' => '134px',
931 'height' => '145px',
932 'styles' =>
933 [
934 'block' =>
935 [
936 'textAlign' => 'center',
937 ],
938 ],
939 ],
940 2 =>
941 [
942 'type' => 'social',
943 'iconSet' => 'official-white',
944 'icons' =>
945 [
946 0 =>
947 [
948 'type' => 'socialIcon',
949 'iconType' => 'facebook',
950 'link' => 'http://www.facebook.com',
951 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
952 'height' => '32px',
953 'width' => '32px',
954 'text' => 'Facebook',
955 ],
956 1 =>
957 [
958 'type' => 'socialIcon',
959 'iconType' => 'twitter',
960 'link' => 'http://www.twitter.com',
961 'image' => $this->social_icon_url . '/12-official-white/X.png',
962 'height' => '32px',
963 'width' => '32px',
964 'text' => 'Twitter',
965 ],
966 2 =>
967 [
968 'type' => 'socialIcon',
969 'iconType' => 'linkedin',
970 'link' => 'http://www.linkedin.com',
971 'image' => $this->social_icon_url . '/12-official-white/Linkedin.png',
972 'height' => '32px',
973 'width' => '32px',
974 'text' => 'LinkedIn',
975 ],
976 ],
977 ],
978 3 =>
979 [
980 'type' => 'text',
981 'text' => '<p style="text-align: center;"><span style="color: #fdb323;"><a href="[link:subscription_unsubscribe_url]" style="color: #fdb323;">' . __("Unsubscribe", 'mailpoet') . '</a>&nbsp;|&nbsp;<a href="[link:subscription_manage_url]" style="color: #fdb323;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br /><span style="color: #999999;">' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
982 ],
983 ],
984 ],
985 ],
986 ],
987 ],
988 ],
989 'globalStyles' =>
990 [
991 'text' =>
992 [
993 'fontColor' => '#000000',
994 'fontFamily' => 'Merriweather Sans',
995 'fontSize' => '14px',
996 ],
997 'h1' =>
998 [
999 'fontColor' => '#111111',
1000 'fontFamily' => 'Merriweather Sans',
1001 'fontSize' => '36px',
1002 ],
1003 'h2' =>
1004 [
1005 'fontColor' => '#222222',
1006 'fontFamily' => 'Merriweather Sans',
1007 'fontSize' => '24px',
1008 ],
1009 'h3' =>
1010 [
1011 'fontColor' => '#333333',
1012 'fontFamily' => 'Merriweather Sans',
1013 'fontSize' => '18px',
1014 ],
1015 'link' =>
1016 [
1017 'fontColor' => '#2ea1cd',
1018 'textDecoration' => 'underline',
1019 ],
1020 'wrapper' =>
1021 [
1022 'backgroundColor' => '#ffffff',
1023 ],
1024 'body' =>
1025 [
1026 'backgroundColor' => '#313f58',
1027 ],
1028 ],
1029 'blockDefaults' =>
1030 [
1031 'automatedLatestContent' =>
1032 [
1033 'amount' => '5',
1034 'withLayout' => false,
1035 'contentType' => 'post',
1036 'inclusionType' => 'include',
1037 'displayType' => 'excerpt',
1038 'titleFormat' => 'h1',
1039 'titleAlignment' => 'left',
1040 'titleIsLink' => false,
1041 'imageFullWidth' => false,
1042 'featuredImagePosition' => 'belowTitle',
1043 'showAuthor' => 'no',
1044 'authorPrecededBy' => 'Author:',
1045 'showCategories' => 'no',
1046 'categoriesPrecededBy' => 'Categories:',
1047 'readMoreType' => 'button',
1048 'readMoreText' => 'Read more',
1049 'readMoreButton' =>
1050 [
1051 'text' => 'Read more',
1052 'url' => '[postLink]',
1053 'context' => 'automatedLatestContent.readMoreButton',
1054 'styles' =>
1055 [
1056 'block' =>
1057 [
1058 'backgroundColor' => '#2ea1cd',
1059 'borderColor' => '#0074a2',
1060 'borderWidth' => '1px',
1061 'borderRadius' => '5px',
1062 'borderStyle' => 'solid',
1063 'width' => '180px',
1064 'lineHeight' => '40px',
1065 'fontColor' => '#ffffff',
1066 'fontFamily' => 'Verdana',
1067 'fontSize' => '18px',
1068 'fontWeight' => 'normal',
1069 'textAlign' => 'center',
1070 ],
1071 ],
1072 ],
1073 'sortBy' => 'newest',
1074 'showDivider' => true,
1075 'divider' =>
1076 [
1077 'context' => 'automatedLatestContent.divider',
1078 'styles' =>
1079 [
1080 'block' =>
1081 [
1082 'backgroundColor' => 'transparent',
1083 'padding' => '13px',
1084 'borderStyle' => 'solid',
1085 'borderWidth' => '3px',
1086 'borderColor' => '#aaaaaa',
1087 ],
1088 ],
1089 ],
1090 'backgroundColor' => '#ffffff',
1091 'backgroundColorAlternate' => '#eeeeee',
1092 ],
1093 'automatedLatestContentLayout' =>
1094 [
1095 'amount' => '5',
1096 'withLayout' => true,
1097 'contentType' => 'post',
1098 'inclusionType' => 'include',
1099 'displayType' => 'excerpt',
1100 'titleFormat' => 'h1',
1101 'titleAlignment' => 'left',
1102 'titleIsLink' => false,
1103 'imageFullWidth' => false,
1104 'featuredImagePosition' => 'alternate',
1105 'showAuthor' => 'no',
1106 'authorPrecededBy' => 'Author:',
1107 'showCategories' => 'no',
1108 'categoriesPrecededBy' => 'Categories:',
1109 'readMoreType' => 'button',
1110 'readMoreText' => 'Read more',
1111 'readMoreButton' =>
1112 [
1113 'text' => 'Read more',
1114 'url' => '[postLink]',
1115 'context' => 'automatedLatestContentLayout.readMoreButton',
1116 'styles' =>
1117 [
1118 'block' =>
1119 [
1120 'backgroundColor' => '#2ea1cd',
1121 'borderColor' => '#0074a2',
1122 'borderWidth' => '1px',
1123 'borderRadius' => '5px',
1124 'borderStyle' => 'solid',
1125 'width' => '180px',
1126 'lineHeight' => '40px',
1127 'fontColor' => '#ffffff',
1128 'fontFamily' => 'Verdana',
1129 'fontSize' => '18px',
1130 'fontWeight' => 'normal',
1131 'textAlign' => 'center',
1132 ],
1133 ],
1134 ],
1135 'sortBy' => 'newest',
1136 'showDivider' => true,
1137 'divider' =>
1138 [
1139 'context' => 'automatedLatestContentLayout.divider',
1140 'styles' =>
1141 [
1142 'block' =>
1143 [
1144 'backgroundColor' => 'transparent',
1145 'padding' => '13px',
1146 'borderStyle' => 'solid',
1147 'borderWidth' => '3px',
1148 'borderColor' => '#aaaaaa',
1149 ],
1150 ],
1151 ],
1152 'backgroundColor' => '#ffffff',
1153 'backgroundColorAlternate' => '#eeeeee',
1154 ],
1155 'button' =>
1156 [
1157 'text' => 'Read more',
1158 'url' => '',
1159 'styles' =>
1160 [
1161 'block' =>
1162 [
1163 'backgroundColor' => '#fdb323',
1164 'borderColor' => '#0074a2',
1165 'borderWidth' => '0px',
1166 'borderRadius' => '0px',
1167 'borderStyle' => 'solid',
1168 'width' => '100px',
1169 'lineHeight' => '30px',
1170 'fontColor' => '#2e2e2e',
1171 'fontFamily' => 'Merriweather Sans',
1172 'fontSize' => '14px',
1173 'fontWeight' => 'bold',
1174 'textAlign' => 'left',
1175 ],
1176 ],
1177 'type' => 'button',
1178 ],
1179 'divider' =>
1180 [
1181 'styles' =>
1182 [
1183 'block' =>
1184 [
1185 'backgroundColor' => 'transparent',
1186 'padding' => '13px',
1187 'borderStyle' => 'solid',
1188 'borderWidth' => '3px',
1189 'borderColor' => '#aaaaaa',
1190 ],
1191 ],
1192 ],
1193 'footer' =>
1194 [
1195 '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>',
1196 'styles' =>
1197 [
1198 'block' =>
1199 [
1200 'backgroundColor' => 'transparent',
1201 ],
1202 'text' =>
1203 [
1204 'fontColor' => '#222222',
1205 'fontFamily' => 'Arial',
1206 'fontSize' => '12px',
1207 'textAlign' => 'center',
1208 ],
1209 'link' =>
1210 [
1211 'fontColor' => '#6cb7d4',
1212 'textDecoration' => 'none',
1213 ],
1214 ],
1215 ],
1216 'posts' =>
1217 [
1218 'amount' => '10',
1219 'withLayout' => true,
1220 'contentType' => 'post',
1221 'postStatus' => 'publish',
1222 'inclusionType' => 'include',
1223 'displayType' => 'excerpt',
1224 'titleFormat' => 'h1',
1225 'titleAlignment' => 'left',
1226 'titleIsLink' => false,
1227 'imageFullWidth' => false,
1228 'featuredImagePosition' => 'alternate',
1229 'showAuthor' => 'no',
1230 'authorPrecededBy' => 'Author:',
1231 'showCategories' => 'no',
1232 'categoriesPrecededBy' => 'Categories:',
1233 'readMoreType' => 'link',
1234 'readMoreText' => 'Read more',
1235 'readMoreButton' =>
1236 [
1237 'text' => 'Read more',
1238 'url' => '[postLink]',
1239 'context' => 'posts.readMoreButton',
1240 'styles' =>
1241 [
1242 'block' =>
1243 [
1244 'backgroundColor' => '#2ea1cd',
1245 'borderColor' => '#0074a2',
1246 'borderWidth' => '1px',
1247 'borderRadius' => '5px',
1248 'borderStyle' => 'solid',
1249 'width' => '180px',
1250 'lineHeight' => '40px',
1251 'fontColor' => '#ffffff',
1252 'fontFamily' => 'Verdana',
1253 'fontSize' => '18px',
1254 'fontWeight' => 'normal',
1255 'textAlign' => 'center',
1256 ],
1257 ],
1258 ],
1259 'sortBy' => 'newest',
1260 'showDivider' => true,
1261 'divider' =>
1262 [
1263 'context' => 'posts.divider',
1264 'styles' =>
1265 [
1266 'block' =>
1267 [
1268 'backgroundColor' => 'transparent',
1269 'padding' => '13px',
1270 'borderStyle' => 'solid',
1271 'borderWidth' => '3px',
1272 'borderColor' => '#aaaaaa',
1273 ],
1274 ],
1275 ],
1276 'backgroundColor' => '#ffffff',
1277 'backgroundColorAlternate' => '#eeeeee',
1278 ],
1279 'social' =>
1280 [
1281 'iconSet' => 'official-white',
1282 'icons' =>
1283 [
1284 0 =>
1285 [
1286 'type' => 'socialIcon',
1287 'iconType' => 'facebook',
1288 'link' => 'http://www.facebook.com',
1289 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
1290 'height' => '32px',
1291 'width' => '32px',
1292 'text' => 'Facebook',
1293 ],
1294 1 =>
1295 [
1296 'type' => 'socialIcon',
1297 'iconType' => 'twitter',
1298 'link' => 'http://www.twitter.com',
1299 'image' => $this->social_icon_url . '/12-official-white/X.png',
1300 'height' => '32px',
1301 'width' => '32px',
1302 'text' => 'Twitter',
1303 ],
1304 2 =>
1305 [
1306 'type' => 'socialIcon',
1307 'iconType' => 'linkedin',
1308 'link' => 'http://www.linkedin.com',
1309 'image' => $this->social_icon_url . '/12-official-white/Linkedin.png',
1310 'height' => '32px',
1311 'width' => '32px',
1312 'text' => 'LinkedIn',
1313 ],
1314 ],
1315 'type' => 'social',
1316 ],
1317 'spacer' =>
1318 [
1319 'styles' =>
1320 [
1321 'block' =>
1322 [
1323 'backgroundColor' => 'transparent',
1324 'height' => '30px',
1325 ],
1326 ],
1327 'type' => 'spacer',
1328 ],
1329 'header' =>
1330 [
1331 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1332 'styles' =>
1333 [
1334 'block' =>
1335 [
1336 'backgroundColor' => 'transparent',
1337 ],
1338 'text' =>
1339 [
1340 'fontColor' => '#222222',
1341 'fontFamily' => 'Arial',
1342 'fontSize' => '12px',
1343 'textAlign' => 'center',
1344 ],
1345 'link' =>
1346 [
1347 'fontColor' => '#6cb7d4',
1348 'textDecoration' => 'underline',
1349 ],
1350 ],
1351 'type' => 'header',
1352 ],
1353 ],
1354 ];
1355 }
1356 }
1357