Lexer->addSpecialPattern('~~NOFOOTER~~',$mode,'plugin_footer'); } function handle($match, $state, $pos, Doku_Handler $handler){ $match = str_replace("~~NOFOOTER~~", '', $match); } function render($mode, Doku_Renderer $renderer, $data) { if($mode == 'xhtml'){ return true; } return false; } } ?>