From 7a82afdc989503bfc9541db8797ce108a7166c77 Mon Sep 17 00:00:00 2001 From: andi Date: Wed, 26 Jan 2005 21:15:26 +0100 Subject: uservariable replacement in usermails darcs-hash:20050126201526-9977f-9112c4ff4742a42578e3f95fb683464747def25e.gz --- inc/common.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc') diff --git a/inc/common.php b/inc/common.php index 7700a71c9..5946e299a 100644 --- a/inc/common.php +++ b/inc/common.php @@ -755,6 +755,7 @@ function notify($id,$rev="",$summary=""){ $text = str_replace('@NEWPAGE@',wl($id,'','',true),$text); $text = str_replace('@DOKUWIKIURL@',getBaseURL(true),$text); $text = str_replace('@SUMMARY@',$summary,$text); + $text = str_replace('@USER@',$_SERVER['REMOTE_USER'],$text); if($rev){ $subject = $lang['mail_changed'].' '.$id; -- cgit v1.2.3