This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/wiki/_recently_revised.php

9 lines
406 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<div style="margin-bottom: 1em;">
<h6>Recent Changes (<?= $this->linkTo("all", ['action' => "index", 'order' => "date"]) ?>)</h6>
<ul>
<?php foreach (WikiPage::order("updated_at desc")->limit(25)->take() as $page) : ?>
<li><?= $this->linkTo($this->h($page->pretty_title()), ['controller' => "wiki", 'action' => "show", 'title' => $page->title]) ?></li>
<?php endforeach ?>
</ul>
</div>