- will be replaced with output from fussball.de * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Manuel Krischer */ if(!defined('DOKU_INC')) die(); class syntax_plugin_fbde extends DokuWiki_Syntax_Plugin { function getType() { return 'substition'; } function getPType(){ return 'stack'; } function getSort() { return 999; } /*search for pattern*/ function connectTo($mode) { $this->Lexer->addSpecialPattern('',$mode,'plugin_fbde'); } /*what to do with pattern*/ function handle($match, $state, $pos, Doku_Handler $handler){ return explode('|', $match); } function render($mode, Doku_Renderer $renderer, $data) { if($mode != 'xhtml') return false; $renderer->doc .= "\n\t\t
\n\t\t
\n\t\t"; return true; } }