<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -214,14 +214,15 @@ class helper_plugin_pagelist extends DokuWiki_Plugin {
         $this-&gt;_meta = NULL;
 
         // priority and draft
-        if (!isset($this-&gt;page['draft']))
+        if (!isset($this-&gt;page['draft'])) {
             $this-&gt;page['draft'] = ($this-&gt;_getMeta('type') == 'draft');
-        if (isset($this-&gt;page['priority']))
-            $class = ' class=&quot;priority'.$this-&gt;page['priority'].'&quot;';
-        elseif ($this-&gt;page['draft'])
-            $class = ' class=&quot;draft&quot;';
-        else
-            $class = '';
+        }
+        $class = '';
+        if (isset($this-&gt;page['priority'])) $class .= 'priority'.$this-&gt;page['priority']. ' ';
+        if ($this-&gt;page['draft']) $class .= 'draft ';
+        if ($this-&gt;page['class']) $class .= $this-&gt;page['class'];
+        if(!empty($class)) $class = ' class=&quot;' . $class . '&quot;';
+
         $this-&gt;doc .= DOKU_TAB.'&lt;tr'.$class.'&gt;'.DOKU_LF;
 
         $this-&gt;_pageCell($id);    </diff>
      <filename>helper.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ef9678fea63f02b6df531a6d602dd0e9fa981f7c</id>
    </parent>
  </parents>
  <author>
    <name>Michael Klier</name>
    <email>chi@chimeric.de</email>
  </author>
  <url>http://github.com/dokufreaks/plugin-pagelist/commit/0b3b53577f626807387aedbe7b670c837d458d18</url>
  <id>0b3b53577f626807387aedbe7b670c837d458d18</id>
  <committed-date>2009-02-10T07:08:48-08:00</committed-date>
  <authored-date>2009-02-10T07:08:48-08:00</authored-date>
  <message>allow specification of additional css classes to style output

darcs-hash:20090210150848-23886-70bfac2e3164f99f4babd74bc926f9aba504cad3.gz</message>
  <tree>14fc050535ee3fe961c0f30626c27d3b13e410c6</tree>
  <committer>
    <name>Michael Klier</name>
    <email>chi@chimeric.de</email>
  </committer>
</commit>
