PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / trunk
bBlocks – Essential Gutenberg Blocks & Patterns Collection vtrunk
2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 106 releases
b-blocks / freemius / templates / email.php

email.php in bBlocks – Essential Gutenberg Blocks & Patterns Collection trunk, 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>