| @@ -1,32 +1,36 @@ | ||
| 1 | 1 | <div class="overlay-content"> |
| 2 | - <h3> | |
| 3 | - <?php _e( 'Unlock Analytics With BetterDocs PRO', 'betterdocs' );?> | |
| 4 | - <img src="<?php echo betterdocs()->assets->icon( 'analytics/lock.png', true ); ?>" id="img-teaser" alt=""> | |
| 5 | - </h3> | |
| 6 | - <p class="teaser-text teaser-desc"> | |
| 7 | - <?php _e( 'Scale your support tickets tracking the performance of your knowledge base BetterDocs Analytics.', 'betterdocs' );?> | |
| 8 | - </p> | |
| 9 | - <ul class="analytics-list"> | |
| 10 | - <li> | |
| 11 | - <div class="analytics-item"> | |
| 12 | - <img src="<?php echo betterdocs()->assets->icon( 'analytics/graph.png', true ); ?>" id="img-teaser-1" alt=""> | |
| 13 | - <p class="teaser-text"><?php _e( 'Measure performance of your knowledge base', 'betterdocs' );?></p> | |
| 14 | - </div> | |
| 15 | - </li> | |
| 16 | - <li> | |
| 17 | - <div class="analytics-item"> | |
| 18 | - <img src="<?php echo betterdocs()->assets->icon( 'analytics/magifier.png', true ); ?>" id="img-teaser-2" alt=""> | |
| 19 | - <p class="teaser-text"><?php _e( 'Identify most viewed docs and doc categories', 'betterdocs' );?></p> | |
| 20 | - </div> | |
| 21 | - </li> | |
| 22 | - <li> | |
| 23 | - <div class="analytics-item"> | |
| 24 | - <img src="<?php echo betterdocs()->assets->icon( 'analytics/globe.png', true ); ?>" id="img-teaser-4" alt=""> | |
| 25 | - <p class="teaser-text"><?php _e( 'Identify most used keywords searched by site visitors', 'betterdocs' );?> </p> | |
| 26 | - </div> | |
| 27 | - </li> | |
| 28 | - </ul> | |
| 29 | - <div class="analytics-upgrade-btn"> | |
| 30 | - <a href="https://betterdocs.co/upgrade"><?php _e( 'Upgrade To BetterDocs PRO', 'betterdocs' )?></a> | |
| 31 | - </div> | |
| 2 | + <h3> | |
| 3 | + <?php | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | +esc_html_e( 'Unlock Analytics With BetterDocs PRO', 'betterdocs' ); ?> | |
| 8 | + <img src="<?php echo betterdocs()->assets->icon( 'analytics/lock.png', true ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This is a markup so escaping is not needed here ?>" id="img-teaser" alt=""> | |
| 9 | + </h3> | |
| 10 | + <p class="teaser-text teaser-desc"> | |
| 11 | + <?php esc_html_e( 'Scale your support tickets tracking the performance of your knowledge base BetterDocs Analytics.', 'betterdocs' ); ?> | |
| 12 | + </p> | |
| 13 | + <ul class="analytics-list"> | |
| 14 | + <li> | |
| 15 | + <div class="analytics-item"> | |
| 16 | + <img src="<?php echo betterdocs()->assets->icon( 'analytics/graph.png', true ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This is a markup so escaping is not needed here ?>" id="img-teaser-1" alt=""> | |
| 17 | + <p class="teaser-text"><?php esc_html_e( 'Measure performance of your knowledge base', 'betterdocs' ); ?></p> | |
| 18 | + </div> | |
| 19 | + </li> | |
| 20 | + <li> | |
| 21 | + <div class="analytics-item"> | |
| 22 | + <img src="<?php echo betterdocs()->assets->icon( 'analytics/magifier.png', true ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This is a markup so escaping is not needed here ?>" id="img-teaser-2" alt=""> | |
| 23 | + <p class="teaser-text"><?php esc_html_e( 'Identify most viewed docs and doc categories', 'betterdocs' ); ?></p> | |
| 24 | + </div> | |
| 25 | + </li> | |
| 26 | + <li> | |
| 27 | + <div class="analytics-item"> | |
| 28 | + <img src="<?php echo betterdocs()->assets->icon( 'analytics/globe.png', true ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This is a markup so escaping is not needed here ?>" id="img-teaser-4" alt=""> | |
| 29 | + <p class="teaser-text"><?php esc_html_e( 'Identify most used keywords searched by site visitors', 'betterdocs' ); ?> </p> | |
| 30 | + </div> | |
| 31 | + </li> | |
| 32 | + </ul> | |
| 33 | + <div class="analytics-upgrade-btn"> | |
| 34 | + <a href="https://betterdocs.co/upgrade"><?php esc_html_e( 'Upgrade To BetterDocs PRO', 'betterdocs' ); ?></a> | |
| 35 | + </div> | |
| 32 | 36 | </div> |