module/UIComponents/src/UIComponents/View/Helper/Components/Toolbar.php 1 location
|
@@ 167-171 (lines=5) @@
|
| 164 |
|
$html .= $myIndent . '<' . $this->getTagname() . $ulClass . '>' . PHP_EOL; |
| 165 |
|
} elseif ($prevDepth > $depth) { |
| 166 |
|
// close li/ul tags until we're at current depth |
| 167 |
|
for ($i = $prevDepth; $i > $depth; $i--) { |
| 168 |
|
$ind = $indent . str_repeat(' ', $i); |
| 169 |
|
//$html .= $ind . ' </li>' . PHP_EOL; |
| 170 |
|
$html .= $ind . '</' . $this->getTagname() . '>' . PHP_EOL; |
| 171 |
|
} |
| 172 |
|
// close previous li tag |
| 173 |
|
//$html .= $myIndent . ' </li>' . PHP_EOL; |
| 174 |
|
} else { |
module/UIComponents/src/UIComponents/View/Helper/Navigation/Menu.php 1 location
|
@@ 280-284 (lines=5) @@
|
| 277 |
|
$html .= $myIndent . '<ul' . $ulClass . ' '.($depth == 0 ? $this->htmlAttribs($attributes) : '').'>' . PHP_EOL; |
| 278 |
|
} elseif ($prevDepth > $depth) { |
| 279 |
|
// close li/ul tags until we're at current depth |
| 280 |
|
for ($i = $prevDepth; $i > $depth; $i--) { |
| 281 |
|
$ind = $indent . str_repeat(' ', $i); |
| 282 |
|
$html .= $ind . ' </li>' . PHP_EOL; |
| 283 |
|
$html .= $ind . '</ul>' . PHP_EOL; |
| 284 |
|
} |
| 285 |
|
// close previous li tag |
| 286 |
|
$html .= $myIndent . ' </li>' . PHP_EOL; |
| 287 |
|
} else { |