admin-menu-system-status.html.php
3.92 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<div class="wrap">
<h1><?php esc_html_e( 'Get Help', 'ninja-forms' ); ?></h1>
<h2><?php esc_html_e( 'Before requesting help from our support team please review:', 'ninja-forms' ); ?></h2>
<ol>
<li><a href='https://ninjaforms.com/documentation/?utm_source=Ninja+Forms+Plugin&utm_medium=Get+Help&utm_campaign=Plugin+Support+Links&utm_content=Documentation'><?php esc_html_e( 'Ninja Forms Documentation', 'ninja-forms' ); ?></a></li>
<li><a href='https://ninjaforms.com/docs/troubleshooting-email-problems/?utm_source=Ninja+Forms+Plugin&utm_medium=Get+Help&utm_campaign=Plugin+Support+Links&utm_content=Email+Troubleshooting'><?php esc_html_e( 'Ninja Forms Email troubleshooting', 'ninja-forms' ); ?></a></li>
<!-- <li><a href='https://ninjaforms.com/docs/basic-troubleshooting/?utm_source=plugin&utm_medium=get-help&utm_campaign=documentation'><?php esc_html_e( 'What to try before contacting support', 'ninja-forms' ); ?></a></li> -->
<li><a href='https://ninjaforms.com/scope-of-support/?utm_source=Ninja+Forms+Plugin&utm_medium=Get+Help&utm_campaign=Plugin+Support+Links&utm_content=Scope+of+Support'><?php esc_html_e( 'Our Scope of Support', 'ninja-forms' ); ?></a></li>
</ol>
<div class="nf-box">
<div class="submit debug-report">
<h3>To Get Help:</h3>
<ol>
<li><?php esc_html_e( 'Copy your System Report first with the button below', 'ninja-forms' ); ?> </li>
<li><?php esc_html_e( 'Click "Submit a Support Request" to be directed to our site.', 'ninja-forms' ); ?> </li>
<li><?php esc_html_e( 'Include this information in your support request by pasting in the "System Status" portion of the form. (right click, choose "Paste" or use Ctrl+V)', 'ninja-forms' ); ?> </li>
</ol>
<p><?php esc_html_e( 'This information is vital for addressing your issue in a timely manner.', 'ninja-forms' ); ?></p>
<a href="#" id="copy-system-status" class="button-primary"><?php esc_html_e( 'Copy System Report', 'ninja-forms' ); ?></a>
<a href="https://ninjaforms.com/contact/?utm_source=Ninja+Forms+Plugin&utm_medium=Get+Help&utm_campaign=Plugin+Support+Links&utm_content=Submit+a+Support+Request" class="button-secondary"><?php esc_html_e( 'Submit a Support Request', 'ninja-forms' ); ?></a>
<p>
<em><?php esc_html_e( 'For your security, do not post this information in public places, such as the WordPress.org support forums.', 'ninja-forms' ); ?></em>
</p>
</div>
<div id="debug-report">
<textarea readonly="readonly"></textarea>
</div>
</div>
</div>
<br/>
<table class="nf-status-table" cellspacing="0">
<thead>
<tr>
<th colspan="2"><?php esc_html_e( 'Environment', 'ninja-forms' ); ?></th>
</tr>
</thead>
<tbody>
<?php foreach( $environment as $key => $value ): ?>
<tr>
<td><?php echo esc_html( $key ) . ':'; ?></td>
<td><?php echo esc_html( $value ); ?></td>
</tr>
<?php endforeach; ?>
</tbody>
<thead>
<tr>
<th colspan="2"><?php esc_html_e( 'Plugins', 'ninja-forms' ); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td><?php esc_html_e( 'Activated Plugins','ninja-forms' ); ?>:</td>
<td><?php echo $site_wide_plugins; ?></td>
</tr>
</tbody>
</table>
<!--TODO: Add this section back in when error collected is fixed.-->
<!-- <thead>-->
<!-- <tr>-->
<!-- <th colspan="2">--><?php //_e( 'Recent Errors', 'ninja-forms' ); ?><!--</th>-->
<!-- </tr>-->
<!-- </thead>-->
<!-- <tbody>-->
<!-- <tr>-->
<!-- <td></td>-->
<!-- <td>-->
<!-- --><?php //foreach ( $error_log as $error ): ?>
<!-- * --><?php //echo nl2br( $error ) ?><!-- </br>-->
<!-- --><?php //endforeach; ?>
<!-- </td>-->
<!-- </tr>-->
<!-- </tbody>-->