-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.php
More file actions
28 lines (26 loc) · 718 Bytes
/
Copy pathsettings.php
File metadata and controls
28 lines (26 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* Created by PhpStorm.
* User: rutgerkirkels
* Date: 29-07-17
* Time: 09:55
*/
function ethos_stats_settings() {
?>
<div class="wrap"><h1>ethOS Statistics</h1></div>
<form method="post" action="options.php">
<?php
settings_fields( 'ethos-stats-settings' );
?>
<?php do_settings_sections( 'ethos-stats-settings' ); ?>
<table class="form-table">
<tr valign="top">
<th scope="row">Panel ID:</th>
<td><input type="text" name="extra_post_info" value="<?php echo get_option( 'panelid' ); ?>"/>.ethosdistro.com</td>
</tr>
</table>
<?php submit_button(); ?>
</form>
<?php
}
?>