cosmocode / pagenav

DokuWiki Plugin to display links to the next or previous alphabetically ordered page
http://www.dokuwiki.org/plugin:pagenav
4 stars 8 forks source link

specific class #12

Closed typometre closed 5 years ago

typometre commented 9 years ago

It would be nice to have a specific class for each link, as prev, next … It will permit to have more control with css.

For this I have change one line in the end of syntax.phpfile

return '<a href="'.wl($page).'" title="'.$this->getLang($cmd).': '.hsc($title).'" class="wikilink1 ' .$cmd.'"><img src="'.DOKU_BASE.'lib/plugins/pagenav/img/'.$cmd.'.png" alt="'.$this->getLang($cmd).'" /></a>’;

Could be useful for others too.