sterzycom/panel/app/widgets/pages/pages.html.php

5 lines
No EOL
189 B
PHP

<ul class="nav nav-list sidebar-list">
<?php foreach($pages as $c): ?>
<?php echo new Kirby\Panel\Snippet('pages/sidebar/subpage', array('subpage' => $c)) ?>
<?php endforeach ?>
</ul>