PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.13
Elementor Website Builder – more than just a page builder v3.0.13
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / modules / system-info / templates / html.php

html.php in Elementor Website Builder – more than just a page builder 3.0.13, at modules/system-info/templates/html.php

76 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly.
4 }
5
6 /**
7 * @var array $reports
8 */
9 foreach ( $reports as $report_name => $report ) : ?>
10 <div class="elementor-system-info-section elementor-system-info-<?php echo esc_attr( $report_name ); ?>">
11 <table class="widefat">
12 <thead>
13 <tr>
14 <th><?php echo $report['label']; ?></th>
15 <th></th>
16 <th></th>
17 </tr>
18 </thead>
19 <tbody>
20 <?php
21 foreach ( $report['report'] as $field_name => $field ) :
22 if ( in_array( $report_name, [ 'plugins', 'network_plugins', 'mu_plugins' ], true ) ) {
23 foreach ( $field['value'] as $plugin_info ) :
24 ?>
25 <tr>
26 <td><?php
27 if ( $plugin_info['PluginURI'] ) :
28 $plugin_name = "<a href='{$plugin_info['PluginURI']}'>{$plugin_info['Name']}</a>";
29 else :
30 $plugin_name = $plugin_info['Name'];
31 endif;
32
33 if ( $plugin_info['Version'] ) :
34 $plugin_name .= ' - ' . $plugin_info['Version'];
35 endif;
36
37 echo $plugin_name;
38 ?></td>
39 <td><?php
40 if ( $plugin_info['Author'] ) :
41 if ( $plugin_info['AuthorURI'] ) :
42 $author = "<a href='{$plugin_info['AuthorURI']}'>{$plugin_info['Author']}</a>";
43 else :
44 $author = $plugin_info['Author'];
45 endif;
46
47 echo "By $author";
48 endif;
49 ?></td>
50 <td></td>
51 </tr>
52 <?php
53 endforeach;
54 } else {
55 $warning_class = ! empty( $field['warning'] ) ? ' class="elementor-warning"' : '';
56 $log_label = ! empty( $field['label'] ) ? $field['label'] . ':' : '';
57 ?>
58 <tr<?php echo $warning_class; ?>>
59 <td><?php echo $log_label; ?></td>
60 <td><?php echo $field['value']; ?></td>
61 <td><?php
62 if ( ! empty( $field['recommendation'] ) ) :
63 echo $field['recommendation'];
64 endif;
65 ?></td>
66 </tr>
67 <?php
68 }
69 endforeach;
70 ?>
71 </tbody>
72 </table>
73 </div>
74 <?php
75 endforeach;
76