prior-consent
4 years ago
debug-page.php
4 years ago
gtm-page.php
4 years ago
iab-page.php
4 years ago
legislations-page.php
4 years ago
network-settings-page.php
4 years ago
settings-page.php
4 years ago
support-page.php
4 years ago
debug-page.php
34 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var string $debug_output |
| 4 | */ |
| 5 | ?> |
| 6 | <div class="wrap"> |
| 7 | <h1><?php esc_html_e( 'Debug information', 'cookiebot' ); ?></h1> |
| 8 | <p> |
| 9 | <?php |
| 10 | esc_html_e( |
| 11 | 'The information below is for debugging purpose. If you have any issues with your Cookiebot integration, the information below is usefull for a supporter to help you the best way.', |
| 12 | 'cookiebot' |
| 13 | ); |
| 14 | ?> |
| 15 | </p> |
| 16 | <p> |
| 17 | <button class="button button-primary" onclick="copyDebugInfo();"> |
| 18 | <?php |
| 19 | esc_html_e( |
| 20 | 'Copy debug information to clipboard', |
| 21 | 'cookiebot' |
| 22 | ); |
| 23 | ?> |
| 24 | </button> |
| 25 | </p> |
| 26 | <textarea |
| 27 | cols="100" |
| 28 | rows="40" |
| 29 | style="width:800px;max-width:100%;" |
| 30 | id="cookiebot-debug-info" |
| 31 | readonly="readonly" |
| 32 | ><?php echo esc_textarea( $debug_output ); ?></textarea> |
| 33 | </div> |
| 34 |