appdb/include comment.php
WineHQ
wineowner at wine.codeweavers.com
Sat Mar 24 13:36:44 CDT 2007
ChangeSet ID: 30995
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/03/24 13:36:44
Modified files:
include : comment.php
Log message:
Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Link usernames in comments to the contact form instead of exposing email addresses
Patch: http://cvs.winehq.org/patch.py?id=30995
Old revision New revision Changes Path
1.32 1.33 +2 -1 appdb/include/comment.php
Index: appdb/include/comment.php
diff -u -p appdb/include/comment.php:1.32 appdb/include/comment.php:1.33
--- appdb/include/comment.php:1.32 24 Mar 2007 18:36:44 -0000
+++ appdb/include/comment.php 24 Mar 2007 18:36:44 -0000
@@ -454,7 +454,8 @@ function forum_lookup_user($iUserId)
{
$oUser = new User($iUserId);
if($_SESSION['current']->isLoggedIn())
- $sMailto = '<a href="mailto:' . $oUser->sEmail . '">' . $oUser->sRealname . '</a>';
+ $sMailto = '<a href="'.BASE.'contact.php?iRecipientId='.
+ $oUser->iUserId.'">' .$oUser->sRealname . '</a>';
else
$sMailto = $oUser->sRealname;
}
More information about the wine-cvs
mailing list