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 / settings / compatibility.php

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

29 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Render compatibility notices on the settings page.
4 *
5 * @var array $notices Compatibility notices.
6 */
7
8 ?>
9 <p class="description">
10 <span class="dashicons dashicons-warning" style="color: red;"></span>
11 <?php esc_html_e( 'The following items might need an upgrade or manual setup for compatibility.', 'image-source-control-isc' ); ?>
12 </p>
13 <ul>
14 <?php foreach ( $notices as $notice ) : ?>
15 <li>
16 <strong><?php echo esc_html( $notice['name'] ); ?></strong>
17 <?php if ( ! empty( $notice['description'] ) ) : ?>
18 : <?php echo esc_html( $notice['description'] ); ?>
19 <?php endif; ?>
20 <?php if ( ! empty( $notice['manual_url'] ) ) : ?>
21 <a href="<?php echo esc_url( $notice['manual_url'] ); ?>"><?php esc_html_e( 'Manual', 'image-source-control-isc' ); ?></a>
22 <?php endif; ?>
23 <?php if ( ! empty( $notice['show_pro_link'] ) && ! \ISC\Plugin::is_pro() ) : ?>
24 <?php echo ISC\Admin_Utils::get_pro_link( 'compatibility-' . sanitize_title( $notice['name'] ) ); ?>
25 <?php endif; ?>
26 </li>
27 <?php endforeach; ?>
28 </ul>
29