PluginProbe
Tableberg – Simple Gutenberg Table Block / 0.3.2
Tableberg – Simple Gutenberg Table Block v0.3.2
1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 All 42 releases
tableberg / includes / freemius / templates / email.php

email.php in Tableberg – Simple Gutenberg Table Block 0.3.2, at includes/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>