From 71f846affc51a062261aab575e53c37d2972bdfd Mon Sep 17 00:00:00 2001
From: deva 
Date: Mon, 13 Oct 2008 12:39:17 +0000
Subject: Removed all hardcoded executionroom.com references.
---
 forum/utils/calendar.php |  2 +-
 forum/utils/edit.php     | 10 +++++-----
 forum/utils/editor.php   |  4 ++--
 forum/utils/notify.php   | 14 --------------
 4 files changed, 8 insertions(+), 22 deletions(-)
(limited to 'forum/utils')
diff --git a/forum/utils/calendar.php b/forum/utils/calendar.php
index 1592195..84ebe18 100644
--- a/forum/utils/calendar.php
+++ b/forum/utils/calendar.php
@@ -17,7 +17,7 @@ if($action=="addentry") {
   $events->write();
 	notify("calendar", "New calendar entry:\n" . $title . "\n" . date("r", $time) . "\n" .
                            $description . "\n" .
-			   "http://www.executionroom.com/forum/?mode=calendar&date=" . $time);
+			   $FORUM_URL . "/?mode=calendar&date=" . $time);
 }
 
 if($action=="edit") {
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 "Return to thread. 
\n";
 
-?>
\ No newline at end of file
+?>
diff --git a/forum/utils/editor.php b/forum/utils/editor.php
index 681b98d..36fb39d 100644
--- a/forum/utils/editor.php
+++ b/forum/utils/editor.php
@@ -130,13 +130,13 @@ foreach($smileys as $smiley) {
     To make a link, simply type the URL, and the system will
 		automagically transform it into an anchor (remember the
 		http://  part) . 
-		Example: http://www.executionroom.com 
+		Example: http://www.example.com 
  	 
 	
     To insert an image, simply type the URL to that image, it will
 		automagically be transformed into an image, with a link to the
 		original image (again, remember the	http://  part).  
-    Example: http://www.executionroom.com/gfx/logos/die_logo_bloody.png
+    Example: http://www.example.com/image.jpg
   
   
     Post 
diff --git a/forum/utils/notify.php b/forum/utils/notify.php
index f52d167..9c34e65 100644
--- a/forum/utils/notify.php
+++ b/forum/utils/notify.php
@@ -3,20 +3,6 @@
 include_once($UTIL_DIR . "/error.php");
 include_once($UTIL_DIR . "/log.php");
 
-/**
- * CONFIG
- */
-$subject_prefix = "DIE CMS notifier";
-$sender = "DIE ";
-$replyto = $sender;
-$footer = "
-
-Stay Brutal!
-// DIE
-http://www.executionroom.com
-info@executionroom.com
-";
-
 function send($email, $subject, $message)
 {
 	global $subject_prefix;
-- 
cgit v1.2.3