summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2009-01-25 06:05:04 +0000
committerChristian Fowler <spider@viovio.com>2009-01-25 06:05:04 +0000
commitffb67cb666775921492e65c181cffeb5a1b3157e (patch)
tree7509e971c842ae44c72fbefda8f73fcbc2637bf2
parentffefb64131767bfbc554d484ed886e1e9b0649e9 (diff)
downloadliberty-ffb67cb666775921492e65c181cffeb5a1b3157e.tar.gz
liberty-ffb67cb666775921492e65c181cffeb5a1b3157e.tar.bz2
liberty-ffb67cb666775921492e65c181cffeb5a1b3157e.zip
tweak switchboard message
-rw-r--r--comments_inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/comments_inc.php b/comments_inc.php
index bd90690..5075215 100644
--- a/comments_inc.php
+++ b/comments_inc.php
@@ -3,12 +3,12 @@
* comment_inc
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.55 $
+ * @version $Revision: 1.56 $
* @package liberty
* @subpackage functions
*/
-// $Header: /cvsroot/bitweaver/_bit_liberty/comments_inc.php,v 1.55 2009/01/25 05:35:22 spiderr Exp $
+// $Header: /cvsroot/bitweaver/_bit_liberty/comments_inc.php,v 1.56 2009/01/25 06:05:04 spiderr Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
@@ -145,7 +145,7 @@ if( !empty( $_REQUEST['post_comment_submit'] ) && $gContent->hasUserPermission(
global $gSwitchboardSystem;
// Draft the message:
$message['subject'] = tra( 'New comment on:' ).' '.$gContent->getTitle().' @ '.$gBitSystem->getConfig( 'site_title' );
- $message['message'] = tra('A new message was posted to ').' '.$gContent->getDisplayLink().'<br/><br/>'
+ $message['message'] = tra('A new message was posted to ').' '.$gContent->getTitle()."<br/>\n".$gContent->getDisplayUri()."<br/>\n"
.'/----- '.tra('Here is the message')." -----/<br/>\n<br/>\n".'<h2>'.$storeComment->getTitle()."</h2>\n".'<p>'.$storeComment->parseData().'</p>';
$gSwitchboardSystem->sendEvent('My Content', 'new comment', $gContent->mContentId, $message );
}