From e6cb69aed00a8465525e9609b8085e999962158e Mon Sep 17 00:00:00 2001 From: Igor Date: Sat, 6 Nov 2010 19:05:57 +0300 Subject: gives a list without years --- syntax.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/syntax.php b/syntax.php index 8f37108..f98507f 100644 --- a/syntax.php +++ b/syntax.php @@ -81,7 +81,7 @@ class syntax_plugin_papers extends DokuWiki_Syntax_Plugin $source = wikiFN($this->getConf($tag)); } - $options = array(); + $options = array('byyear' => 0); foreach(array('raw', 'byyear') as $o) { if (isset($spec[$o])) @@ -198,8 +198,7 @@ class syntax_plugin_papers extends DokuWiki_Syntax_Plugin $in_list = true; } - /* - * Grants may last for several years. + /* Grants may last for several years. * We dublicate each grant for every year it lasts. * If we sort grants by years first, we display grant in * each year. Otherwise we ignore dublicates. -- cgit v1.2.3