From: <rob...@us...> - 2012-07-03 19:52:08
|
Revision: 42208 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=42208&view=rev Author: robertplummer Date: 2012-07-03 19:52:02 +0000 (Tue, 03 Jul 2012) Log Message: ----------- [FIX] integrate killtoc Modified Paths: -------------- trunk/lib/core/WikiPlugin/maketoc.php Modified: trunk/lib/core/WikiPlugin/maketoc.php =================================================================== --- trunk/lib/core/WikiPlugin/maketoc.php 2012-07-03 19:44:03 UTC (rev 42207) +++ trunk/lib/core/WikiPlugin/maketoc.php 2012-07-03 19:52:02 UTC (rev 42208) @@ -32,9 +32,10 @@ function output($data, $params, $index, $parser) { - global $tikilib; + global $tikilib, $killtoc; if (isset($tikilib->is_slideshow) && $tikilib->is_slideshow == true) return ''; + if (isset($killtoc) && $killtoc == true) return ''; $result = '<div id="toctitle"><h3>' . tr('Table of contents') . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |