From d35041baa2350726387cc4dc923ce233d9886745 Mon Sep 17 00:00:00 2001 From: andi Date: Sat, 7 May 2005 15:29:35 +0200 Subject: fixed TOC to use translated string darcs-hash:20050507132935-9977f-a90b9c67319edf113b44751addf5fbcf264c5907.gz --- inc/parser/xhtml.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc/parser') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index ffacabc7b..e61094f86 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -59,8 +59,12 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } function toc_open() { + global $lang; $this->doc .= '
'.DOKU_LF; - $this->doc .= '
Table of Contents
'.DOKU_LF; + $this->doc .= '
'; + $this->doc .= $lang['toc']; + $this->doc .= '
'.DOKU_LF; $this->doc .= '
'.DOKU_LF; } -- cgit v1.2.3