summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-13 20:02:58 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-13 20:02:58 +1000
commit7d736c102b956bf9dfaf3cb7bae0e8a130393801 (patch)
tree5067b1ea31b31e12498be5297bd386937b25cc67 /inc/display.php
parentd57bbaf49619a8533b70e8c0019fd91f63da14ba (diff)
poster IDs
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>' .