diff options
author | Igor <pashev.igor@gmail.com> | 2010-11-06 19:05:57 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2010-11-06 19:05:57 +0300 |
commit | e6cb69aed00a8465525e9609b8085e999962158e (patch) | |
tree | 687b8d1a0c00813332eb5bef4aae7a04c52549d8 /syntax.php | |
parent | f453cf1b82cd4a4d56fc7a2ef0c41c5237415015 (diff) | |
download | dokuwiki-plugin-papers-e6cb69aed00a8465525e9609b8085e999962158e.tar.gz |
<papers> gives a list without years
Diffstat (limited to 'syntax.php')
-rw-r--r-- | syntax.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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. |