PluginProbe
VdoCipher: Secure Video Player and Hosting / 1.25
VdoCipher: Secure Video Player and Hosting v1.25
trunk 1.10 1.11 1.12 1.13 1.14 1.15 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.3 1.30 1.4 1.5 1.6 All 28 releases
vdocipher / include / setting_form.php

setting_form.php in VdoCipher: Secure Video Player and Hosting 1.25, at include/setting_form.php

47 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) {
3 header($_SERVER['SERVER_PROTOCOL'] . ' 404 Not Found');
4 exit("<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>404 Not Found</title>\r\n".
5 "</head><body>\r\n<h1>Not Found</h1>\r\n<p>The requested URL " . $_SERVER['SCRIPT_NAME'] . " was not found on ".
6 "this server.</p>\r\n</body></html>");
7 }
8 ?>
9 <div class="wrap">
10 <form method="post" action="options.php">
11 <?php
12 settings_fields('vdo_option-group');
13 do_settings_sections('vdo_option-group');
14 ?>
15 <h2>Please enter your VdoCipher API Secret Key</h2>
16
17 <table class="form-table">
18 <tbody><tr>
19 <td style="width: 160px;">API Secret key :</td>
20 <td>
21 <div style="display: inline-flex;">
22 <input id="vdo_client_key" name="vdo_client_key" style="width: 400px;"
23 value="<?php echo esc_attr(get_option('vdo_client_key')); ?>"
24 type="password">
25 <p style="margin-left:20px; position: relative">
26 <span id="toggle_span" style="display:none">
27 <button id="toggle_API_visibility" href="#" data-protected="On"></button>
28 </span>
29 </p>
30 </div>
31 </td>
32 <tr style="display:none;">
33 <td>Plugin version no.: </td>
34 <td><input
35 id="vdo_plugin_version" name="vdo_plugin_version"
36 value="<?php echo esc_attr(get_option('vdo_plugin_version')); ?>" readonly>
37 </td>
38 </tr>
39 </tr>
40
41 </tbody></table>
42 <?php wp_enqueue_script('vdo_hide_api_key', plugin_dir_url(__FILE__).'js/showkey.js');
43 ?>
44 <?php submit_button(); ?>
45 </form>
46 </div>
47