PluginProbe
Image Source Control Lite – Show Image Credits and Captions / trunk
Image Source Control Lite – Show Image Credits and Captions vtrunk
3.12.0 3.11.0 trunk 1.1 1.1.1 1.1.2 1.1.2.1 1.1.3 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.2 1.2.0.1 1.2.0.2 1.2.0.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.4.1 1.3.5 All 110 releases
image-source-control-isc / admin / templates / feedback.php

feedback.php in Image Source Control Lite – Show Image Credits and Captions trunk, at admin/templates/feedback.php

57 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin deactivation feedback modal.
4 *
5 * @var string $from FROM header for the email.
6 * @var string $email Email address of the current user.
7 */
8 ?>
9 <div id="isc-feedback-overlay" style="display: none;">
10 <div id="isc-feedback-content">
11 <span id="isc-feedback-overlay-close-button">&#x2715;</span>
12 <form action="" method="post" autocomplete="off">
13 <p>
14 <span class="dashicons dashicons-admin-comments"></span>
15 <strong>
16 <?php
17 printf(
18 // translators: %s is the plugin name, %d is the year the plugin was first released
19 esc_html__( 'Your feedback shapes %1$s since %2$d', 'image-source-control-isc' ),
20 esc_html( ISCNAME ),
21 2012
22 );
23 ?>
24 </strong>
25 </p>
26 <textarea class="isc-feedback-text" name="isc-feedback-text" placeholder="<?php esc_attr_e( 'How can I improve Image Source Control?', 'image-source-control-isc' ); ?>"></textarea>
27 <ul>
28 <li><?php esc_html_e( 'Was anything confusing?', 'image-source-control-isc' ); ?></li>
29 <li><?php esc_html_e( 'Did you expect different features?', 'image-source-control-isc' ); ?></li>
30 <li><?php esc_html_e( 'Did you experience a technical issue?', 'image-source-control-isc' ); ?></li>
31 </ul>
32 <?php if ( $email ) : ?>
33 <label>
34 <input type="checkbox" id="isc-feedback-send-reply" name="isc-feedback-send-reply" value="1"/>
35 <?php esc_html_e( 'I am open to chat', 'image-source-control-isc' ); ?>
36 </label>
37 <input type="email" id="isc-feedback-reply-email" name="isc-feedback-reply-email" value="<?php echo esc_attr( $email ); ?>" style="display: none;"/>
38 <?php endif; ?>
39 <?php if ( $from ) : ?>
40 <input type="hidden" name="isc-feedback-from" value="<?php echo esc_attr( $from ); ?>"/>
41 <?php endif; ?>
42 <hr>
43 <input class="isc-feedback-submit button button-primary" type="submit" value="<?php esc_attr_e( 'Send feedback & deactivate', 'image-source-control-isc' ); ?>"/>
44 <input class="isc-feedback-only-deactivate button" type="submit" value="<?php esc_html_e( 'Just deactivate', 'image-source-control-isc' ); ?>"/>
45 <?php wp_nonce_field( 'isc-feedback-form', 'isc-feedback-form-nonce' ); ?>
46 </form>
47 <div id="isc-feedback-after-submit" style="display: none">
48 <h2>
49 <?php esc_html_e( 'Thanks for submitting your feedback. I will get in touch soon.', 'image-source-control-isc' ); ?>
50 </h2>
51 <p>
52 <?php esc_html_e( 'Disabling the plugin now…', 'image-source-control-isc' ); ?>
53 </p>
54 </div>
55 </div>
56 </div>
57