speedTest.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. // PLUGIN INFORMATION
  3. $GLOBALS['plugins'][]['SpeedTest'] = array( // Plugin Name
  4. 'name'=>'SpeedTest', // Plugin Name
  5. 'author'=>'CauseFX', // Who wrote the plugin
  6. 'category'=>'Utilities', // One to Two Word Description
  7. 'link'=>'https://github.com/PHPMailer/PHPMailer', // Link to plugin info
  8. 'license'=>'personal,business', // License Type use , for multiple
  9. //'fileName'=>'php-mailer.php',
  10. //'configFile'=>'php-mailer.php',
  11. //'apiFile'=>'php-mailer.php',
  12. 'idPrefix'=>'SPEEDTEST', // html element id prefix
  13. 'configPrefix'=>'SPEEDTEST', // config file prefix for array items without the hypen
  14. 'version'=>'1.0.0', // SemVer of plugin
  15. 'image'=>'plugins/images/speedtest.png', // 1:1 non transparent image for plugin
  16. 'settings'=>true, // does plugin need a settings page? true or false
  17. 'homepage'=>false // Is plugin for use on homepage? true or false
  18. );
  19. // INCLUDE/REQUIRE FILES
  20. // PLUGIN FUNCTIONS
  21. /* GET PHPMAILER SETTINGS */
  22. function speedTestGetSettings()
  23. {
  24. return array(
  25. 'Options' => array(
  26. array(
  27. 'type' => 'select',
  28. 'name' => 'SPEEDTEST-Auth-include',
  29. 'label' => 'Minimum Authentication',
  30. 'value' => $GLOBALS['SPEEDTEST-Auth-include'],
  31. 'options' => groupSelect()
  32. )
  33. )
  34. );
  35. }