diff options
author | jan <jan@jandecaluwe.com> | 2005-04-25 21:16:03 +0200 |
---|---|---|
committer | jan <jan@jandecaluwe.com> | 2005-04-25 21:16:03 +0200 |
commit | 40eb54bb0e6f4102d8b3e9af01c3bc93ac751cb2 (patch) | |
tree | 7e3b924bd238c373239a42051bc9bf2012382f2f /inc/parser/xhtml.php | |
parent | c3d8e19b99bca531a2914814bba707959107c843 (diff) | |
download | rpg-40eb54bb0e6f4102d8b3e9af01c3bc93ac751cb2.tar.gz rpg-40eb54bb0e6f4102d8b3e9af01c3bc93ac751cb2.tar.bz2 |
highlight link to current page
darcs-hash:20050425191603-45605-16cf24c1cde4ee22a93ebcf688032af31ab084fa.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index d79069bd6..b677d9705 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -424,6 +424,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['style'] = ''; $link['pre'] = ''; $link['suf'] = ''; + // highlight link to current page + if ($id == $ID) { + $link['pre'] = '<strong>'; + $link['suf'] = '</strong>'; + } $link['more'] = 'onclick="return svchk()" onkeypress="return svchk()"'; $link['class'] = $class; $link['url'] = wl($id); |