summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php18
1 files changed, 14 insertions, 4 deletions
diff --git a/inc/display.php b/inc/display.php
index 33a64ed4..b6722348 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -240,9 +240,14 @@
$built .= ' ' . date($config['post_date'], $this->time);
// End delete
- $built .= '</label>';
+ $built .= '</label>'
- $built .= ' <a class="post_no"' .
+ // Poster ID
+ . ($config['poster_ids'] ?
+ ' ID: ' . poster_id($this->ip, $this->thread)
+ : '')
+
+ . ' <a class="post_no"' .
// JavaScript highlight
($index?'':' onclick="highlightReply(' . $this->id . ');"') .
' href="' . $this->root . $board['dir'] . $config['dir']['res'] . $this->thread . '.html' . '#' . $this->id . '">No.</a>' .
@@ -416,9 +421,14 @@
$built .= ' ' . date($config['post_date'], $this->time);
// End delete
- $built .= '</label>';
+ $built .= '</label>'
+
+ // Poster ID
+ . ($config['poster_ids'] ?
+ ' ID: ' . poster_id($this->ip, $this->id)
+ : '')
- $built .= ' <a class="post_no"' .
+ . ' <a class="post_no"' .
// JavaScript highlight
($index?'':' onclick="highlightReply(' . $this->id . ');"') .
' href="' . $this->root . $board['dir'] . $config['dir']['res'] . $this->id . '.html' . '#' . $this->id . '">No.</a>' .