Code Duplication    Length = 3-5 lines in 3 locations

_inc/lib/admin-pages/class.jetpack-admin-page.php 3 locations

@@ 339-343 (lines=5) @@
336
					<li class="jp-footer__link-item">
337
						<a href="<?php echo esc_url( $jetpack_admin_url . '#/privacy' ); ?>" rel="noopener noreferrer" title="<?php esc_html_e( "Automattic's Privacy Policy", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Privacy', 'Navigation item', 'jetpack' ); ?></a>
338
					</li>
339
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_sites_page' ) ) { ?>
340
						<li class="jp-footer__link-item">
341
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Sites', 'Navigation item', 'jetpack' ); ?></a>
342
						</li>
343
					<?php } ?>
344
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_settings_page' ) ) { ?>
345
						<li class="jp-footer__link-item">
346
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack-settings' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Settings', 'Navigation item', 'jetpack' ); ?></a>
@@ 344-348 (lines=5) @@
341
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Sites', 'Navigation item', 'jetpack' ); ?></a>
342
						</li>
343
					<?php } ?>
344
					<?php if ( is_multisite() && current_user_can( 'jetpack_network_settings_page' ) ) { ?>
345
						<li class="jp-footer__link-item">
346
							<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack-settings' ) ); ?>" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Network Settings', 'Navigation item', 'jetpack' ); ?></a>
347
						</li>
348
					<?php } ?>
349
					<?php if ( current_user_can( 'manage_options' ) ) { ?>
350
						<li class="jp-footer__link-item">
351
							<a href="<?php echo esc_url( admin_url( 'admin.php?page=jetpack_modules' ) ); ?>" title="<?php esc_html_e( "Access the full list of Jetpack modules available on your site.", 'jetpack' ); ?>" class="jp-footer__link"><?php echo esc_html_x( 'Modules', 'Navigation item', 'jetpack' ); ?></a>
@@ 283-285 (lines=3) @@
280
								?>
281
								<span class="dops-button-group">
282
									<?php
283
									if ( current_user_can( 'jetpack_network_sites_page' ) ) {
284
										?>
285
										<a href="<?php echo esc_url( network_admin_url( 'admin.php?page=jetpack' ) ); ?>" type="button" class="<?php echo esc_attr( $highlight_current_sites ); ?> dops-button is-compact" title="<?php esc_html_e( "Manage your network's Jetpack Sites.", 'jetpack' ); ?>"><?php echo esc_html_x( 'Sites', 'Navigation item', 'jetpack' ); ?></a>
286
										<?php
287
									} if ( current_user_can( 'jetpack_network_settings_page' ) ) {
288
										?>