@@ 281-288 (lines=8) @@ | ||
278 | return false; |
|
279 | } |
|
280 | ||
281 | public function BanLink() |
|
282 | { |
|
283 | $thread = $this->Thread(); |
|
284 | if ($thread->canModerate()) { |
|
285 | $link = $thread->Forum()->Link('ban') .'/'. $this->AuthorID; |
|
286 | return "<a class='banLink' href=\"$link\" rel=\"$this->AuthorID\">". _t('Post.BANUSER', 'Ban User') ."</a>"; |
|
287 | } |
|
288 | return false; |
|
289 | } |
|
290 | ||
291 | public function GhostLink() |
|
@@ 291-298 (lines=8) @@ | ||
288 | return false; |
|
289 | } |
|
290 | ||
291 | public function GhostLink() |
|
292 | { |
|
293 | $thread = $this->Thread(); |
|
294 | if ($thread->canModerate()) { |
|
295 | $link = $thread->Forum()->Link('ghost') .'/'. $this->AuthorID; |
|
296 | return "<a class='ghostLink' href=\"$link\" rel=\"$this->AuthorID\">". _t('Post.GHOSTUSER', 'Ghost User') ."</a>"; |
|
297 | } |
|
298 | return false; |
|
299 | } |
|
300 | ||
301 | /** |