| @@ -1,11 +1,18 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * View template file for main network site connection prompt. |
| 4 | 4 | * |
| 5 | + * @html-template Jetpack::load_view | |
| 5 | 6 | * @package automattic/jetpack |
| 6 | 7 | */ |
| 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 | + | |
| 8 | 15 | ?> |
| 9 | 16 | <div class="wrap"> |
| 10 | 17 | <div class="jetpack-wrap-container dops-card"> |
| 11 | 18 | <div class="jetpack-text-container"> |
| @@ -14,9 +21,9 @@ | ||
| 14 | 21 | <?php esc_html_e( 'Get started managing your Multisite install of Jetpack by connecting.', 'jetpack' ); ?> |
| 15 | 22 | </p> |
| 16 | 23 | </div> |
| 17 | 24 | <div class="jetpack-install-container"> |
| 18 | - <p class="submit"><a href="<?php echo esc_url( $data['url'] ); // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- $data is loaded by Jetpack::load_view(). ?>" class="button-connector dops-button is-primary" id="wpcom-connect"><?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?></a></p> | |
| 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> | |
| 19 | 26 | <p class="jetpack-install-blurb"> |
| 20 | 27 | <?php jetpack_render_tos_blurb(); ?> |
| 21 | 28 | </p> |
| 22 | 29 | </div> |