summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authormatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-05-31 21:38:27 +0200
committermatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-05-31 21:38:27 +0200
commit6037be5aa20f17baed31d2f061481c3a31341ef8 (patch)
treec573edbfa7b3ccfdc997c8c44f4971b6d368a9e4 /inc/parser/xhtml.php
parente4a9930b4716be77450a291f7f54a708e75be7f2 (diff)
downloadrpg-6037be5aa20f17baed31d2f061481c3a31341ef8.tar.gz
rpg-6037be5aa20f17baed31d2f061481c3a31341ef8.tar.bz2
String quoting in TOC toggle code
This patch changed the string quoting in the TOC toggle button code. The HTML code looks better. darcs-hash:20050531193827-7ef76-b1434c596e396f126a7c2a94ba8bb4f475383fe7.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 06f286a20..5c3c8f86e 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -70,10 +70,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
global $lang;
$this->doc .= '<div class="toc">'.DOKU_LF;
$this->doc .= '<div class="tocheader">';
+/* The (+/-) version will work too but needs some CSS tweaking to look fine */
/* $this->doc .= ' <script type="text/javascript">showTocToggle("+","-")';*/
$this->doc .= '<script type="text/javascript">showTocToggle(';
- $this->doc .= '"<img src=\"'.DOKU_BASE.'images/arrow_down.png\">",';
- $this->doc .= '"<img src=\"'.DOKU_BASE.'images/arrow_up.png\">")';
+ $this->doc .= '\'<img src="'.DOKU_BASE.'images/arrow_down.png">\',';
+ $this->doc .= '\'<img src="'.DOKU_BASE.'images/arrow_up.png">\')';
$this->doc .= '</script>';
$this->doc .= $lang['toc'];
$this->doc .= '</div>'.DOKU_LF;