diff --git a/InlineHtmlGalleyBlockPlugin.php b/InlineHtmlGalleyBlockPlugin.php index d80f65d..8e4ad68 100644 --- a/InlineHtmlGalleyBlockPlugin.php +++ b/InlineHtmlGalleyBlockPlugin.php @@ -76,14 +76,6 @@ function getHideManagement() { return true; } - /** - * Get the supported contexts (e.g. BLOCK_CONTEXT_...) for this block. - * @return array - */ - function getSupportedContexts() { - return array(BLOCK_CONTEXT_SIDEBAR); - } - /** * Get the parent plugin * @return object diff --git a/InlineHtmlGalleyPlugin.php b/InlineHtmlGalleyPlugin.php index d848246..19842c4 100644 --- a/InlineHtmlGalleyPlugin.php +++ b/InlineHtmlGalleyPlugin.php @@ -96,8 +96,8 @@ function register($category, $path, $mainContextId = null) { new InlineHtmlGalleyGalleysSidebarBlockPlugin($this->getName(), $this->getPluginPath()), $this->getPluginPath() ); - Hook::add('ArticleHandler::view', array($this, 'articleViewCallback'), HOOK_SEQUENCE_LATE); - Hook::add('TemplateResource::getFilename', array($this, '_overridePluginTemplates'), HOOK_SEQUENCE_CORE); + Hook::add('ArticleHandler::view', array($this, 'articleViewCallback'), Hook::SEQUENCE_LATE); + Hook::add('TemplateResource::getFilename', array($this, '_overridePluginTemplates'), Hook::SEQUENCE_CORE); } return true; diff --git a/README.md b/README.md index fd14b0c..a6532ef 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This plugin provides inline display of article galleys for PKP Open Journal Syst ## Requirements -* OJS 3.4.x +* OJS 3.5.x * The PKP plugin htmlArticleGalley (which ships by default with OJS) * [Bootstrap3 theme](https://github.com/NateWr/bootstrap3) * The plugin will function with other themes, but the structure of the blocks conforms to bootstrap3 expectations @@ -40,6 +40,6 @@ The plugin provides article metadata as sidebar blocks, which may be enabled and ## Author / License -Written by Clinton Graham and Chrysanthemum Lovelace and Tazio Polanco for the [University of Pittsburgh](http://www.pitt.edu). Copyright (c) University of Pittsburgh. +Written by Clinton Graham, Chrysanthemum Lovelace and Tazio Polanco for the [University of Pittsburgh](http://www.pitt.edu). Copyright (c) University of Pittsburgh. Released under a license of GPL v2 or later. diff --git a/templates/blockAuthors.tpl b/templates/blockAuthors.tpl index 9207422..1b72c7b 100644 --- a/templates/blockAuthors.tpl +++ b/templates/blockAuthors.tpl @@ -18,12 +18,15 @@ {foreach from=$publication->getData('authors') item=author}
-{/if} \ No newline at end of file +{/if} diff --git a/version.xml b/version.xml index ce59f89..173fcd0 100644 --- a/version.xml +++ b/version.xml @@ -14,8 +14,8 @@