speedTest.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. //'fileName'=>'php-mailer.php',
  9. //'configFile'=>'php-mailer.php',
  10. //'apiFile'=>'php-mailer.php',
  11. 'idPrefix'=>'SPEEDTEST', // html element id prefix
  12. 'configPrefix'=>'SPEEDTEST', // config file prefix for array items without the hypen
  13. 'version'=>'1.0.0', // SemVer of plugin
  14. 'image'=>'plugins/images/speedtest.png', // 1:1 non transparent image for plugin
  15. 'settings'=>true, // does plugin need a settings page? true or false
  16. 'homepage'=>false // Is plugin for use on homepage? true or false
  17. );
  18. // INCLUDE/REQUIRE FILES
  19. // PLUGIN FUNCTIONS
  20. /* GET PHPMAILER SETTINGS */
  21. function speedTestGetSettings(){
  22. return array(
  23. 'Options' => array(
  24. array(
  25. 'type' => 'select',
  26. 'name' => 'SPEEDTEST-Auth-include',
  27. 'label' => 'Minimum Authentication',
  28. 'value' => $GLOBALS['SPEEDTEST-Auth-include'],
  29. 'options' => groupSelect()
  30. )
  31. )
  32. );
  33. }