mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 19:27:52 +02:00
Merge pull request #162 from bernte/patch-12
Update available_pages.view.php
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<ul>
|
||||
<?php foreach ($pages as $page) { ?>
|
||||
<?php
|
||||
foreach ($pages as $page) {
|
||||
if ($page['status'] == 'published') {
|
||||
?>
|
||||
<li><a href="<?php echo $page['parent'].'/'.$page['slug']; ?>"><?php echo $page['title']; ?></a></li>
|
||||
<?php } ?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user