diff --git a/public_html/lib/plugins/anewssystem/INFO b/public_html/lib/plugins/anewssystem/INFO index 56ee566a..a958054a 100644 --- a/public_html/lib/plugins/anewssystem/INFO +++ b/public_html/lib/plugins/anewssystem/INFO @@ -2,7 +2,7 @@ author Taggic email taggic@t-online.de -date 2015-02-11 +date 2016-06-02 name anewssystem desc provides an easy to handle, page based news system url http://www.dokuwiki.org/plugin:anewssystem diff --git a/public_html/lib/plugins/anewssystem/VERSION b/public_html/lib/plugins/anewssystem/VERSION index 27766603..366c2347 100644 --- a/public_html/lib/plugins/anewssystem/VERSION +++ b/public_html/lib/plugins/anewssystem/VERSION @@ -1 +1 @@ -2015-02-11 \ No newline at end of file +2016-06-02 \ No newline at end of file diff --git a/public_html/lib/plugins/anewssystem/action.php b/public_html/lib/plugins/anewssystem/action.php index 14a85378..1137e0a1 100644 --- a/public_html/lib/plugins/anewssystem/action.php +++ b/public_html/lib/plugins/anewssystem/action.php @@ -24,7 +24,7 @@ class action_plugin_anewssystem extends DokuWiki_Action_Plugin { return array( 'author' => 'Taggic', 'email' => 'Taggic@t-online.de', - 'date' => '2013-02-19', + 'date' => '2016-06-02', 'name' => 'News archive page (action plugin component)', 'desc' => 'to show the News aechive alone on a page.', 'url' => 'http://www.dokuwiki.org/plugin:anewssystem', @@ -33,7 +33,7 @@ class action_plugin_anewssystem extends DokuWiki_Action_Plugin { /****************************************************************************** ** Register its handlers with the dokuwiki's event controller */ - function register(&$controller) { + function register(Doku_Event_Handler &$controller) { $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, '_handle_act', array()); $controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'output', array()); } @@ -219,14 +219,7 @@ class action_plugin_anewssystem extends DokuWiki_Action_Plugin { $backlink = ''.$this->getLang('lnk_back').''; $backlink .= ' | '.$this->getLang('allnews').' »'; - $output = ''.NL. - ' -