<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * @var string $id */ ?> <script type="text/x-jquery-template" id="<?php echo esc_attr($id); ?>-tmpl"> <div class="wf-circle-tooltip-block"> <div class="wf-circle-tooltip-header"><h4><?php echo esc_html($title) ?></h4></div> <div class="wf-circle-tooltip-body wf-flex-vertical wf-flex-align-left wf-flex-full-width"> <?php if (isset($statusExtra) && !empty($statusExtra)) { echo $statusExtra; } ?> <div class="wf-flex-row"> <div class="wf-tooltip-status-circle wf-flex-row-0"> {{html statusCircle}} </div> <div class="wf-flex-row-1"> <?php if (empty($statusList)): ?> <p><?php echo wp_kses(__('<strong>Congratulations!</strong> You\'ve optimized configurations for this feature! If you want to learn more about how this score is determined, click the link below.', 'wordfence'), array('strong'=>array())); ?></p> <p><a target="_blank" rel="noopener noreferrer" href="<?php echo esc_url($helpLink) ?>"><?php esc_html_e('How does Wordfence determine this?', 'wordfence') ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></p> <?php else: ?> <h4><?php esc_html_e('How do I get to 100%?', 'wordfence') ?></h4> <ul> <?php foreach ($statusList as $listItem): ?> <li class="wf-flex-row"> <strong class="wf-flex-row-0"><?php echo $listItem['percentage'] * 100 ?>%</strong> <span class="wf-flex-row-1"><?php echo esc_html($listItem['title']) ?></span> </li> <?php endforeach ?> </ul> <p><a target="_blank" rel="noopener noreferrer" href="<?php echo esc_url($helpLink) ?>"><?php esc_html_e('How does Wordfence determine this?', 'wordfence') ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></p> <?php endif ?> </div> </div> </div> </div> </script>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
block-navigation-option.php | File | 1.44 KB | 0644 |
|
indeterminate-progress.php | File | 2.8 KB | 0644 |
|
license.php | File | 3.38 KB | 0644 |
|
modal-prompt.php | File | 3.29 KB | 0644 |
|
page-fixed-tabbar.php | File | 1.63 KB | 0644 |
|
page-help.php | File | 382 B | 0644 |
|
page-tabbar.php | File | 785 B | 0644 |
|
page-title.php | File | 2.08 KB | 0644 |
|
section-subtitle.php | File | 1.31 KB | 0644 |
|
section-title.php | File | 1.3 KB | 0644 |
|
status-circular.php | File | 927 B | 0644 |
|
status-critical.php | File | 1.68 KB | 0644 |
|
status-detail.php | File | 1.7 KB | 0644 |
|
status-tooltip.php | File | 1.89 KB | 0644 |
|
status-warning.php | File | 1.65 KB | 0644 |
|
unsubscribe.php | File | 4.01 KB | 0644 |
|