From 6d0fb5e983077b58c5da746db198f91a0b6143b9 Mon Sep 17 00:00:00 2001 From: vargenau Date: Sun, 4 May 2008 08:37:42 +0000 Subject: [PATCH] Add alt attribute git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@6054 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/CreateToc.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/plugin/CreateToc.php b/lib/plugin/CreateToc.php index d557e33d4..2ddf05ef0 100644 --- a/lib/plugin/CreateToc.php +++ b/lib/plugin/CreateToc.php @@ -1,5 +1,5 @@ 'toctoggle', 'class'=>'wikiaction', 'title'=>_("Click to display to TOC"), - 'onClick'=>"toggletoc(this)", + 'onclick'=>"toggletoc(this)", 'height' => 15, 'width' => 15, 'border' => 0, + 'alt' => 'toctoggle', 'src' => $jshide ? $close : $open ))); else $toclink = HTML::a(array('name'=>'TOC', @@ -410,6 +411,9 @@ function toggletoc(a) { }; // $Log: not supported by cvs2svn $ +// Revision 1.36 2007/07/19 12:41:25 labbenes +// Correct TOC numbering. It should start from '1' not from '1.1'. +// // Revision 1.35 2007/02/17 14:17:48 rurban // declare vars for IE6 // -- 2.45.0