1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Issue #1309. e_BASE."user.php" replaced with SEF URL.

This commit is contained in:
Jimmi08
2016-01-27 11:56:59 +01:00
parent a16ae500bb
commit 5750b91b91
13 changed files with 79 additions and 22 deletions

View File

@@ -654,10 +654,14 @@ class newsletter
$nl_sql -> db_Select("user", "*", "user_id=".$val);
if($nl_row = $nl_sql-> db_Fetch())
{
//<a href='".e_BASE."user.php?id.{$val}'>".$nl_row['user_name']."</a>
$uparams = array('id' => $val, 'name' => $nl_row['user_name']);
$link = e107::getUrl()->create('user/profile/view', $uparams);
$userlink = "<a href='".$link."'>".$nl_row['user_name']"</a>";
$vs_text .= "
<tr>
<td>".$val."</td>
<td><a href='".e_BASE."user.php?id.{$val}'>".$nl_row['user_name']."</a></td>
<td>".$userlink."</td>
<td>".$nl_row['user_email']."</td>
<td><a href='".e_SELF."?remove.{$p_id}.{$val}'>".ADMIN_DELETE_ICON."</a>".(($nl_row['user_ban'] > 0) ? NLLAN_62 : "")."</td>
</tr>";