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

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

53 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Render the settings page
4 *
5 * @var string $page The settings page.
6 * @var array $settings_section The settings section.
7 */
8
9 ?>
10 <div class="wrap metabox-holder">
11 <form id="isc-section-wrapper" method="post" action="options.php">
12 <?php
13 foreach ( (array) $settings_section as $section ) {
14
15 ?>
16 <div class="postbox <?php echo esc_attr( $section['id'] ); ?>" id="<?php echo esc_attr( $section['id'] ); ?>">
17 <?php
18 if ( $section['title'] ) {
19 ?>
20 <div class="postbox-header"><h2 class="hndle"><?php echo esc_html( $section['title'] ); ?></h2>
21 <?php if ( ! empty( $section['close_button'] ) ) : ?>
22 <span class="dashicons dashicons-no-alt"></span>
23 <?php endif; ?>
24 </div>
25 <?php
26 }
27 ?>
28 <div class="inside">
29 <div class="submitbox">
30 <?php
31 if ( $section['callback'] ) {
32 call_user_func( $section['callback'], $section );
33 }
34 ?>
35 <table class="form-table" role="presentation">
36 <?php
37 do_settings_fields( $page, $section['id'] );
38 ?>
39 </table>
40 </div>
41 </div>
42 </div>
43 <?php
44 }
45
46 settings_fields( 'isc_options_group' );
47 ?>
48 <p class="submit">
49 <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php esc_html_e( 'Save Changes', 'image-source-control-isc' ); ?>">
50 </p>
51 </form>
52 </div>
53