mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
723 B
29 lines
723 B
<?php
|
|
|
|
class Blog extends WidgetCommon {
|
|
function WidgetLoad()
|
|
{
|
|
|
|
}
|
|
|
|
function build()
|
|
{
|
|
$from = $_GET['f'];
|
|
|
|
$pd = new \modl\PostnDAO();
|
|
$messages = $pd->getPublic($from);
|
|
|
|
echo '
|
|
<div class="posthead" style="border-top: 0px;">
|
|
<a
|
|
class="button tiny icon feed merged left"
|
|
href="'.Route::urlize('feed',$from).'"
|
|
target="_blank"
|
|
>
|
|
'.t('Feed').' (Atom)
|
|
</a>
|
|
</div>';
|
|
|
|
echo $this->preparePosts($messages, true);
|
|
}
|
|
}
|