projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
reveal full hierarchy in sidebar
[mdref/mdref]
/
views
/
sidebar.phtml
diff --git
a/views/sidebar.phtml
b/views/sidebar.phtml
index 2c16424c3f311ec5c55b1659fb3fb2dbad53bd80..0e49dca38da2855a060c53967eac7a87859cfb55 100644
(file)
--- a/
views/sidebar.phtml
+++ b/
views/sidebar.phtml
@@
-33,8
+33,7
@@
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
<?php endforeach; ?>
- ↻ <strong><a href="<?= $up.$esc($entry->getName()) ?>"
- ><?= $esc($entry) ?></a></strong>
+ ↻ <strong><a href="<?= $up.$esc($entry->getName()) ?>"><?= $esc($entry) ?></a></strong>
<?php if ($entry->hasIterator()): ?>
<?php if ($entry->hasIterator()): ?>
@@
-42,8
+41,11
@@
<?php foreach ($entry as $sub) : /* @var \mdref\Entry $sub */ ?>
<li>
<?php foreach ($entry as $sub) : /* @var \mdref\Entry $sub */ ?>
<li>
- ↳ <a href="<?= $up.$esc($sub->getName()) ?>"
- ><?= $esc($sub) ?></a>
+ ↳ <a href="<?= $up.$esc($sub->getName()) ?>"><?= $esc($sub) ?></a>
+ <?php $indents= [] ; $indent = "
+ ";
+ include __DIR__ . "/sidebar-rec.phtml"; ?>
+
</li>
<?php endforeach; ?>
</li>
<?php endforeach; ?>