*/ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); class admin_plugin_smtp extends DokuWiki_Admin_Plugin { /** * @return int sort number in admin menu */ public function getMenuSort() { return 500; } /** * @return bool true if only access for superuser, false is for superusers and moderators */ public function forAdminOnly() { return false; } /** * Should carry out any processing required by the plugin. */ public function handle() { } /** * Render HTML output, e.g. helpful text and a form */ public function html() { ptln('

'.$this->getLang('menu').'

'); require_once __DIR__ . '/loader.php'; $logger = new \splitbrain\dokuwiki\plugin\smtp\Logger(); $mailer = new Tx\Mailer\SMTP($logger); } } // vim:ts=4:sw=4:et: