|
From: <var...@us...> - 2010-09-17 08:41:16
|
Revision: 7689
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7689&view=rev
Author: vargenau
Date: 2010-09-17 08:41:10 +0000 (Fri, 17 Sep 2010)
Log Message:
-----------
Whitespace only
Modified Paths:
--------------
trunk/lib/plugin/CreateToc.php
Modified: trunk/lib/plugin/CreateToc.php
===================================================================
--- trunk/lib/plugin/CreateToc.php 2010-09-13 15:05:24 UTC (rev 7688)
+++ trunk/lib/plugin/CreateToc.php 2010-09-17 08:41:10 UTC (rev 7689)
@@ -246,7 +246,6 @@
function extractHeaders (&$content, &$markup, $backlink=0,
$counter=0, $levels=false, $firstlevelstyle='number', $basepage='')
{
-
if (!$levels) $levels = array(1,2);
$tocCounter = $this->_initTocCounter();
reset($levels);
@@ -374,8 +373,7 @@
if (!$pagename) {
return $this->error(_("no page specified"));
}
- if ($jshide and isBrowserIE() and browserDetect("Mac")) {
- //trigger_error(_("jshide set to 0 on Mac IE"), E_USER_NOTICE);
+ if (isBrowserIE() and browserDetect("Mac")) {
$jshide = 0;
}
if (($notoc) or ($liststyle == 'ol')) {
@@ -384,8 +382,8 @@
// Check if user is allowed to get the Page.
if (!mayAccessPage ('view', $pagename)) {
- return $this->error(sprintf(_("Illegal access to page %s: no read access"),
- $pagename));
+ return $this->error(sprintf(_("Illegal access to page %s: no read access"),
+ $pagename));
}
$page = $dbi->getPage($pagename);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|