PluginProbe
PowerPress Podcasting plugin by Blubrry / 11.17.2
PowerPress Podcasting plugin by Blubrry v11.17.2
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 / submitapplications.php

submitapplications.php in PowerPress Podcasting plugin by Blubrry 11.17.2, at admin/submitapplications.php

42 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 ?>
3 <h1 class="pageTitlte">Network: <?php echo esc_html($networkInfo['network_title']); ?></h1><br>
4 <small>Submit your application</small><br><br><br>
5 <form id ='createForm' method="POST">
6 <label for="feedUrl"><b>Feed URL</b></label><br>
7 <input type="url" id ="feedUrl" name="feedUrl" placeholder="Type in the URL feed you want to add" <?php if (isset($props['program_rssurl'])) echo 'readonly value=\''.esc_html($props['program_rssurl']).'\' ';?>><br>
8 <button id="findProgram" onclick="directStatus('Submit App', 'createForm', true)">Find</button>
9 <a class="warningButton" href="<?php echo admin_url("admin.php?page=". urlencode(powerpress_admin_get_page()) ."&status=List+Applicants"); ?>">
10 <p><?php echo '&#8592 ' . esc_html(__('Cancel', 'powerpress-network'));?></p></a>
11 <div id="addInfo">
12 <label for="listIdForApp"><b>List</b></label><br>
13 <select name="listIdForApp">
14 <?php
15
16 for ($i = 0; $i < count($props['list']); ++$i){
17 ?>
18 <option value = <?php echo esc_html($props['list'][$i]['list_id']); ?>> <?php echo esc_html($props['list'][$i]['list_title']); ?>
19 <?php
20 }
21 ?>
22 </select><br>
23 <label for="appLabel"><b>App Label</b></label>
24 <input id="appLabel" name="appLabel" type="text" value=""><br>
25 <input name="programIdForApp" value="<?php echo esc_html($props['program_id']);?>" hidden disable>
26 <button type="submit" id="saveButton" onclick ="directStatus('List Applicants', 'createForm', true)">Apply</button>
27 <a class="warningButton" href="<?php echo admin_url("admin.php?page=". urlencode(powerpress_admin_get_page()) ."&status=List+Applicants"); ?>">
28 <p><?php echo __('&#8592; Cancel', 'powerpress-network');?></p></a>
29 </div>
30 </form>
31
32 <script>
33 if (!jQuery(function($){ $('#feedUrl').is('[readonly]')}))
34 jQuery(function($){ $('#addInfo').remove()});
35 else {
36 jQuery(function($){ $('#findProgram').remove()});
37 jQuery(function($){ $('#backProgram').remove()});
38 }
39 </script>
40
41
42