<a href="[% c.uri_for('setSticky',thread.ftid, (thread.sticky ? 0 : 1)) %]">Make this thread [% thread.sticky ? 'unsticky' : 'sticky' %]</a>
[% END %]
+[% IF c.user.id %]
+<a href="[% c.uri_for('markThreadAsUnread',thread.ftid) %]">Mark thread as unread</a>
+[% END %]
+
[% createNewPostHr = 1 %]
[% FOR post IN posts %]
[% IF createNewPostHr AND post.unread%]
[% END %]
<fieldset class="forum-post">
<legend class="forum-post-header"><b>[% post.username %]</b> : [% post.time %] </legend>
- [% post.message %]
+<div class="forum-post-body">[% post.message %]</div>
</fieldset>
[% END %]
+[% IF c.user.id %]
+<a href="[% c.uri_for('markThreadAsUnread',thread.ftid) %]">Mark thread as unread</a>
+[% END %]
+
[% IF thread.post %]
<form action="[% c.uri_for('addPost',thread.ftid) %]#NewPosts" method="post"><fieldset class="forum-post"> <legend><a name="Reply">New Reply</a></legend>
- <textarea rows="25" cols="60" name="message" id="replybox">[% previewMessage %]</textarea>
+ <textarea class="bbcode" rows="25" cols="60" name="message" id="replybox">[% previewMessage %]</textarea>
<br>
<input type="submit" name="cmd" value="Submit">
<input type="submit" name="cmd" value="Preview">
});
});
</script>
+[% INCLUDE inc/markitup.tt2 %]
[% END %]