From: Dan F. <dfr...@cs...> - 2004-07-13 16:22:32
|
Some of our novice users are confused that when they get a page change notification and click on the link, it doesn't show the page. They don't understand (or possibly care about) the diffs. Thus, upon request, I added a link to the page itself, along with some explanation for each link. I hope you'll take this change. Dan diff -b -u -r1.8 -r1.9 --- WikiDB.php 30 Jun 2004 14:34:04 -0000 1.8 +++ WikiDB.php 13 Jul 2004 16:20:04 -0000 1.9 @@ -921,11 +945,13 @@ $content = $this->_pagename . " " . $version . " " . Iso8601DateTime($meta['mtime']) . "\n"; $content .= _("New Page"); } + $difflink = _("To see the changes: ") . $difflink; $editedby = sprintf(_("Edited by: %s"),$meta['author']); $emails = join(',',$emails); if (mail($emails,"[".WIKI_NAME."] ".$subject, $subject."\n". $editedby."\n". + _("To see the page: ") . WikiUrl($this->_pagename, array(), true)."\n". $difflink."\n\n". $content)) { trigger_error(sprintf(_("PageChange Notification of %s sent to %s"), |