|
From: <var...@us...> - 2013-04-16 15:53:49
|
Revision: 8760
http://sourceforge.net/p/phpwiki/code/8760
Author: vargenau
Date: 2013-04-16 15:53:47 +0000 (Tue, 16 Apr 2013)
Log Message:
-----------
Remove unused param in getCounter
Modified Paths:
--------------
trunk/lib/plugin/CreateToc.php
Modified: trunk/lib/plugin/CreateToc.php
===================================================================
--- trunk/lib/plugin/CreateToc.php 2013-04-16 15:42:21 UTC (rev 8759)
+++ trunk/lib/plugin/CreateToc.php 2013-04-16 15:53:47 UTC (rev 8760)
@@ -114,7 +114,7 @@
}
// Get string corresponding to the current title
- private function getCounter(&$counter, $level, $firstlevelstyle)
+ private function getCounter(&$counter, $firstlevelstyle)
{
if ($firstlevelstyle == 'roman') {
$str = $this->roman_counter($counter[1]);
@@ -311,7 +311,7 @@
$manchor = MangleXmlIdentifier($anchor);
$texts = $s;
if ($counter) {
- $texts = $this->getCounter($tocCounter, $level, $firstlevelstyle) . ' ' . $s;
+ $texts = $this->getCounter($tocCounter, $firstlevelstyle) . ' ' . $s;
}
$headers[] = array('text' => $texts,
'anchor' => $anchor,
@@ -330,7 +330,7 @@
$x = $markup->_content[$j];
$qheading = $this->quote($s);
if ($counter)
- $counterString = $this->getCounter($tocCounter, $level, $firstlevelstyle);
+ $counterString = $this->getCounter($tocCounter, $firstlevelstyle);
if (($hstart === 0) && is_string($markup->_content[$j])) {
if ($backlink) {
if ($counter)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|