Commit 12781d3f authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

theme files

parent e795749c
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
<h3>{$heading|escape}</h3>
{$deleteform}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
<h3>{$heading|escape}</h3>
{$deleteform}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
{$editform}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
{$editform}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
{if $admin}
<a href="{$WWWROOT}interaction/edit.php?group={$group|escape}&plugin=forum">{str tag="newforum" section=interaction.forum}</a>
{/if}
{if $forums}
<ul>
{foreach from=$forums item=forum}
<li>
<a href="{$WWWROOT}interaction/forum/view.php?id={$forum->id|escape}">{$forum->title|escape}</a>
<p>{$forum->description}</p>
<div class="fr">{$forum->count|escape}</div>
{if $admin}
<a href="{$WWWROOT}interaction/edit.php?id={$forum->id|escape}">{str tag=edit section=interaction.forum}</a>
<a href="{$WWWROOT}interaction/delete.php?id={$forum->id|escape}">{str tag=delete section=interaction.forum}</a>
{/if}
{$forum->subscribe}
</li>
{/foreach}
</ul>
{else}
<p>{str tag=noforums section=interaction.forum}</p>
{/if}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
<h4>{$post->subject|escape}</h4>
<h5>{$post->poster|display_name|escape}</h5>
<h5>{str tag="posts" section=interaction.forum} {$post->count|escape}</h5>
<div><img src="{$WWWROOT}thumb.php?type=profileicon&maxsize=100&id={$post->poster}" alt=""></div>
<p>{$post->body}</p>
<a href="{$WWWROOT}interaction/forum/editpost.php?parent={$post->id|escape}">{str tag="reply" section=interaction.forum}</a>
{if $moderator || $post->editor}<a href="{$WWWROOT}interaction/forum/editpost.php?id={$post->id|escape}"> {str tag="edit" section=interaction.forum}</a>{/if}
{if $moderator && $post->parent}<a href="{$WWWROOT}interaction/forum/deletepost.php?id={$post->id|escape}"> {str tag="delete" section=interaction.forum}</a>{/if}
{if $post->edit}
<p>{str tag="edited" section="interaction.forum}</p>
<ul>
{foreach from=$post->edit item=edit}
<li>
{$edit.editor|display_name|escape}
{$edit.edittime|escape}
</li>
{/foreach}
</ul>
{/if}
{if $children}
<ul>
{foreach from=$children item=child}
<li>
{$child}
</li>
{/foreach}
</ul>
{/if}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
<h3>{$subject}</h3>
<ul>
<li>
{$posts}
</li>
</ul>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
<h3>{$forum->title|escape}</h3>
<p>{$forum->description}</p>
<a href="{$WWWROOT}interaction/forum/edittopic.php?forum={$forum->id|escape}">{str tag="newtopic" section="interaction.forum}</a>
<br>
{if $admin}
<a href="{$WWWROOT}interaction/edit.php?id={$forum->id|escape}">{str tag="edittitle" section="interaction.forum}</a>
<br>
<a href="{$WWWROOT}interaction/delete.php?id={$forum->id|escape}">{str tag="deleteforum" section="interaction.forum}</a>
<br>
{/if}
{$forum->subscribe}
<h4>{str tag="stickytopics" section=interaction.forum}</h4>
<table>
<tr>
<th></th>
<th>{str tag="subject" section=interaction.forum}</th>
<th>{str tag="poster" section=interaction.forum}</th>
<th>{str tag="count" section=interaction.forum}</th>
{if $moderator}
<th>{str tag="sticky" section=interaction.forum}</th>
<th>{str tag="closed" section=interaction.forum}</th>
{/if}
</tr>
{if $stickytopics}
{foreach from=$stickytopics item=topic}
<tr>
<td>X</td>
<td><a href="{$WWWROOT}interaction/forum/topic.php?id={$topic->id|escape}">{$topic->subject|escape}</a></td>
<td>{$topic->poster|display_name|escape}</td>
<td>{$topic->count|escape}</td>
{if $moderator}
<td>X</td>
<td>
{if $topic->closed}X{/if}
</td>
{/if}
{if $moderator}
<td><a href="{$WWWROOT}interaction/forum/edittopic.php?id={$topic->id|escape}">{str tag="edit" section="interaction.forum}</a></td>
<td><a href="{$WWWROOT}interaction/forum/deletetopic.php?id={$topic->id|escape}">{str tag="delete" section="interaction.forum}</a></td>
{/if}
{if !$forum->subscribed}
<td>{$topic->subscribe}</td>
{/if}
</tr>
{/foreach}
{/if}
</table>
<h4>{str tag="regulartopics" section=interaction.forum}</h4>
<table>
<tr>
<th></th>
<th>{str tag="subject" section=interaction.forum}</th>
<th>{str tag="poster" section=interaction.forum}</th>
<th>{str tag="count" section=interaction.forum}</th>
{if $moderator}
<th>{str tag="sticky" section=interaction.forum}</th>
<th>{str tag="closed" section=interaction.forum}</th>
{/if}
</tr>
{if $regulartopics}
{foreach from=$regulartopics item=topic}
<tr>
<td>X</td>
<td><a href="{$WWWROOT}interaction/forum/topic.php?id={$topic->id|escape}">{$topic->subject|escape}</a></td>
<td>{$topic->poster|display_name|escape}</td>
<td>{$topic->count|escape}</td>
{if $moderator}
<td></td>
<td>
{if $topic->closed}X{/if}
</td>
{/if}
{if $moderator}
<td><a href="{$WWWROOT}interaction/forum/edittopic.php?id={$topic->id|escape}">{str tag="edit" section="interaction.forum}</a></td>
<td><a href="{$WWWROOT}interaction/forum/deletetopic.php?id={$topic->id|escape}">{str tag="delete" section="interaction.forum}</a></td>
{/if}
{if !$forum->subscribed}
<td>{$topic->subscribe}</td>
{/if}
</tr>
{/foreach}
{/if}
</table>
{$pagination}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment