getPluginPath() . '/settings.xml'; } /** * Get the display name of this plugin. * @return String */ function getDisplayName() { return __('plugins.block.information.displayName'); } /** * Get a description of the plugin. */ function getDescription() { return __('plugins.block.information.description'); } /** * Get the HTML contents for this block. * @param $templateMgr object * @return $string */ function getContents(&$templateMgr) { $journal =& Request::getJournal(); if (!$journal) return ''; $templateMgr->assign('forReaders', $journal->getLocalizedSetting('readerInformation')); $templateMgr->assign('forAuthors', $journal->getLocalizedSetting('authorInformation')); $templateMgr->assign('forLibrarians', $journal->getLocalizedSetting('librarianInformation')); return parent::getContents($templateMgr); } } ?>