summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/forum/forum-submitted.tpl.php5
-rw-r--r--modules/forum/forum-topic-list.tpl.php10
-rw-r--r--modules/forum/forum.module1
3 files changed, 11 insertions, 5 deletions
diff --git a/modules/forum/forum-submitted.tpl.php b/modules/forum/forum-submitted.tpl.php
index 8695e3464..c025a9862 100644
--- a/modules/forum/forum-submitted.tpl.php
+++ b/modules/forum/forum-submitted.tpl.php
@@ -18,11 +18,12 @@
*/
?>
<?php if ($time): ?>
- <?php print t(
- '@time ago<br />by !author', array(
+ <span class="submitted">
+ <?php print t('By !author @time ago', array(
'@time' => $time,
'!author' => $author,
)); ?>
+ </span>
<?php else: ?>
<?php print t('n/a'); ?>
<?php endif; ?>
diff --git a/modules/forum/forum-topic-list.tpl.php b/modules/forum/forum-topic-list.tpl.php
index 08d9ec56b..9757b6049 100644
--- a/modules/forum/forum-topic-list.tpl.php
+++ b/modules/forum/forum-topic-list.tpl.php
@@ -41,7 +41,14 @@
<?php foreach ($topics as $topic): ?>
<tr class="<?php print $topic->zebra;?>">
<td class="icon"><?php print $topic->icon; ?></td>
- <td class="title"><?php print $topic->title; ?></td>
+ <td class="title">
+ <div>
+ <?php print $topic->title; ?>
+ </div>
+ <div>
+ <?php print $topic->created; ?>
+ </div>
+ </td>
<?php if ($topic->moved): ?>
<td colspan="3"><?php print $topic->message; ?></td>
<?php else: ?>
@@ -52,7 +59,6 @@
<a href="<?php print $topic->new_url; ?>"><?php print $topic->new_text; ?></a>
<?php endif; ?>
</td>
- <td class="created"><?php print $topic->created; ?></td>
<td class="last-reply"><?php print $topic->last_reply; ?></td>
<?php endif; ?>
</tr>
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 93abb925b..9737e881e 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -691,7 +691,6 @@ function forum_get_topics($tid, $sortby, $forum_per_page) {
NULL,
array('data' => t('Topic'), 'field' => 'n.title'),
array('data' => t('Replies'), 'field' => 'ncs.comment_count'),
- array('data' => t('Created'), 'field' => 'n.created'),
array('data' => t('Last reply'), 'field' => 'ncs.last_comment_timestamp'),
);