PluginProbe
PowerPress Podcasting plugin by Blubrry / trunk
PowerPress Podcasting plugin by Blubrry vtrunk
11.17.9 11.17.8 11.17.7 11.17.6 11.17.4 11.17.3 11.17.2 11.17.1 11.17 11.16.11 11.16.10 11.16.9 11.16.8 11.16.7 11.16.6 11.16.5 11.16.4 11.16.3 11.16.2 11.16.1 11.9.13 11.9.14 11.9.15 11.9.16 11.9.17 All 383 releases
powerpress / admin / base.php

base.php in PowerPress Podcasting plugin by Blubrry trunk, at admin/base.php

46 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // ============
3 // ACTIVE TAB
4 // ============
5 $tab = 'programs';
6 if (!empty($_GET['tab'])) {
7 $tab = $_GET['tab'];
8 }
9 ?>
10
11 <!-- =============
12 PAGE HEADER
13 ============= -->
14 <div class="ppn-page-header">
15 <div>
16 <h1 class="ppn-page-title"><?php esc_html_e('Podcast Network', 'powerpress');?></h1>
17 <h4 class="ppn-page-subtitle"><?php esc_html_e('Build and manage your podcast network.','powerpress');?></h4>
18 </div>
19 </div>
20
21 <!-- ===============
22 TAB CONTAINER
23 =============== -->
24 <div class="tabs-container">
25 <div class="tab">
26 <button class="<?php echo $tab == 'programs' ? 'tabActive' : 'tabInactive' ?>" id="programsTab" data-ppn-action="showPPNTab" data-tab="programs">Shows</button>
27 <button class="<?php echo $tab == 'groups' ? 'tabActive' : 'tabInactive' ?>" id="groupsTab" data-ppn-action="showPPNTab" data-tab="groups">Groups</button>
28 <button class="<?php echo $tab == 'requests' ? 'tabActive' : 'tabInactive' ?>" id="requestsTab" data-ppn-action="showPPNTab" data-tab="requests">Requests</button>
29 <button class="<?php echo $tab == 'manage' ? 'tabActive' : 'tabInactive' ?>" id="manageTab" data-ppn-action="showPPNTab" data-tab="manage">Manage</button>
30 </div>
31
32 <div class="tabContent" style="<?php echo $tab == 'programs' ? 'display:block' : 'display:none' ?>" id="programs">
33 <?php echo $shows_html; ?>
34 </div>
35 <div class="tabContent" style="<?php echo $tab == 'groups' ? 'display:block' : 'display:none' ?>" id="groups">
36 <?php echo $groups_html; ?>
37 </div>
38 <div class="tabContent" style="<?php echo $tab == 'requests' ? 'display:block' : 'display:none' ?>" id="requests">
39 <?php echo $requests_html; ?>
40 </div>
41 <div class="tabContent" style="<?php echo $tab == 'manage' ? 'display:block' : 'display:none' ?>" id="manage">
42 <?php echo $manage_html; ?>
43 </div>
44 </div>
45
46