| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/wp-content/plugins/elementor/modules/system-info/templates/ |
Upload File : |
<?php
use Elementor\Utils;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* @var array $reports
*/
foreach ( $reports as $report_name => $report ) : ?>
<div class="elementor-system-info-section elementor-system-info-<?php echo esc_attr( $report_name ); ?>">
<table class="widefat">
<thead>
<tr>
<th><?php Utils::print_unescaped_internal_string( $report['label'] ); ?></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach ( $report['report'] as $field_name => $field ) :
if ( in_array( $report_name, [ 'plugins', 'network_plugins', 'mu_plugins' ], true ) ) {
foreach ( $field['value'] as $plugin_info ) :
?>
<tr>
<td><?php
if ( $plugin_info['PluginURI'] ) :
$plugin_name = "<a href='{$plugin_info['PluginURI']}'>{$plugin_info['Name']}</a>";
else :
$plugin_name = $plugin_info['Name'];
endif;
if ( $plugin_info['Version'] ) :
$plugin_name .= ' - ' . $plugin_info['Version'];
endif;
Utils::print_unescaped_internal_string( $plugin_name );
?></td>
<td><?php
if ( $plugin_info['Author'] ) :
if ( $plugin_info['AuthorURI'] ) :
$author = "<a href='{$plugin_info['AuthorURI']}'>{$plugin_info['Author']}</a>";
else :
$author = $plugin_info['Author'];
endif;
Utils::print_unescaped_internal_string( "By $author" );
endif;
?></td>
<td></td>
</tr>
<?php
endforeach;
} else {
$warning_class = ! empty( $field['warning'] ) ? ' class="elementor-warning"' : '';
$log_label = ! empty( $field['label'] ) ? $field['label'] . ':' : '';
?>
<tr<?php Utils::print_unescaped_internal_string( $warning_class ); ?>>
<td><?php Utils::print_unescaped_internal_string( $log_label ); ?></td>
<td><?php Utils::print_unescaped_internal_string( $field['value'] ); ?></td>
<td><?php
if ( ! empty( $field['recommendation'] ) ) :
Utils::print_unescaped_internal_string( $field['recommendation'] );
endif;
?></td>
</tr>
<?php
}
endforeach;
?>
</tbody>
</table>
</div>
<?php
endforeach;