summaryrefslogtreecommitdiff
path: root/forum/utils/edit.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-13 12:39:17 +0000
committerdeva <deva>2008-10-13 12:39:17 +0000
commit71f846affc51a062261aab575e53c37d2972bdfd (patch)
tree958ed1799d43f57e9c1eb68eda3beff30a04ad7b /forum/utils/edit.php
parent42032d4bd8dd0c9772afd6ef7c1b09104cb22e8b (diff)
Removed all hardcoded executionroom.com references.
Diffstat (limited to 'forum/utils/edit.php')
-rw-r--r--forum/utils/edit.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/forum/utils/edit.php b/forum/utils/edit.php
index 0af361c..b5db282 100644
--- a/forum/utils/edit.php
+++ b/forum/utils/edit.php
@@ -19,7 +19,7 @@ switch($task) {
$posts->thread->tid = $tid;
$posts->thread->lastpost = time();
$posts->write();
- notify("forum", "New thread: http://www.executionroom.com/forum/?fid=". $fid . "&tid=" . $tid);
+ notify("forum", "New thread: " . $FORUM_URL . "/?fid=". $fid . "&tid=" . $tid);
} else {
error("No forum id supplied!");
}
@@ -35,7 +35,7 @@ case "reply":
$reply->add($post);
$posts->thread->lastpost = time();
$posts->write();
- notify("forum", "New reply: http://www.executionroom.com/forum/?fid=". $fid . "&tid=" . $tid);
+ notify("forum", "New reply: " . $FORUM_URL . "/?fid=". $fid . "&tid=" . $tid);
} else {
error("Message " . $pid . " not found!");
}
@@ -55,7 +55,7 @@ case "reply":
$edit->message = $message . "\nEdited at: " . date("r", time());
$posts->thread->lastpost = time();
$posts->write();
- notify("forum", "Message has been edited: http://www.executionroom.com/forum/?fid=". $fid . "&tid=" . $tid);
+ notify("forum", "Message has been edited: " . $FORUM_URL . "/?fid=". $fid . "&tid=" . $tid);
} else {
error("Message " . $pid . " not found!");
}
@@ -74,7 +74,7 @@ case "reply":
$quote->add($post);
$posts->thread->lastpost = time();
$posts->write();
- notify("forum", "New reply (quote): http://www.executionroom.com/forum/?fid=". $fid . "&tid=" . $tid);
+ notify("forum", "New reply (quote): " . $FORUM_URL . "/?fid=". $fid . "&tid=" . $tid);
} else {
error("Message " . $pid . " not found!");
}
@@ -86,4 +86,4 @@ case "reply":
}
echo "<p><a href=\"?fid=" . $fid . "&amp;tid=" . $tid . "\">Return to thread.</a></p>\n";
-?> \ No newline at end of file
+?>