templates
4 years ago
ga_accounts_selector.php
4 years ago
ga_auth_button.php
9 years ago
ga_code.php
4 years ago
ga_dashboard_widget.php
4 years ago
ga_debug_modal.php
6 years ago
ga_googleanalytics_loader.php
7 years ago
ga_notice.php
4 years ago
ga_oauth_notice.php
4 years ago
ga_wp_notice.php
9 years ago
page.php
5 years ago
statistics.php
6 years ago
stats.php
4 years ago
trending.php
8 years ago
ga_auth_button.php
7 lines
| 1 | <button id="ga_authorize_with_google_button" class="<?php echo ( $type == 'auth' ) ? 'button-primary' : 'button-secondary' ?>" |
| 2 | <?php if ( Ga_Helper::are_features_enabled() ) : ?> |
| 3 | onclick="ga_popup.authorize( event, '<?php echo esc_attr( $url ); ?>' )" |
| 4 | <?php endif; ?> |
| 5 | <?php echo( ( esc_attr( $manually_id ) || ! Ga_Helper::are_features_enabled() || Ga_Helper::is_curl_disabled() ) ? 'disabled="disabled"' : '' ); ?> |
| 6 | ><?php _e( $label ) ?> |
| 7 | </button> |