data = '
'.p_render('xhtml',p_get_instructions(file_get_contents(DOKU_PLUGIN.'autoincludeindex/template.tpl')), $info).'
'.$event->data.file_get_contents(DOKU_PLUGIN.'autoincludeindex/icondiv.tpl');
}
function getInfo()
{
return array
(
'name' => 'Sidebar Index Menu',
'email' => 'guanfenglin@gmail.com',
'date' => '04/12/2008',
'author' => 'James GuanFeng Lin',
'desc' => 'auto includes index menu to the page',
'url' => ''
);
}
function register(&$controller)
{
$controller->register_hook('TPL_CONTENT_DISPLAY','BEFORE',$this, '_indexMenu', array());
}
}
?>