templates
5 years ago
ga_accounts_selector.php
9 years ago
ga_auth_button.php
9 years ago
ga_code.php
5 years ago
ga_dashboard_widget.php
9 years ago
ga_debug_modal.php
5 years ago
ga_googleanalytics_loader.php
5 years ago
ga_notice.php
5 years ago
ga_oauth_notice.php
9 years ago
ga_wp_notice.php
9 years ago
page.php
5 years ago
statistics.php
5 years ago
stats.php
5 years ago
trending.php
8 years ago
ga_debug_modal.php
32 lines
| 1 | <?php |
| 2 | $show_modal = !empty($_GET['sdb']) ? 'style=display:block;' : ''; |
| 3 | ?> |
| 4 | |
| 5 | <div id="ga_debug_modal" class="ga-modal" tabindex="-1" <?php echo esc_attr( $show_modal ); ?>> |
| 6 | <div class="ga-modal-dialog"> |
| 7 | <div id="ga_debug_modal_content" class="ga-modal-content"> |
| 8 | <div class="ga-modal-header"> |
| 9 | <h4 class="ga-modal-title"><?php _e( 'Debug helper:' ) ?></h4> |
| 10 | <span id="ga_close" class="ga-close">×</span> |
| 11 | </div> |
| 12 | <div class="ga-modal-body"> |
| 13 | <div class="ga-loader-wrapper"> |
| 14 | <div class="ga-loader"></div> |
| 15 | </div> |
| 16 | <div class="ga-debug-form-div"> |
| 17 | <?php if ( is_array( $debug_info ) ) : ?> |
| 18 | <?php echo wp_kses_post( $debug_info['message'] ); ?> |
| 19 | <?php else : ?> |
| 20 | <h4 class="ga-modal-title"><?php _e( 'Copy and paste this debug info into an email and send to support@sharethis.com' ) ?></h4> |
| 21 | <label for="ga_debug_info" class="ga-debug-form-label"><strong><?php _e( 'Debug info' ); ?></strong>:</label> |
| 22 | <textarea id="ga_debug_info" class="ga-debug-form-field" rows="8" cols="50"><?php echo esc_html($debug_info); ?></textarea> |
| 23 | <div class="ga-modal-footer"> |
| 24 | <button type="button" id="copy-debug" class="button"><?php esc_html_e( 'Copy', 'google-analytics' ); ?></button> |
| 25 | <button id="ga_btn_close" type="button" class="button">Close</button> |
| 26 | </div> |
| 27 | <?php endif; ?> |
| 28 | </div> |
| 29 | </div> |
| 30 | </div><!-- /.modal-content --> |
| 31 | </div><!-- /.modal-dialog --> |
| 32 | </div><!-- /.modal --> |