| @@ -1,27 +1,23 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { |
| 3 | 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>"); | |
| 4 | + exit("<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>404 Not Found</title>\r\n</head><body>\r\n<h1>Not Found</h1>\r\n<p>The requested URL " . $_SERVER['SCRIPT_NAME'] . " was not found on this server.</p>\r\n</body></html>"); | |
| 7 | 5 | } |
| 8 | 6 | ?> |
| 9 | 7 | <div class="wrap"> |
| 10 | 8 | <form method="post" action="options.php"> |
| 11 | 9 | <?php |
| 12 | -settings_fields('vdo_option-group'); | |
| 13 | -do_settings_sections('vdo_option-group'); | |
| 10 | +settings_fields( 'vdo_option-group' ); | |
| 11 | +do_settings_sections( 'vdo_option-group' ); | |
| 14 | 12 | ?> |
| 15 | - <h2>Please enter your VdoCipher CLIENT_SECRET_KEY</h2> | |
| 13 | + <h2>Please enter your VdoCipher CLIENT_SECRET_KEY</h2> | |
| 16 | 14 | |
| 17 | 15 | <table class="form-table"> |
| 18 | 16 | <tbody><tr> |
| 19 | 17 | <td style="width: 160px;">VdoCipher secret key :</td> |
| 20 | 18 | <td> |
| 21 | - <input name="vdo_client_key" style="width: 400px;" | |
| 22 | - value="<?php echo esc_attr(get_option('vdo_client_key')); ?>" | |
| 23 | - type="text"> | |
| 19 | + <input name="vdo_client_key" style="width: 400px;" value="<?php echo esc_attr( get_option('vdo_client_key') ); ?>" type="text"> | |
| 24 | 20 | </td> |
| 25 | 21 | </tr> |
| 26 | 22 | |
| 27 | 23 | </tbody></table> |