fetch($this->getTemplatePath() . '/citation.tpl'); return true; } /** * Return an HTML-formatted citation. Default implementation displays * an HTML-based citation using the citation.tpl template in the plugin * path. * @param $paper object */ function cite(&$paper) { HookRegistry::register('Template::RT::CaptureCite', array(&$this, 'displayCitation')); $templateMgr =& TemplateManager::getManager(); $templateMgr->assign_by_ref('citationPlugin', $this); $templateMgr->display('rt/captureCite.tpl'); } } ?>