-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlegalforms-options-page.php
51 lines (51 loc) · 2.18 KB
/
legalforms-options-page.php
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
40
41
42
43
44
45
46
47
48
49
50
51
<form method="post">
<h2><?php get_admin_page_title();?></h2>
<div class="soeasy" id="legalform-scripts">
<form name="<?php echo LT_LFP;?>" method="post" action="">
<table class="form-table">
<tbody>
<tr>
<td scope="row">
<?php _e('Please enter Legalthings base url', LT_LFP) ?>:
</td>
<td>
<input class="regular-text" type="text" value="<?php echo esc_attr($this->config['base_url']);?>" name="base_url" />
</td>
</tr>
<tr>
<td scope="row">
<?php _e('Standard login email', LT_LFP) ?>:
</td>
<td>
<input class="regular-text" type="text" value="<?php echo esc_attr($this->config['standard_email']);?>" name="standard_email" />
</td>
</tr>
<tr>
<td scope="row">
<?php _e('Standard login password', LT_LFP) ?>:
</td>
<td>
<input class="regular-text" type="text" value="<?php echo esc_attr($this->config['standard_password']);?>" name="standard_password" />
</td>
</tr>
<tr>
<td scope="row">
<?php _e('Load plugin Bootstrap?', LT_LFP) ?>
</td>
<td>
<input type="checkbox" name="load_bootstrap" value="false" <?php echo $this->config['load_bootstrap'] ? 'checked' : ''; ?> />
</td>
</tr>
<tr>
<td scope="row">
<?php _e('Optional terms and conditions url', LT_LFP) ?>:
</td>
<td>
<input class="regular-text" type="text" value="<?php echo esc_attr($this->config['terms_url']);?>" name="terms_url" />
</td>
</tr>
</tbody>
</table>
</div>
<?php submit_button(); ?>
</form>