Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 16 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /** |
| 3 | * View template file for main network site connection prompt. |
| 4 | * |
| 5 | * @html-template Jetpack::load_view |
| 6 | * @package automattic/jetpack |
| 7 | */ |
| 8 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit( 0 ); |
| 11 | } |
| 12 | |
| 13 | // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- HTML template, let Phan handle it. |
| 14 | |
| 15 | ?> |
| 16 | <div class="wrap"> |
| 17 | <div class="jetpack-wrap-container dops-card"> |
| 18 | <div class="jetpack-text-container"> |
| 19 | <h1><?php esc_html_e( 'Get started with Jetpack Multisite', 'jetpack' ); ?></h1> |
| 20 | <p> |
| 21 | <?php esc_html_e( 'Get started managing your Multisite install of Jetpack by connecting.', 'jetpack' ); ?> |
| 22 | </p> |
| 23 | </div> |
| 24 | <div class="jetpack-install-container"> |
| 25 | <p class="submit"><a href="<?php echo esc_url( $data['url'] ); ?>" class="button-connector dops-button is-primary" id="wpcom-connect"><?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?></a></p> |
| 26 | <p class="jetpack-install-blurb"> |
| 27 | <?php jetpack_render_tos_blurb(); ?> |
| 28 | </p> |
| 29 | </div> |
| 30 | </div> |
| 31 | </div> |