PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.3.2
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.3.2
2.9.1 2.9.0 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 2.0.0 2.1.0 2.2.0 2.3.2 2.3.3 2.3.5 2.3.6 2.3.8 2.3.9 2.4.3 All 37 releases
← All changes | widget/templates/admin.php +9 -9 2.1.02.3.2 View file →
@@ -14,16 +14,16 @@
14 14 <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php esc_html_e( 'Title', 'automatic-youtube-gallery' ); ?></label>
15 15 <input type="text" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" class="widefat" value="<?php echo esc_attr( $instance['title'] ); ?>" />
16 16 </p>
17 17
18 -<div class="ayg-editor ayg-editor-field-type-<?php echo esc_attr( $instance['type'] ); ?> ayg-editor-field-theme-<?php echo esc_attr( $instance['theme'] ); ?>">
18 +<div class="ayg-editor ayg-editor-field-type-<?php echo esc_attr( $instance['type'] ); ?> ayg-editor-field-theme-<?php echo esc_attr( $instance['theme'] ); ?> ayg-editor-field-pagination_type-<?php echo esc_attr( $instance['pagination_type'] ); ?>">
19 19 <?php foreach ( $fields as $key => $value ) : ?>
20 20 <div class="ayg-editor-section ayg-editor-section-<?php echo esc_attr( $key ); ?> <?php if ( 'source' == $key ) echo 'ayg-active'; ?>">
21 - <h2 class="ayg-editor-section-header">
21 + <div class="ayg-editor-section-header">
22 22 <span class="dashicons-before dashicons-plus"></span>
23 23 <span class="dashicons-before dashicons-minus"></span>
24 24 <?php echo esc_html( $value['label'] ); ?>
25 - </h2>
25 + </div>
26 26
27 27 <div class="ayg-editor-controls" <?php if ( 'source' != $key ) echo 'style="display: none;"'; ?>>
28 28 <?php
29 29 foreach ( $value['fields'] as $field ) :
@@ -34,15 +34,15 @@
34 34 $field['value'] = $instance[ $field['name'] ];
35 35 ?>
36 36 <div class="ayg-editor-control ayg-editor-control-<?php echo esc_attr( $field['name'] ); ?>">
37 37 <?php if ( 'text' == $field['type'] || 'url' == $field['type'] || 'number' == $field['type'] ) : ?>
38 - <label><strong><?php echo esc_html( $field['label'] ); ?></strong></label>
38 + <label><?php echo esc_html( $field['label'] ); ?></label>
39 39 <input type="text" name="<?php echo esc_attr( $this->get_field_name( $field['name'] ) ); ?>" class="ayg-editor-field ayg-editor-field-<?php echo esc_attr( $field['name'] ); ?> widefat" placeholder="<?php echo esc_attr( $field['placeholder'] ); ?>" value="<?php echo esc_attr( $field['value'] ); ?>" />
40 40 <?php elseif ( 'textarea' == $field['type'] ) : ?>
41 - <label><strong><?php echo esc_html( $field['label'] ); ?></strong></label>
41 + <label><?php echo esc_html( $field['label'] ); ?></label>
42 42 <textarea name="<?php echo esc_attr( $this->get_field_name( $field['name'] ) ); ?>" rows="8" class="ayg-editor-field ayg-editor-field-<?php echo esc_attr( $field['name'] ); ?> widefat" placeholder="<?php echo esc_attr( $field['placeholder'] ); ?>"><?php echo esc_textarea( $field['value'] ); ?></textarea>
43 43 <?php elseif ( 'select' == $field['type'] || 'radio' == $field['type'] ) : ?>
44 - <label><strong><?php echo esc_html( $field['label'] ); ?></strong></label>
44 + <label><?php echo esc_html( $field['label'] ); ?></label>
45 45 <select name="<?php echo esc_attr( $this->get_field_name( $field['name'] ) ); ?>" class="ayg-editor-field ayg-editor-field-<?php echo esc_attr( $field['name'] ); ?> widefat"> <?php
46 46 foreach ( $field['options'] as $value => $label ) {
47 47 printf(
48 48 '<option value="%s"%s>%s</option>',
@@ -55,17 +55,17 @@
55 55 </select>
56 56 <?php elseif ( 'checkbox' == $field['type'] ) : ?>
57 57 <label>
58 58 <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( $field['name'] ) ); ?>" class="ayg-editor-field ayg-editor-field-<?php echo esc_attr( $field['name'] ); ?>" value="1" <?php checked( $field['value'] ); ?> />
59 - <strong><?php echo esc_html( $field['label'] ); ?></strong>
59 + <?php echo esc_html( $field['label'] ); ?>
60 60 </label>
61 61 <?php elseif ( 'color' == $field['type'] ) : ?>
62 - <label><strong><?php echo esc_html( $field['label'] ); ?></strong></label>
62 + <label><?php echo esc_html( $field['label'] ); ?></label>
63 63 <input type="text" name="<?php echo esc_attr( $this->get_field_name( $field['name'] ) ); ?>" class="ayg-editor-field ayg-editor-field-<?php echo esc_attr( $field['name'] ); ?> ayg-color-picker widefat" value="<?php echo esc_attr( $field['value'] ); ?>" />
64 64 <?php endif; ?>
65 65
66 66 <!-- Hint -->
67 - <?php if ( isset( $field['description'] ) ) : ?>
67 + <?php if ( ! empty( $field['description'] ) ) : ?>
68 68 <p class="description"><?php echo wp_kses_post( $field['description'] ); ?></p>
69 69 <?php endif; ?>
70 70 </div>
71 71 <?php