PluginProbe
VdoCipher: Secure Video Player and Hosting / 1.10
VdoCipher: Secure Video Player and Hosting v1.10
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 / options.php

options.php in VdoCipher: Secure Video Player and Hosting 1.10, at include/options.php

57 lines 2.0 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 <h2>VdoCipher Options</h2>
11
12 <form method="post" action="options.php">
13 <?php
14 settings_fields('vdo_option-group');
15 do_settings_sections('vdo_option-group');
16 ?>
17 <div class="updated">
18 <p><strong>Status : </strong> Ready to use. You can now embed your videos inside posts and pages.</p>
19 </div>
20 <table class="form-table">
21 <tr valign="top">
22 <th scope="row">Client Secret Key</th>
23 <td><input type="text" name="vdo_client_key"
24 value="<?php echo esc_attr(get_option('vdo_client_key')); ?>"
25 max-length="64" size="60" id="vdo_client_key" /></td>
26 </tr>
27
28 <tr valign="top">
29 <th scope="row">Default Width</th>
30 <td><input type="text" name="vdo_default_width"
31 value="<?php echo esc_attr(get_option('vdo_default_width')); ?>"
32 /></td>
33 </tr>
34
35 <tr valign="top">
36 <th scope="row">Default Height</th>
37 <td><input type="text" name="vdo_default_height"
38 value="<?php echo esc_attr(get_option('vdo_default_height')); ?>"
39 /></td>
40 </tr>
41
42 <tr valign="top">
43 <th scope="row">Annotation Statement</th>
44 <td>
45 <textarea name="vdo_annotate_code" type="textarea" rows="5" cols="60"><?php
46 if (get_option('vdo_annotate_code') != "") {
47 echo get_option('vdo_annotate_code');
48 }
49 ?></textarea>
50 <p class="description">Leave this text blank in case you do not need watermark over all Videos</p>
51 </td>
52 </tr>
53 </table>
54 <?php submit_button(); ?>
55 </form>
56 </div>
57