setupLocale(); } /** * for backward compatability * @see inc/DokuWiki_Plugin#getInfo() */ function getInfo() { if (method_exists(parent, 'getInfo')) { $info = parent::getInfo(); } return is_array($info) ? $info : confToHash(dirname(__FILE__) . '/plugin.info.txt'); } /** * return sort order for position in admin menu */ function getMenuSort() { return 100; } function forAdminOnly() { return false; } /** * handle user request */ function handle() { } /** * output appropriate html */ function html() { if (!$functions = & plugin_load('helper', 'siteexport')) { msg("Can't initialize"); return false; } $functions->__siteexport_addpage(); } } //Setup VIM: ex: et ts=4 enc=utf-8 :