PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 1.3.4
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v1.3.4
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / freemius / templates / email.php

email.php in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites 1.3.4, at freemius/templates/email.php

49 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Freemius
4 * @copyright Copyright (c) 2015, Freemius, Inc.
5 * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
6 * @since 1.1.1
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 /**
14 * @var array $VARS
15 */
16 $sections = $VARS['sections'];
17 ?>
18 <table>
19 <?php
20 foreach ( $sections as $section_id => $section ) {
21 ?>
22 <thead>
23 <tr><th colspan="2" style="text-align: left; background: #333; color: #fff; padding: 5px;"><?php echo esc_html($section['title']) ?></th></tr>
24 </thead>
25 <tbody>
26 <?php
27 foreach ( $section['rows'] as $row_id => $row ) {
28 $col_count = count( $row );
29 ?>
30 <tr>
31 <?php
32 if ( 1 === $col_count ) { ?>
33 <td style="vertical-align: top;" colspan="2"><?php echo $row[0] ?></td>
34 <?php
35 } else { ?>
36 <td style="vertical-align: top;"><b><?php echo esc_html($row[0]) ?>:</b></td>
37 <td><?php echo $row[1]; ?></td>
38 <?php
39 }
40 ?>
41 </tr>
42 <?php
43 }
44 ?>
45 </tbody>
46 <?php
47 }
48 ?>
49 </table>