PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 5.3.1
Defender Security – Malware Scanner, Login Security & Firewall v5.3.1
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
defender-security / src / view / email / scan-issue-list.php

scan-issue-list.php in Defender Security – Malware Scanner, Login Security & Firewall 5.3.1, at src/view/email/scan-issue-list.php

68 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This template is used to display list of scan issues in email.
4 *
5 * @package WP_Defender
6 */
7
8 ?>
9 <table class="reports-list" align="center"
10 style="border-collapse: collapse;border-spacing: 0;margin: 0 0 30px;padding: 0;text-align: left;vertical-align: top;width: 100%">
11 <thead>
12 <tr>
13 <th style="padding-left: 20px;color: #1A1A1A;font-family: Roboto, Arial, sans-serif;font-size: 12px;font-weight: 500;line-height: 27px; letter-spacing: -0.23px; text-align: left; background-color: #F2F2F2; border-radius: 4px 0 0 0; overflow:hidden;">
14 <?php esc_html_e( 'File', 'defender-security' ); ?>
15 </th>
16 <th style="padding-right: 20px;color: #1A1A1A;font-family: Roboto, Arial, sans-serif;font-size: 12px;font-weight: 500;line-height: 27px; letter-spacing: -0.23px; text-align: right; width:180px; background-color: #F2F2F2; border-radius: 0 4px 0 0; overflow:hidden;">
17 <?php esc_html_e( 'Issue', 'defender-security' ); ?>
18 </th>
19 </tr>
20 </thead>
21 <tbody>
22 <?php
23 $abs_path = untrailingslashit( ABSPATH );
24 foreach ( $issues as $k => $item ) {
25 $detail = $item->to_array();
26 $full_path = '';
27 if ( ! empty( $detail['full_path'] ) ) {
28 $full_path = esc_html( $detail['full_path'] );
29 if ( 0 === strpos( $full_path, $abs_path ) ) {
30 $full_path = $abs_path . '<span>' . substr( $full_path, strlen( $abs_path ) ) . '</span>';
31 }
32 }
33 ?>
34 <tr class="report-list-item" style="border: 1px solid #F2F2F2;padding: 0;text-align: left;vertical-align: top">
35 <td class="report-list-item-info"
36 style="border-collapse: collapse !important;color: #1A1A1A;font-family: Roboto, Arial, sans-serif;font-size: 12px;line-height: 22px;font-weight: 500;letter-spacing: -0.23px;margin: 0;padding: 18px 0;text-align: left;vertical-align: top">
37 <span style="color: inherit;display: inline-block;font-size: inherit;font-weight: inherit;font-family: inherit;line-height: inherit;vertical-align: middle;letter-spacing: -0.25px;padding-left: 20px;">
38 <?php echo esc_html( $detail['file_name'] ); ?>
39 <span class="report-list-item-path"
40 style="display: inline-block; width: 100%;"><?php echo wp_kses( $full_path, array( 'span' => array() ) ); ?></span>
41 </span>
42 </td>
43 <td class="report-list-item-info"
44 style="border-collapse: collapse !important;color: #1A1A1A;font-family: Roboto, Arial, sans-serif;font-size: 12px;line-height: 22px;font-weight: 500;letter-spacing: -0.25px;margin: 0;padding: 18px 0;text-align: left;vertical-align: top">
45 <span style="color: inherit;display: inline-block;font-size: inherit;font-weight: inherit;font-family: inherit;line-height: inherit;vertical-align: middle;letter-spacing: -0.25px;padding-right: 20px;"><?php echo esc_html( $detail['short_desc'] ); ?></span>
46 </td>
47 </tr>
48 <?php } ?>
49 </tbody>
50 </table>
51 <p style="font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight: normal;line-height: 10px;margin: 0;padding: 0;text-align: center">
52 <a href="
53 <?php
54 echo esc_url(
55 apply_filters(
56 'report_email_logs_link',
57 network_admin_url( 'admin.php?page=wdf-scan' ),
58 $email
59 )
60 );
61 ?>
62 "
63 class="button view-full"
64 style="font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight: normal;line-height: 20px;text-align: center; margin-bottom:0;">
65 <?php esc_html_e( 'View Full Report', 'defender-security' ); ?>
66 </a>
67 </p>
68