From 6994b6a2f5f84ead4beb87a9f2fd7cb846a2b52d Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Mon, 7 Feb 2011 00:37:26 +1100 Subject: [PATCH] Fix internal links for moderator interface --- inc/display.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/inc/display.php b/inc/display.php index 0678cef7..8423da0f 100644 --- a/inc/display.php +++ b/inc/display.php @@ -72,6 +72,15 @@ $this->ip = $ip; $this->root = $root; $this->mod = $mod; + + if($this->mod) + // Fix internal links + // Very complicated regex + $this->body = preg_replace( + '/