forked from ryanbagwell/wordpress-sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptionspage.html.php
More file actions
executable file
·39 lines (33 loc) · 1.02 KB
/
optionspage.html.php
File metadata and controls
executable file
·39 lines (33 loc) · 1.02 KB
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
29
30
31
32
33
34
35
36
37
38
39
<div class="wrap">
<h2>Sentry Error Reporting Settings</h2>
<form action="" method="post">
<table class="form-table">
<tbody>
<tr valign="top">
<th scope="row">
<label for="sentry_dsn">Sentry DSN</label>
</th>
<td>
<input name="sentry_dsn" type="text" id="sentry-dsn" value="<?php echo $settings['dsn']; ?>" class="regular-text">
</td>
</tr>
<tr valign="top">
<th scope="row">
<label for="sentry_dsn">Error Reporting Level</label>
</th>
<td>
<select name="sentry_reporting_level">
<?php foreach ($error_levels as $level => $int): ?>
<option value="<?php echo $level; ?>" <?php echo ($settings['reporting_level'] == $level) ? 'selected="selected"' : '';?>><?php echo $level; ?></option>
<?php endforeach; ?>
</select>
("User Notices" is recommended)
</td>
</tr>
</tbody>
</table>
<p class="submit">
<input type="submit" name="submit" id="submit" class="button-primary" value="Save Changes">
</p>
</form>
</div>