PluginProbe ʕ •ᴥ•ʔ
TinyPNG – JPEG, PNG & WebP image compression / 2.2.4
TinyPNG – JPEG, PNG & WebP image compression v2.2.4
3.7.0 3.6.14 trunk 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.4.0 1.5.0 1.6.0 1.7.0 1.7.1 1.7.2 2.0.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.0.0 3.0.1 3.1.0 3.2.0 3.2.1 3.3 3.4 3.4.1 3.4.2 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.6.0 3.6.1 3.6.10 3.6.11 3.6.12 3.6.13 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9
tiny-compress-images / src / views / account-status-create-advanced.php
tiny-compress-images / src / views Last commit date
account-status-connected.php 9 years ago account-status-create-advanced.php 9 years ago account-status-create-simple.php 9 years ago account-status-loading.php 9 years ago bulk-optimization-chart.php 9 years ago bulk-optimization-form.php 10 years ago bulk-optimization.php 9 years ago compress-details-processing.php 10 years ago compress-details.php 9 years ago dashboard-widget.php 9 years ago
account-status-create-advanced.php
58 lines
1 <?php
2
3 $user = wp_get_current_user();
4 $name = trim( $user->user_firstname . ' ' . $user->user_lastname );
5 $email = trim( $user->user_email );
6
7 ?><div class="tiny-account-status wide" id="tiny-account-status" data-state="missing">
8 <div class="create">
9 <h4><?php
10 echo esc_html_e( 'Register new account', 'tiny-compress-images' );
11 ?></h4>
12
13 <p class="introduction" class="description"><?php
14 echo esc_html__(
15 'Provide your name and email address to start optimizing images.',
16 'tiny-compress-images'
17 );
18 ?></p>
19
20 <input type="text" id="tinypng_api_key_name" name="tinypng_api_key_name"
21 placeholder="Your full name" value="<?php echo esc_attr( $name ); ?>">
22
23 <input type="text" id="tinypng_api_key_email" name="tinypng_api_key_email"
24 placeholder="Your email address" value="<?php echo esc_attr( $email ); ?>">
25
26 <p class="message"></p>
27
28 <button class="button button-primary" data-tiny-action="create-key">
29 <?php echo esc_html__( 'Register Account', 'tiny-compress-images' ) ?>
30 </button>
31 </div>
32
33 <div class="update">
34 <h4><?php
35 echo esc_html__( 'Already have an account?', 'tiny-compress-images' );
36 ?></h4>
37
38 <p class="introduction"><?php
39 $link = sprintf( '<a href="https://tinypng.com/dashboard/developers" target="_blank">%s</a>',
40 esc_html__( 'API dashboard', 'tiny-compress-images' )
41 );
42 printf( esc_html__(
43 'Enter your API key. Go to your %s to retrieve it.',
44 'tiny-compress-images'
45 ), $link );
46 ?></p>
47
48 <input type="text" id="<?php echo esc_attr( self::get_prefixed_name( 'api_key' ) ); ?>"
49 name="<?php echo esc_attr( self::get_prefixed_name( 'api_key' ) ); ?>">
50
51 <p class="message"></p>
52
53 <button class="button button-primary" data-tiny-action="update-key">
54 <?php echo esc_html__( 'Save' ); ?>
55 </button>
56 </div>
57 </div>
58