module/UIComponents/src/UIComponents/View/Helper/Components/Toolbar.php 1 location
|
@@ 205-213 (lines=9) @@
|
| 202 |
|
$prevDepth = $depth; |
| 203 |
|
} |
| 204 |
|
|
| 205 |
|
if ($html) { |
| 206 |
|
// done iterating container; close open ul/li tags |
| 207 |
|
for ($i = $prevDepth+1; $i > 0; $i--) { |
| 208 |
|
$myIndent = $indent . str_repeat(' ', $i-1); |
| 209 |
|
$html .= /*$myIndent . ' </li>' . PHP_EOL |
| 210 |
|
. */ $myIndent . '</' . $this->getTagname() . '>' . PHP_EOL; |
| 211 |
|
} |
| 212 |
|
$html = rtrim($html, PHP_EOL); |
| 213 |
|
} |
| 214 |
|
|
| 215 |
|
return $html; |
| 216 |
|
} |
module/UIComponents/src/UIComponents/View/Helper/Navigation/Menu.php 1 location
|
@@ 318-326 (lines=9) @@
|
| 315 |
|
$prevDepth = $depth; |
| 316 |
|
} |
| 317 |
|
|
| 318 |
|
if ($html) { |
| 319 |
|
// done iterating container; close open ul/li tags |
| 320 |
|
for ($i = $prevDepth+1; $i > 0; $i--) { |
| 321 |
|
$myIndent = $indent . str_repeat(' ', $i-1); |
| 322 |
|
$html .= $myIndent . ' </li>' . PHP_EOL |
| 323 |
|
. $myIndent . '</ul>' . PHP_EOL; |
| 324 |
|
} |
| 325 |
|
$html = rtrim($html, PHP_EOL); |
| 326 |
|
} |
| 327 |
|
|
| 328 |
|
return $html; |
| 329 |
|
} |