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
automatic-youtube-gallery / admin / templates / dashboard.php

dashboard.php in Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels 2.3.2, at admin/templates/dashboard.php

40 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 /**
4 * Plugin Dashboard.
5 *
6 * @link https://plugins360.com
7 * @since 1.3.0
8 *
9 * @package Automatic_YouTube_Gallery
10 */
11 ?>
12
13 <div id="ayg-dashboard" class="wrap about-wrap full-width-layout ayg-dashboard">
14 <h1><?php esc_html_e( 'Welcome to "Automatic YouTube Gallery"', 'automatic-youtube-gallery' ); ?></h1>
15
16 <p class="about-text">
17 <?php esc_html_e( 'Create responsive, modern & dynamic video galleries by simply adding a YouTube USERNAME, CHANNEL, PLAYLIST, SEARCH KEYWORDS, or a custom list of YouTube URLs.', 'automatic-youtube-gallery' ); ?>
18 </p>
19
20 <div class="wp-badge"><?php printf( esc_html__( 'Version %s', 'automatic-youtube-gallery' ), AYG_VERSION ); ?></div>
21
22 <h2 class="nav-tab-wrapper wp-clearfix">
23 <?php
24 $plugin_url = admin_url( 'admin.php?page=automatic-youtube-gallery' );
25
26 foreach ( $tabs as $tab => $title ) {
27 $class = ( $tab == $active_tab ) ? 'nav-tab nav-tab-active' : 'nav-tab';
28 printf( '<a href="%s" class="%s">%s</a>', esc_url( add_query_arg( 'tab', $tab, $plugin_url ) ), $class, $title );
29 }
30 ?>
31 </h2>
32
33 <?php
34 if ( 'dashboard' == $active_tab ) {
35 $file = ! empty( $general_settings['api_key'] ) ? 'builder' : 'api-key';
36 require_once AYG_DIR . "admin/templates/{$file}.php";
37 }
38 ?>
39 </div>
40