Lexer->addSpecialPattern('~~BEZNAV~~',$mode,'plugin_bez_nav');
}
public function handle($match, $state, $pos, Doku_Handler $handler) {
return true;
}
public function render($mode, Doku_Renderer $r, $data) {
if ($mode != 'xhtml') return;
$r->info['cache'] = false;
$r->doc .= '';
}
protected function _list(action_plugin_bez_base $bez_action, $action, $label) {
global $INFO;
$matches = array();
preg_match('/bez:([a-z_]*)/i', $INFO['id'], $matches);
$cur_action = '';
if (isset($matches[1])) {
$cur_action = $matches[1];
}
$ret = '
';
if ($cur_action == $action) $ret .= '';
$ret .= '' . $label . '';
if ($cur_action == $action) $ret .= '';
$ret .= '';
return $ret;
}
}