75 lines
3.5 KiB
PHP
Executable file
75 lines
3.5 KiB
PHP
Executable file
<div class="wrap">
|
|
|
|
<h1><?php _e( 'Get Help', 'ninja-forms' ); ?></h1>
|
|
<h2><?php _e( 'Before requesting help from our support team please review:', 'ninja-forms' ); ?></h2>
|
|
<ol>
|
|
<li><a href='https://ninjaforms.com/three/?utm_source=plugin&utm_medium=get-help&utm_campaign=documentation'><?php _e( 'Ninja Forms THREE documentation', 'ninja-forms' ); ?></a></li>
|
|
<li><a href='https://ninjaforms.com/docs/basic-troubleshooting/?utm_source=plugin&utm_medium=get-help&utm_campaign=documentation'><?php _e( 'Ninja Forms Email troubleshooting', 'ninja-forms' ); ?></a></li>
|
|
<li><a href='https://ninjaforms.com/docs/troubleshooting-email-problems/?utm_source=plugin&utm_medium=get-help&utm_campaign=documentation'><?php _e( 'What to try before contacting support', 'ninja-forms' ); ?></a></li>
|
|
<li><a href='https://ninjaforms.com/scope-of-support/?utm_source=plugin&utm_medium=get-help&utm_campaign=documentation'><?php _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 _e( 'Copy your System Report first with the button below', 'ninja-forms' ); ?> </li>
|
|
<li><?php _e( 'Click "Submit a Support Request" to be directed to our site.', 'ninja-forms' ); ?> </li>
|
|
<li><?php _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>
|
|
<h4><?php _e( 'This information is vital for addressing your issue in a timely manner. <em>For your security, do not post this information in public places, such as the WordPress.org support forums.</em>', 'ninja-forms' ); ?> </h4>
|
|
<a href="#" id="copy-system-status" class="button-primary"><?php _e( 'Copy System Report', 'ninja-forms' ); ?></a>
|
|
<a href="https://ninjaforms.com/contact/?utm_source=plugin&utm_medium=get-help&utm_campaign=support-ticket" class="button-secondary"><?php _e( 'Submit a Support Request', 'ninja-forms' ); ?></a>
|
|
</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 _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 _e( 'Plugins', 'ninja-forms' ); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><?php _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>-->
|
|
|