updated link to wiki and bugzilla
authorArun Persaud <arun@nubati.net>
Tue, 20 Apr 2010 02:04:52 +0000 (19:04 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 20 Apr 2010 02:04:52 +0000 (19:04 -0700)
links were hardcoded, changed to link from config file

digest.php
include/functions.php

index cb3409f5b13adf6dae4512e62696d9da5d16aa08..533526230c1b6d1d1c73445b00a513c2b1852ebb 100644 (file)
@@ -39,6 +39,8 @@ if(isset($_SERVER['REMOTE_ADDR']))
 /* get userid for users that have digest set != digest-off */
 $users = DB_get_digest_users();
 
+global $WIKI;
+
 global $defaulttimezone;
 foreach($users as $uid)
   {
@@ -107,8 +109,7 @@ foreach($users as $uid)
              "-- \n".
              "You can change your mail delivery mode in the preference menu.\n".
              'web: http://doko.nubati.net   '.
-             'help: http://wiki.nubati.net/EmailDoko   '.
-             'bugs: http://wiki.nubati.net/EmailDokoIssues';
+             "help, bugs, etc.: $WIKI";
 
            $subject = "$EmailName Digest";
 
index 04d1bde7ec785ad779ed391322ad23d9c5b1449d..98feae40b45505f02eb5fe2cffb0541e2f277213 100644 (file)
@@ -75,7 +75,7 @@ function config_check()
 
 function mymail($uid,$subject,$message)
 {
-  global $EmailName;
+  global $EmailName,$WIKI;
 
   /* do we send the email right away or save it in the database? */
   $send_now = 1;
@@ -89,8 +89,7 @@ function mymail($uid,$subject,$message)
     "-- \n".
     "You can change your mail delivery mode in the preference menu.\n".
     'web: http://doko.nubati.net   '.
-    'help: http://wiki.nubati.net/EmailDoko   '.
-    'bugs: http://wiki.nubati.net/EmailDokoIssues';
+    "help, bugs, etc.: $WIKI";
 
   if(is_array($uid))
     {