From: <var...@us...> - 2008-08-28 18:18:40
|
Revision: 6219 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6219&view=rev Author: vargenau Date: 2008-08-28 18:18:50 +0000 (Thu, 28 Aug 2008) Log Message: ----------- getDefaultArguments: same order as in documentation Modified Paths: -------------- trunk/lib/plugin/CreateToc.php Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2008-08-28 18:16:28 UTC (rev 6218) +++ trunk/lib/plugin/CreateToc.php 2008-08-28 18:18:50 UTC (rev 6219) @@ -56,20 +56,20 @@ } function getDefaultArguments() { - return array( 'pagename' => '[pagename]', // TOC of another page here? - 'headers' => "1,2,3,4,5", // "!!!"=>h2, "!!"=>h3, "!"=>h4 - // "1"=>h2, "2"=>h3, "3"=>h4, "4"=>h5, "5"=>h6 - 'noheader' => 0, // omit "Table of Contents" header - 'notoc' => 0, // do not display TOC, only number headers - 'position' => 'right', // or left - 'with_toclink' => 0, // link back to TOC - 'jshide' => 0, // collapsed TOC as DHTML button - 'extracollapse' => 1, // provide an entry +/- link to collapse - 'liststyle' => 'dl', // 'dl' or 'ul' or 'ol' - 'indentstr' => ' ', - 'with_counter' => 0, - 'firstlevelstyle' => 'number' // 'number', 'letter' or 'roman' - ); + return array('extracollapse' => 1, // provide an entry +/- link to collapse + 'firstlevelstyle' => 'number', // 'number', 'letter' or 'roman' + 'headers' => "1,2,3,4,5", // "!!!"=>h2, "!!"=>h3, "!"=>h4 + // "1"=>h2, "2"=>h3, "3"=>h4, "4"=>h5, "5"=>h6 + 'indentstr' => ' ', + 'jshide' => 0, // collapsed TOC as DHTML button + 'liststyle' => 'dl', // 'dl' or 'ul' or 'ol' + 'noheader' => 0, // omit "Table of Contents" header + 'notoc' => 0, // do not display TOC, only number headers + 'pagename' => '[pagename]', // TOC of another page here? + 'position' => 'full', // full, right or left + 'with_counter' => 0, + 'with_toclink' => 0, // link back to TOC + ); } // Initialisation of toc counter function _initTocCounter() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |