PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 4.2.5
Jetpack – WP Security, Backup, Speed, & Growth v4.2.5
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / views / admin / admin-page.php

admin-page.php in Jetpack – WP Security, Backup, Speed, & Growth 4.2.5, at views/admin/admin-page.php

407 lines 22.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="page-content landing">
2 <?php Jetpack::init()->load_view( 'admin/network-activated-notice.php' ); ?>
3
4 <?php
5 /**
6 * Fires when a notice is displayed in the Jetpack menu.
7 *
8 * @since 3.0.0
9 */
10 do_action( 'jetpack_notices' );
11 ?>
12
13 <?php if ( $data['is_connected'] ) : ?>
14
15 <?php if ( $data['show_jumpstart'] && 'new_connection' === Jetpack_Options::get_option( 'jumpstart' ) && current_user_can( 'jetpack_manage_modules' ) && ! Jetpack::is_development_mode() ) : ?>
16
17 <div id="jump-start-success"></div>
18 <div id="jump-start-area" class="jump-start-area j-row">
19 <h1 title="<?php esc_attr_e( 'Jump Start your site by activating these components', 'jetpack' ); ?>" class="jstart"><?php _e( 'Jump Start your site', 'jetpack' ); ?></h1>
20 <div class="jumpstart-desc j-col j-sm-12 j-md-12">
21 <div class="jumpstart-message">
22 <p id="jumpstart-paragraph-before"><?php
23 if ( count( $data['jumpstart_list'] ) > 1 ) {
24 $last_item = array_pop( $data['jumpstart_list'] );
25 /* translators: %1$s is a comma-separated list of module names or a single module name, %2$s is the last item in the module list */
26 echo sprintf( __( 'To quickly boost performance, security, and engagement we recommend activating <strong>%1$s and %2$s</strong>. Click <strong>Jump Start</strong> to activate these features or <a class="pointer jp-config-list-btn">learn more</a>', 'jetpack' ), implode( $data['jumpstart_list'], ', ' ), $last_item );
27
28 } else {
29 /* translators: %s is a module name */
30 echo sprintf( __( 'To quickly boost performance, security, and engagement we recommend activating <strong>%s</strong>. Click <strong>Jump Start</strong> to activate this feature or <a class="pointer jp-config-list-btn">learn more</a>', 'jetpack' ), $data['jumpstart_list'][0] );
31 }
32 ?></p>
33 </div><!-- /.jumpstart-message -->
34 </div>
35 <div class="jumpstart-message hide">
36 <h1 title="<?php esc_attr_e( 'Your site has been sucessfully Jump Started.', 'jetpack' ); ?>" class="success"><?php _e( 'Success! You\'ve jump started your site.', 'jetpack' ); ?></h1>
37 <p><?php echo sprintf( __( 'Check out other recommended features below, or go to the <a href="%s">settings</a> page to customize your Jetpack experience.', 'jetpack' ), admin_url( 'admin.php?page=jetpack_modules' ) ); ?></p>
38 </div><!-- /.jumpstart-message -->
39 <div id="jumpstart-cta" class="j-col j-sm-12 j-md-12 j-lrg-4">
40 <img class="jumpstart-spinner" style="margin: 50px auto 14px; display: none;" width="17" height="17" src="<?php echo esc_url( includes_url( 'images/spinner-2x.gif' ) ); ?>" alt="Loading ..." />
41 <a id="jump-start" class="button-primary" ><?php esc_html_e( 'Jump Start', 'jetpack' ); ?></a>
42 <a class="dismiss-jumpstart pointer" ><?php esc_html_e( 'Skip', 'jetpack' ); ?></a>
43 </div>
44 <div id="jump-start-module-area">
45 <div id="jp-config-list" class="clear j-row hide">
46 <a class="pointer jp-config-list-btn close" ><span class="dashicons dashicons-no"></span></a>
47 </div>
48 </div>
49 </div>
50
51 <?php endif; ?>
52
53 <?php if ( $data['is_connected'] && ! $data['is_user_connected'] && current_user_can( 'jetpack_connect_user' ) ) : ?>
54 <div class="link-button" style="width: 100%; text-align: center; margin-top: 15px;">
55 <a href="<?php echo Jetpack::init()->build_connect_url() ?>" class="download-jetpack"><?php esc_html_e( 'Link your account to WordPress.com', 'jetpack' ); ?></a>
56 </div>
57 <?php endif; ?>
58
59 <div class="nux-intro jp-content" style="display: none;">
60
61 <h1 title="<?php esc_attr_e( 'Improve your site with Jetpack', 'jetpack' ); ?>"><?php _e( 'Improve your site with Jetpack', 'jetpack' ); ?></h1>
62 <p><?php _e( 'Jetpack can help secure your site, increase performance &amp; traffic, and simplify how you manage your site.', 'jetpack' ); ?></p>
63
64 <div class="j-row">
65
66 <?php // Performance & Security ?>
67 <div class="j-col j-lrg-4 main-col">
68 <div class="nux-in">
69
70 <h3 title="<?php esc_attr_e( 'Performance &amp; Security', 'jetpack' ); ?>">
71 <?php /* Leave out until better link is available
72 <a class="dashicons dashicons-editor-help" href="http://jetpack.com/features/" title="<?php esc_attr_e( 'Learn more about Jetpack\'s Performance &amp; Security tools', 'jetpack' ); ?>" target="_blank"></a>
73 */ ?>
74 <?php _e( 'Performance &amp; Security', 'jetpack' ); ?>
75 </h3>
76
77 <?php // The template container from landing-page-templates.php ?>
78 <div id="nux-performance-security"></div>
79
80 </div> <?php // nux-in ?>
81 </div><?php // j-col ?>
82 <?php // END Performance & Security ?>
83
84 <?php // Traffic Boosting Tools ?>
85 <div class="j-col j-lrg-4 main-col">
86 <div class="nux-in">
87
88 <h3 title="<?php esc_attr_e( 'Traffic Growth', 'jetpack' ); ?>">
89 <?php /* Leave out until better link is available
90 <a class="dashicons dashicons-editor-help" href="http://jetpack.com/features/" title="<?php esc_attr_e( 'Learn more about Jetpack\'s Traffic Boosting tools', 'jetpack' ); ?>" target="_blank"></a>
91 */ ?>
92 <?php _e( 'Traffic Growth', 'jetpack' ); ?>
93 </h3>
94
95 <?php // The template container from landing-page-templates.php ?>
96 <div id="nux-traffic"></div>
97
98 </div> <?php // nux-in ?>
99 </div><?php // j-col ?>
100 <?php // END Traffic Tools ?>
101
102
103 <?php // WordPress.com Tools ?>
104 <div class="wpcom j-col j-lrg-4 main-col">
105 <div class="nux-in">
106
107 <h3 title="<?php esc_attr_e( 'WordPress.com Tools', 'jetpack' ); ?>"><a class="dashicons dashicons-editor-help" href="http://jetpack.com/support/site-management/" title="<?php esc_attr_e( 'Learn more about WordPress.com\'s free tools', 'jetpack' ); ?>" target="_blank"></a><?php _e( 'WordPress.com Tools', 'jetpack' ); ?></h3>
108
109 <div class="j-row">
110 <div class="j-col j-lrg-12 j-md-12 j-sm-12">
111 <h4 title="<?php esc_attr_e( 'Manage Multiple Sites', 'jetpack' ); ?>"><?php _e( 'Manage Multiple Sites', 'jetpack' ); ?></h4>
112 <p title="<?php esc_attr_e( 'Bulk site management from one dashboard.', 'jetpack' ); ?>"><?php _e( 'Bulk site management from one dashboard.', 'jetpack' ); ?></p>
113 </div>
114 </div><?php // j-row ?>
115
116 <div class="j-row">
117 <div class="j-col j-lrg-12 j-md-12 j-sm-12">
118 <h4 title="<?php esc_attr_e( 'Automatic Updates', 'jetpack' ); ?>"><?php _e( 'Automatic Updates', 'jetpack' ); ?></h4>
119 <p title="<?php esc_attr_e( 'Keep plugins auto-updated.', 'jetpack' ); ?>"><?php _e( 'Keep plugins auto-updated.', 'jetpack' ); ?></p>
120 </div>
121 </div><?php // j-row ?>
122
123 <div class="j-row">
124 <div class="j-col j-lrg-12 j-md-12 j-sm-12">
125 <h4 title="<?php esc_attr_e( 'Centralized Posting', 'jetpack' ); ?>"><?php _e( 'Centralized Posting', 'jetpack' ); ?></h4>
126 <p title="<?php esc_attr_e( 'Post to your sites via mobile devices.', 'jetpack' ); ?>"><?php _e( 'Post to your sites via mobile devices.', 'jetpack' ); ?></p>
127 </div>
128 </div><?php // j-row ?>
129
130 <div class="j-row">
131 <div class="j-col j-lrg-12 j-md-12 j-sm-12">
132 <h4 title="<?php esc_attr_e( 'Menu Management', 'jetpack' ); ?>"><?php _e( 'Menu Management', 'jetpack' ); ?></h4>
133 <p title="<?php esc_attr_e( 'A simpler UI for creating and editing menus.', 'jetpack' ); ?>"><?php _e( 'A simpler UI for creating and editing menus.', 'jetpack' ); ?></p>
134 </div>
135 </div><?php // j-row ?>
136
137 <div class="j-row">
138 <div class="j-col j-lrg-12 j-md-12 j-sm-12">
139 <h4 title="<?php esc_attr_e( 'More Statistics', 'jetpack' ); ?>"><?php _e( 'More Statistics', 'jetpack' ); ?></h4>
140 <p title="<?php esc_attr_e( 'Enhanced site stats and insights.', 'jetpack' ); ?>"><?php _e( 'Enhanced site stats and insights.', 'jetpack' ); ?></p>
141 </div>
142 </div><?php // j-row ?>
143
144 <?php
145 $normalized_site_url = Jetpack::build_raw_urls( get_home_url() );
146 $manage_active = Jetpack::is_module_active( 'manage' );
147 ?>
148 <?php if ( current_user_can( 'jetpack_manage_modules' ) && $data['is_user_connected'] && ! Jetpack::is_development_mode() ) : ?>
149 <div id="manage-row" class="j-row goto <?php echo ( $manage_active ) ? 'activated' : ''; ?>">
150 <div class="feat j-col <?php echo ( $manage_active ) ? '' : 'j-lrg-7 j-md-8 j-sm-7'; ?>">
151 <a href="<?php echo esc_url( 'https://wordpress.com/plugins/' . $normalized_site_url . '?from=jpnux' ); ?>" class="button button-primary manage-cta-active" target="_blank" style="display: <?php echo ( $manage_active ) ? 'inline-block' : 'none'; ?>;" title="<?php esc_attr_e( 'Go to WordPress.com to try these features', 'jetpack' ); ?>"><?php _e( 'Go to WordPress.com', 'jetpack' ); ?></a>
152 <label for="active-manage" class="button button-primary form-toggle manage-cta-inactive" style="display: <?php echo ( $manage_active ) ? 'none' : 'inline-block'; ?>" title="<?php esc_attr_e( 'Activate free WordPress.com features', 'jetpack' ); ?>"><?php _e( 'Activate features', 'jetpack' ); ?></label>
153 </div>
154 <?php if ( ! $manage_active ) : ?>
155 <div class="act j-col j-lrg-5 j-md-4 j-sm-5">
156 <div class="module-action">
157 <span>
158 <input class="is-compact form-toggle" type="checkbox" id="active-manage" <?php echo ( $manage_active ) ? 'checked' : ''; ?> />
159 <label class="form-toggle__label" for="active-manage">
160 <img class="module-spinner-manage" style="display: none;" width="16" height="16" src="<?php echo esc_url( includes_url( 'images/spinner-2x.gif' ) ); ?>" alt="Loading ..." />
161 <label class="plugin-action__label" for="active-manage">
162 <?php ( $manage_active ) ? esc_html_e( 'Active', 'jetpack' ) : esc_html_e( 'Inactive', 'jetpack' ); ?>
163 </label>
164 <span class="form-toggle__switch"></span>
165 </label>
166 </span>
167 </div>
168 </div>
169 <?php endif; ?>
170 </div><?php // j-row ?>
171 <?php endif; ?>
172
173 </div> <?php // nux-in ?>
174 </div><?php // j-col ?>
175 <?php // END WordPress.com Tools ?>
176
177 </div><?php // j-row ?>
178
179 <?php if ( current_user_can( 'jetpack_manage_modules' ) ) : ?>
180 <p><?php _e( 'Jetpack includes many other features that you can use to customize how your site looks and functions. These include Contact Forms, Tiled Photo Galleries, Custom CSS, Image Carousel, and a lot more.', 'jetpack' ); ?></p>
181 <p><a href="<?php echo admin_url( 'admin.php?page=jetpack_modules' ); ?>" class="button full-features-btn" ><?php echo sprintf( __( 'See the other %s Jetpack features', 'jetpack' ), count( Jetpack::get_available_modules() ) - count( $data['recommended_list'] ) ); ?></a></p>
182 <?php endif; ?>
183
184 <div class="nux-foot j-row">
185 <div class="j-col j-lrg-8 j-md-8 j-sm-12">
186 <?php
187 // Get a list of Jetpack Happiness Engineers.
188 $jetpack_hes = array(
189 '623f42e878dbd146ddb30ebfafa1375b',
190 '561be467af56cefa58e02782b7ac7510',
191 'd8ad409290a6ae7b60f128a0b9a0c1c5',
192 '790618302648bd80fa8a55497dfd8ac8',
193 '6e238edcb0664c975ccb9e8e80abb307',
194 '4e6c84eeab0a1338838a9a1e84629c1a',
195 '9d4b77080c699629e846d3637b3a661c',
196 '4626de7797aada973c1fb22dfe0e5109',
197 '190cf13c9cd358521085af13615382d5',
198 'f7006d10e9f7dd7bea89a001a2a2fd59',
199 '16acbc88e7aa65104ed289d736cb9698',
200 '4d5ad4219c6f676ea1e7d40d2e8860e8',
201 'e301f7d01b09e7578fdfc1b1ec1bc08d',
202 '42f4c73f5337486e199f6e3b3910f168',
203 'e7b26de48e76498cff880abca1eed8da',
204 '764fb02aaae2ff64c0625c763d82b74e',
205 '4988305772319fb9bc8fce0a7acb3aa1',
206 '5d8695c4b81592f1255721d2644627ca',
207 '0e2249a7de3404bc6d5207a45e911187',
208 );
209
210 // Get a fallback profile image.
211 $default_he_img = plugins_url( 'images/jetpack-icon.jpg', JETPACK__PLUGIN_FILE );
212
213 printf(
214 '<a href="http://jetpack.com/support/" target="_blank"><img src="https://secure.gravatar.com/avatar/%1$s?s=75&d=%2$s" alt="Jetpack Happiness Engineer" /></a>',
215 $jetpack_hes[ array_rand( $jetpack_hes ) ],
216 urlencode( $default_he_img )
217 );
218 ?>
219 <p><?php _e( 'Help and Support', 'jetpack' ); ?></p>
220 <p><?php _e( 'We offer free, full support to all Jetpack users. Our support team is always around to help you.', 'jetpack' ); ?></p>
221 <ul class="actions">
222 <li><a href="http://jetpack.com/support/" target="_blank" class="button"><?php esc_html_e( 'Visit support site', 'jetpack' ); ?></a></li>
223 <li><a href="https://wordpress.org/support/plugin/jetpack" target="_blank"><?php esc_html_e( 'Browse forums', 'jetpack' ); ?></a></li>
224 <li><a href="http://jetpack.com/contact-support/" target="_blank"><?php esc_html_e( 'Contact us directly', 'jetpack' ); ?></a></li>
225 </ul>
226 </div>
227 <div class="j-col j-lrg-4 j-md-4 j-sm-12">
228 <p><?php _e( 'Premium Add-ons', 'jetpack' ); ?></p>
229 <p><?php esc_html_e( 'Business site? Safeguard it with real-time backups, security scans, and anti-spam.', 'jetpack' ); ?></p>
230 <p>&nbsp;</p>
231 <?php $normalized_site_url = Jetpack::build_raw_urls( get_home_url() ); ?>
232 <div class="actions jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="nux-addons"><a href="<?php echo esc_url( 'https://wordpress.com/plans/' . $normalized_site_url ); ?>" target="_blank" class="button"><?php esc_html_e( 'Compare Options', 'jetpack' ); ?></a></div>
233 </div>
234 </div><?php // nux-foot ?>
235
236 </div><?php // nux-intro ?>
237
238 </div><!-- .landing -->
239
240 <?php else : ?>
241
242 <div class="connection-landing">
243
244 <div class="connect-card j-row">
245 <h1 title="<?php esc_attr_e( 'Please Connect Jetpack', 'jetpack' ); ?>"><?php esc_html_e( 'Please Connect Jetpack', 'jetpack' ); ?></h1>
246 <div class="connect-btn j-col j-sm-12 j-md-12">
247 <p><?php echo wp_kses( __( 'Connecting Jetpack will show you <strong>stats</strong> about your traffic, <strong>protect</strong> you from brute force attacks, <strong>speed up</strong> your images and photos, and enable other <strong>traffic and security</strong> features.', 'jetpack' ), 'jetpack' ) ?></p>
248 <?php if ( ! $data['is_connected'] && current_user_can( 'jetpack_connect' ) ) : ?>
249 <a href="<?php echo Jetpack::init()->build_connect_url( false, false, 'landing-page-top' ) ?>" class="download-jetpack"><?php esc_html_e( 'Connect Jetpack', 'jetpack' ); ?></a>
250 <?php elseif ( $data['is_connected'] && ! $data['is_user_connected'] && current_user_can( 'jetpack_connect_user' ) ) : ?>
251 <a href="<?php echo Jetpack::init()->build_connect_url( false, false, 'landing-page-top' ) ?>" class="download-jetpack"><?php esc_html_e( 'Connect your account', 'jetpack' ); ?></a>
252 <?php endif; ?>
253 </div>
254 </div> <?php // connect-card ?>
255
256 <div class="j-traffic feature-container jp-card">
257 <header class="first-header j-int">
258 <h2 title="<?php esc_attr_e( 'Drive more traffic to your site', 'jetpack' ); ?>"><?php
259 esc_html_e( 'Drive more traffic to your site', 'jetpack' );
260 ?></h2>
261 <div class="j-header-img">
262 <img src="<?php echo plugins_url( 'images/connection-landing/long-clouds.svg', JETPACK__PLUGIN_FILE ); ?>" width="1135" height="63" alt="<?php echo esc_attr_x( 'Jetpack clouds image', 'Image alternative text', 'jetpack' ); ?>" /> <?php // must define dimensions here for older IEs ?>
263 <img src="<?php echo plugins_url( 'images/connection-landing/stat-bars.svg', JETPACK__PLUGIN_FILE ); ?>" width="400" alt="<?php echo esc_attr_x( 'Decorative graph image', 'Image alternative text', 'jetpack' ); ?>" />
264 </div>
265 </header>
266
267 <div class="three-feature j-row">
268 <div class="j-col j-sm-12 j-md-12 j-lrg-4">
269 <h3 title="<?php esc_attr_e( 'Automated social marketing', 'jetpack' ); ?>"><?php
270 esc_html_e( 'Automated social marketing', 'jetpack' );
271 ?></h3>
272 <p><?php esc_html_e( 'Use Publicize to automatically share your posts with friends, followers, and the world.', 'jetpack' ); ?></p>
273 </div>
274 <div class="j-col j-sm-12 j-md-12 j-lrg-4">
275 <h3 title="<?php esc_attr_e( 'Build a community', 'jetpack' ); ?>"><?php
276 esc_html_e( 'Build a community', 'jetpack' );
277 ?></h3>
278 <p><?php esc_html_e( 'Give visitors the tools to Share and Subscribe to your content.', 'jetpack' ); ?></p>
279 </div>
280 <div class="j-col j-sm-12 j-md-12 j-lrg-4">
281 <h3 title="<?php esc_attr_e( 'Increase page views', 'jetpack' ); ?>"><?php
282 esc_html_e( 'Increase page views', 'jetpack' );
283 ?></h3>
284 <p><?php esc_html_e( 'Keep visitors engaged, by giving them more to share and read with Related Posts.', 'jetpack' ); ?></p>
285 </div>
286 </div><?php // three-feature ?>
287
288 <header class="secondary-header j-int">
289 <h2 title="<?php esc_attr_e( 'Track your growth', 'jetpack' ); ?>">
290 <?php esc_html_e( 'Track your growth', 'jetpack' ); ?>
291 </h2>
292 </header>
293
294 <div class="j-feature-img">
295 <img src="<?php
296 echo plugins_url( 'images/connection-landing/stats-example-med.png', JETPACK__PLUGIN_FILE );
297 ?>"
298 srcset="<?php
299 echo plugins_url( 'images/connection-landing/stats-example-sm.png', JETPACK__PLUGIN_FILE );
300 ?> 500w, <?php
301 echo plugins_url( 'images/connection-landing/stats-example-med.png', JETPACK__PLUGIN_FILE );
302 ?> 600w, <?php
303 echo plugins_url( 'images/connection-landing/stats-example-lrg.png', JETPACK__PLUGIN_FILE );
304 ?> 900w" alt="<?php esc_attr_e( 'View detailed insights and analytics about your site with Jetpack', 'jetpack' ); ?>" />
305 </div>
306
307 </div><?php // jp-card ?>
308
309
310 <div class="j-security feature-container jp-card">
311 <header class="first-header j-int">
312 <h2 title="<?php esc_attr_e( 'Site Security and Peace of Mind', 'jetpack' ); ?>"><?php
313 esc_html_e( 'Site Security and Peace of Mind', 'jetpack' );
314 ?></h2>
315 <div class="j-header-img">
316 <img src="<?php echo plugins_url( 'images/connection-landing/long-clouds.svg', JETPACK__PLUGIN_FILE ); ?>" width="1135" height="63" alt="<?php echo esc_attr_x( 'Decorative graph image', 'Image alternative text', 'jetpack' ); ?>" /> <?php // must define dimensions here for older IEs ?>
317 <img src="<?php echo plugins_url( 'images/connection-landing/jp-shield.svg', JETPACK__PLUGIN_FILE ); ?>" width="180" alt="<?php echo esc_attr_x( 'Decorative shield image', 'Image alternative text', 'jetpack' ); ?>" />
318 </div>
319 </header>
320
321 <div class="three-feature j-row">
322 <div class="j-col j-sm-12 j-md-12 j-lrg-4">
323 <h3 title="<?php esc_attr_e( 'Block site attacks', 'jetpack' ); ?>"><?php
324 esc_html_e( 'Block site attacks', 'jetpack' );
325 ?></h3>
326 <p><?php esc_html_e( 'Gain peace of mind with Protect, the tool that has blocked billions of login attacks on millions of sites.', 'jetpack' ); ?></p>
327 </div>
328 <div class="j-col j-sm-12 j-md-12 j-lrg-4">
329 <h3 title="<?php esc_attr_e( 'Live site monitoring​', 'jetpack' ); ?>"><?php
330 esc_html_e( 'Live site monitoring​', 'jetpack' );
331 ?></h3>
332 <p><?php esc_html_e( 'Stress less. Monitor will send you real-time alerts if your site ever goes down.', 'jetpack' ); ?></p>
333 </div>
334 <div class="j-col j-sm-12 j-md-12 j-lrg-4">
335 <h3 title="<?php esc_attr_e( 'Automatic Updates', 'jetpack' ); ?>"><?php
336 esc_html_e( 'Automatic updates', 'jetpack' );
337 ?></h3>
338 <p><?php esc_html_e( 'With Manage, you’ll never be behind on a security release or waste time updating multiple sites.', 'jetpack' ); ?></p>
339 </div>
340 </div><?php // three-feature ?>
341 </div><?php // jp-card ?>
342
343 <div class="j-security feature-container jp-card">
344 <header class="secondary-header j-int">
345 <h2 title="<?php esc_attr_e( 'Optimized Images, Lightning Fast', 'jetpack' ); ?>"><?php
346 esc_html_e( 'Optimized Images, Lightning Fast', 'jetpack' );
347 ?></h2>
348 <p><?php esc_html_e( 'Jetpack utilizes the state-of-the-art WordPress.com content delivery network to load your gorgeous images super fast optimized for any device, and it’s completely free.', 'jetpack' ); ?></p>
349 </header>
350
351 <div class="j-feature-img">
352 <img src="<?php
353 echo plugins_url( 'images/connection-landing/feature-photon-med.jpg', JETPACK__PLUGIN_FILE );
354 ?>"
355 srcset="<?php
356 echo plugins_url( 'images/connection-landing/feature-photon-sm.jpg', JETPACK__PLUGIN_FILE );
357 ?> 500w, <?php
358 echo plugins_url( 'images/connection-landing/feature-photon-med.jpg', JETPACK__PLUGIN_FILE );
359 ?> 600w, <?php
360 echo plugins_url( 'images/connection-landing/feature-photon-lrg.jpg', JETPACK__PLUGIN_FILE );
361 ?> 900w" alt="<?php esc_attr_e( 'Have faster loading images with Jetpack Photon', 'jetpack' ); ?>" />
362 </div>
363 </div><?php // jp-card ?>
364
365 <div class="j-security feature-container jp-card">
366 <header class="secondary-header j-int">
367 <h2 title="<?php esc_attr_e( 'Free professional support', 'jetpack' ); ?>"><?php
368 esc_html_e( 'Free professional support', 'jetpack' );
369 ?></h2>
370 <p><?php esc_html_e( 'Jetpack is supported by some of the most technical and passionate people in the community. Located around the globe and ready to help you.', 'jetpack' ); ?></p>
371 </header>
372
373 <div class="j-feature-img">
374 <img src="<?php
375 echo plugins_url( 'images/connection-landing/aurora-med.jpg', JETPACK__PLUGIN_FILE );
376 ?>"
377 srcset="<?php
378 echo plugins_url( 'images/connection-landing/aurora-sm.jpg', JETPACK__PLUGIN_FILE );
379 ?> 500w, <?php
380 echo plugins_url( 'images/connection-landing/aurora-med.jpg', JETPACK__PLUGIN_FILE );
381 ?> 600w, <?php
382 echo plugins_url( 'images/connection-landing/aurora-lrg.jpg', JETPACK__PLUGIN_FILE );
383 ?> 900w" alt="<?php esc_attr_e( 'Jetpack has an amazing free support team', 'jetpack' ); ?>" />
384 </div>
385 </div><?php // jp-card ?>
386
387
388 <div class="connect-card j-row">
389 <div class="connect-btn j-col j-sm-12 j-md-12">
390 <?php if ( ! $data['is_connected'] && current_user_can( 'jetpack_connect' ) ) : ?>
391 <a href="<?php echo Jetpack::init()->build_connect_url( false, false, 'landing-page-bottom' ) ?>" class="download-jetpack"><?php esc_html_e( 'Connect Jetpack', 'jetpack' ); ?></a>
392 <?php elseif ( $data['is_connected'] && ! $data['is_user_connected'] && current_user_can( 'jetpack_connect_user' ) ) : ?>
393 <a href="<?php echo Jetpack::init()->build_connect_url() ?>" class="download-jetpack"><?php esc_html_e( 'Connect your account', 'jetpack' ); ?></a>
394 <?php endif; ?>
395 </div>
396 </div> <?php // connect-card ?>
397
398
399 </div> <?php // connection landing ?>
400
401
402 <?php endif; ?>
403 <div id="deactivate-success"></div>
404 <?php if ( Jetpack::is_development_version() ) { ?>
405 <a id="jump-start-deactivate" style="cursor:pointer; display: block; text-align: center; margin-top: 25px;"><?php esc_html_e( 'RESET EVERYTHING (during testing only) - will reset modules to default as well', 'jetpack' ); ?></a>
406 <?php } // is_development_version ?>
407