*/ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); class helper_plugin_searchformgoto extends DokuWiki_Plugin { function getInfo() { return array( 'author' => 'Payton Swick', 'email' => 'payton@foolord.com', 'date' => @file_get_contents(DOKU_PLUGIN . 'searchformgoto/VERSION'), 'name' => 'SearchFormGoto Plugin', 'desc' => 'The search form now has a "Go" button which will go to a page instead of searching.', 'url' => 'http://wiki.splitbrain.org/plugin:searchformgoto', ); } function gotoform($ajax=true,$autocomplete=true) { global $lang; global $ACT; global $ID; // don't print the search form if search action has been disabled if (!actionOk('search')) return false; print '
'; return true; } }