PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.6.4
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.6.4
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 | admin/templates/settings.php +6 -11 trunk2.6.4 View file →
@@ -8,10 +8,10 @@
8 8 *
9 9 * @package Automatic_YouTube_Gallery
10 10 */
11 11
12 -$gallery_settings = ayg_get_option( 'ayg_gallery_settings' );
13 -$player_settings = ayg_get_option( 'ayg_player_settings' );
12 +$gallery_settings = get_option( 'ayg_gallery_settings' );
13 +$player_settings = get_option( 'ayg_player_settings' );
14 14
15 15 $active_tab = isset( $_GET['tab'] ) && array_key_exists( $_GET['tab'], $this->tabs ) ? sanitize_text_field( $_GET['tab'] ) : 'general';
16 16 $active_section = isset( $_GET['section'] ) ? sanitize_text_field( $_GET['section'] ) : '';
17 17 $active_theme = $gallery_settings['theme'];
@@ -29,10 +29,8 @@
29 29 }
30 30 ?>
31 31
32 32 <div id="ayg-settings" class="ayg ayg-settings theme-<?php echo esc_attr( $active_theme ); ?> player_type-<?php echo esc_attr( $player_type ); ?> wrap">
33 - <h1><?php esc_html_e( 'Plugin Settings', 'automatic-youtube-gallery' ); ?></h1>
34 -
35 33 <?php settings_errors(); ?>
36 34
37 35 <h2 class="nav-tab-wrapper wp-clearfix">
38 36 <?php
@@ -86,9 +84,9 @@
86 84 }
87 85 }
88 86
89 87 if ( count( $section_links ) > 1 ) : ?>
90 - <ul class="subsubsub"><li><?php echo implode( ' | </li><li>', $section_links ); ?></li></ul>
88 + <ul class="ayg-margin-bottom subsubsub"><li><?php echo implode( ' | </li><li>', $section_links ); ?></li></ul>
91 89 <div class="clear"></div>
92 90 <?php endif; ?>
93 91
94 92 <form method="post" action="options.php">
@@ -99,9 +97,9 @@
99 97 do_settings_sections( $page_hook );
100 98 ?>
101 99
102 100 <?php if ( 'general' == $active_tab && 'ayg_general_settings' == $active_section ) : ?>
103 - <table id="ayg-table-delete-cache" class="ayg-form form-table">
101 + <table id="ayg-table-delete-cache" class="form-table">
104 102 <tbody>
105 103 <tr>
106 104 <th scope="row">
107 105 <label><?php esc_html_e( 'Delete Cache', 'automatic-youtube-gallery' ); ?></label>
@@ -106,13 +104,10 @@
106 104 <th scope="row">
107 105 <label><?php esc_html_e( 'Delete Cache', 'automatic-youtube-gallery' ); ?></label>
108 106 </th>
109 107 <td>
110 - <div class="ayg-form-actions">
111 - <input type="submit" id="ayg-button-delete-cache" class="button-secondary" value="<?php esc_attr_e( 'Delete Cache', 'automatic-youtube-gallery' ); ?>" />
112 - <span class="ayg-form-status"></span>
113 - </div>
114 -
108 + <input type="submit" id="ayg-button-delete-cache" class="button-secondary" value="<?php esc_attr_e( 'Delete Cache', 'automatic-youtube-gallery' ); ?>" />
109 + <span class="ayg-ajax-status"></span>
115 110 <p class="description"><?php esc_html_e( 'Delete all of the YouTube API data cached by the plugin.', 'automatic-youtube-gallery' ); ?></p>
116 111 </td>
117 112 </tr>
118 113 </tbody>