diff options
Diffstat (limited to 'template/topic.st')
| -rw-r--r-- | template/topic.st | 51 |
1 files changed, 30 insertions, 21 deletions
diff --git a/template/topic.st b/template/topic.st index 71451b2..1594364 100644 --- a/template/topic.st +++ b/template/topic.st @@ -3,37 +3,46 @@ <title>#$topic$ - dump.fm</title> $head()$ <script> - var Recips = $recips$; jQuery(function() { - initLog(Recips) + initLog($recips$); }); </script> </head> - <body> + <body> $banner()$ - <div id="content"> - <div id="messagePanep"> - <div id="userListp"> - <h2><a href="/t/$topic$">#$topic$</a></h2> - <br><h3></h3> - </div> - <div id="messageList"> + <div id="content"> + <div id="messagePanep"> + <div id="userListp"> + <h2><a href="/t/$topic$">#$topic$</a></h2> + <br><h3></h3> + </div> + <div id="messageList"> $if(dumps)$ <span class="content"> - $dumps: { d | $log_dump(dump=d)$ }$ + $dumps: { d | $topic_dump(dump=d)$ }$ </span> $else$ <span>Topic #$topic$ doesn't exist yet!</span> $endif$ - </div> - </div> - <div id="footerc"> - $footer()$ - </div> - </div> -</div> -</div> -</div> - + </div> + <div id="msgInputDiv"> + <div id="msginputrapper"> + $if(prev)$ + <a href="/$nick$/whofaved/$prev$"><input id="prevbutton" value="<- Prev" readonly="true"></a> + $else$ + <input id="prevbutton" readonly="true"> + $endif$ + + $if(next)$ + <a href="/$nick$/whofaved/$next$"> <input id="nextbutton" value="Next ->" readonly="true"></a> + $else$ + <input id="nextbutton" value="nomodumps" readonly="true"> + $endif$ + </div> + <div id="footerc"> + $footer()$ + </div> + </div> + </div> </body> </html> |
