summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2011-01-04 16:17:46 -0500
committerScott Ostler <scottbot9000@gmail.com>2011-01-04 16:17:46 -0500
commit457125462cd658b6660289a292c367a0d560a792 (patch)
treedb94c009400bbdbfcb2998be2e635052f0820c4f /template
parent92b092823c21af1339e0d42716dc856357f93e85 (diff)
Second revision of topics
Diffstat (limited to 'template')
-rw-r--r--template/topic.st51
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>