PluginProbe
Image Source Control Lite – Show Image Credits and Captions / 3.12.0
Image Source Control Lite – Show Image Credits and Captions v3.12.0
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 / settings / plugin / images-only.php

images-only.php in Image Source Control Lite – Show Image Credits and Captions 3.12.0, at admin/templates/settings/plugin/images-only.php

46 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template for the images only option
4 *
5 * @var bool $checked Whether the option is checked
6 */
7
8 ?>
9 <label>
10 <input id="isc-settings-plugin-images-only" type="checkbox" name="isc_options[images_only]" value="1" <?php checked( $checked ); ?> />
11 <?php esc_html_e( 'When enabled, all plugin functions will only work with image files and ignore other media types.', 'image-source-control-isc' ); ?>
12 </label>
13 <p class="hidden" id="isc-settings-plugin-images-only-indexer">
14 <i class="dashicons dashicons-info"></i>
15 <?php
16 if ( \ISC\Plugin::is_pro() ) :
17 $open_a = '<a href="' . admin_url( 'upload.php?page=isc-unused-images' ) . '">';
18 $close_a = '</a>';
19 else :
20 // don’t link to the indexer page since it is not
21 $open_a = '';
22 $close_a = '';
23 endif;
24 printf(
25 // translators: %%1$s is an opening link tag, %2$s is the closing one
26 esc_html__( 'Run the %1$sScanner%2$s to update all data at once.', 'image-source-control-isc' ),
27 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
28 $open_a,
29 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
30 $close_a
31 );
32 ?>
33 <?php
34 if ( ! \ISC\Plugin::is_pro() ) :
35 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
36 echo \ISC\Admin_Utils::get_pro_link( 'settings-images-only-indexer' );
37 endif;
38 ?>
39 </p>
40 <p class="hidden" id="isc-settings-plugin-images-only-cleanup-wrapper">
41 <label>
42 <input type="checkbox" name="isc_options[images_only_cleanup]" value="1" />
43 <?php esc_html_e( 'Remove all data from non-image files.', 'image-source-control-isc' ); ?>
44 </label>
45 </p>
46