Initial commit
This commit is contained in:
commit
43ad32700c
7085 changed files with 447606 additions and 0 deletions
22
modules/mybbnews/templates/default/news.tpl
Normal file
22
modules/mybbnews/templates/default/news.tpl
Normal file
|
@ -0,0 +1,22 @@
|
|||
<h2>News</h2>
|
||||
{foreach from=$news item=n}
|
||||
<article class="entry">
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title">
|
||||
{$n.title}
|
||||
</h2>
|
||||
<div class="entry-meta">
|
||||
<ul>
|
||||
<li>{$n.date}</li>
|
||||
<span class="meta-sep">•</span>
|
||||
<li><a href="/np/{$n.username}">{$n.username}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<p>{$n.text}</p>
|
||||
</div>
|
||||
<p><small><a href="/forum/thread-{$n.pid}.html">{$n.comments} Kommentar(e)</a></small></p>
|
||||
</article> <!-- end entry -->
|
||||
{foreachelse}
|
||||
{/foreach}
|
Loading…
Add table
Add a link
Reference in a new issue