aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor <pashev.igor@gmail.com>2010-11-06 19:05:57 +0300
committerIgor <pashev.igor@gmail.com>2010-11-06 19:05:57 +0300
commite6cb69aed00a8465525e9609b8085e999962158e (patch)
tree687b8d1a0c00813332eb5bef4aae7a04c52549d8
parentf453cf1b82cd4a4d56fc7a2ef0c41c5237415015 (diff)
downloaddokuwiki-plugin-papers-e6cb69aed00a8465525e9609b8085e999962158e.tar.gz
<papers> gives a list without years
-rw-r--r--syntax.php5
1 files 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.