summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/directory.st24
-rw-r--r--template/log.st14
2 files changed, 13 insertions, 25 deletions
diff --git a/template/directory.st b/template/directory.st
index 0611697..e3b3df0 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -9,33 +9,25 @@
<script>
jQuery(document).ready(initDirectory);
</script>
-
-
</head>
<body class="profile">
$banner()$
<div id="chatrap">
<div id="log">
<br>
- <div id="dprofile">
- <h2> Directory </h2><br><h3>Ordered by fav count<br>
-
-
-
- </h3>
-
-
- </div>
+ <div id="dprofile">
+ <h2> Directory </h2><br>
+ <h3>Ordered by fav count</h3><br>
+ </div>
<div id="dposts">
<br>
$if(users)$
- $users:{ dump |
- <div class="dlogged-dump" id="message-$dump.message_id$" style="position: relative">
+ $users:{ dump |
+ <div class="dlogged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" style="position: relative">
<div id="usernicks"> <a href="/$dump.nick$"> <b>$dump.nick$'s</b>
$if(dump.score_ent)$
-
- fav score: $dump.score$
+ fav score: $dump.score$
<h9>$dump.score_ent$</h9>
</a></div>
$endif$
@@ -53,7 +45,7 @@
<div id="infotxt"><b>last post</b></div>
<span class="linkify">$dump.content$</span>
<hr />
- $share_buttons()$
+ $share_buttons(dump=dump)$
</div>
}$
$else$
diff --git a/template/log.st b/template/log.st
index 5a36611..92a0f75 100644
--- a/template/log.st
+++ b/template/log.st
@@ -9,15 +9,11 @@
<body>
$banner()$
<div id="content">
-
-
- <div id="messagePanep">
-
- <div id="userListp">
- <h2> $roomkey$ log </h2><br><h3></h3>
- </div>
-
-<div id="messageList">
+ <div id="messagePanep">
+ <div id="userListp">
+ <h2> $roomkey$ log </h2><br><h3></h3>
+ </div>
+ <div id="messageList">
$if(dumps)$
<span class="content">