admin-menu-system-status.html.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <div class="wrap">
  2. <h1><?php _e( 'Get Help', 'ninja-forms' ); ?></h1>
  3. <h2><?php _e( 'Before requesting help from our support team please review:', 'ninja-forms' ); ?></h2>
  4. <ol>
  5. <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>
  6. <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>
  7. <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>
  8. <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>
  9. </ol>
  10. <div class="nf-box">
  11. <div class="submit debug-report">
  12. <h3>To Get Help:</h3>
  13. <ol>
  14. <li><?php _e( 'Copy your System Report first with the button below', 'ninja-forms' ); ?> </li>
  15. <li><?php _e( 'Click "Submit a Support Request" to be directed to our site.', 'ninja-forms' ); ?> </li>
  16. <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>
  17. </ol>
  18. <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>
  19. <a href="#" id="copy-system-status" class="button-primary"><?php _e( 'Copy System Report', 'ninja-forms' ); ?></a>
  20. <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>
  21. </div>
  22. <div id="debug-report">
  23. <textarea readonly="readonly"></textarea>
  24. </div>
  25. </div>
  26. </div>
  27. <br/>
  28. <table class="nf-status-table" cellspacing="0">
  29. <thead>
  30. <tr>
  31. <th colspan="2"><?php _e( 'Environment', 'ninja-forms' ); ?></th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <?php foreach( $environment as $key => $value ): ?>
  36. <tr>
  37. <td><?php echo esc_html( $key ) . ':'; ?></td>
  38. <td><?php echo esc_html( $value ); ?></td>
  39. </tr>
  40. <?php endforeach; ?>
  41. </tbody>
  42. <thead>
  43. <tr>
  44. <th colspan="2"><?php _e( 'Plugins', 'ninja-forms' ); ?></th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. <tr>
  49. <td><?php _e( 'Activated Plugins','ninja-forms' ); ?>:</td>
  50. <td><?php echo $site_wide_plugins; ?></td>
  51. </tr>
  52. </tbody>
  53. </table>
  54. <!--TODO: Add this section back in when error collected is fixed.-->
  55. <!-- <thead>-->
  56. <!-- <tr>-->
  57. <!-- <th colspan="2">--><?php //_e( 'Recent Errors', 'ninja-forms' ); ?><!--</th>-->
  58. <!-- </tr>-->
  59. <!-- </thead>-->
  60. <!-- <tbody>-->
  61. <!-- <tr>-->
  62. <!-- <td></td>-->
  63. <!-- <td>-->
  64. <!-- --><?php //foreach ( $error_log as $error ): ?>
  65. <!-- * --><?php //echo nl2br( $error ) ?><!-- </br>-->
  66. <!-- --><?php //endforeach; ?>
  67. <!-- </td>-->
  68. <!-- </tr>-->
  69. <!-- </tbody>-->