mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 08:06:38 +02:00
Issue #1309. e_BASE."user.php" replaced with SEF URL.
This commit is contained in:
@@ -35,7 +35,12 @@ class online_shortcodes
|
||||
// Last Seen Menu
|
||||
function sc_lastseen_userlink()
|
||||
{
|
||||
return "<a href='".e_BASE."user.php?id.".$this->currentUser['user_id']."'>".$this->currentUser['user_name']."</a>";
|
||||
$uparams = array('id' => $this->currentUser['user_id'], 'name' => $this->currentUser['user_name']);
|
||||
$link = e107::getUrl()->create('user/profile/view', $uparams);
|
||||
return "<a href='".$link."'>".$this->currentUser['user_name']."</a>";
|
||||
|
||||
// $uparams = array('id' => $this->currentUser['user_id'], 'name' => $this->currentUser['user_name']);
|
||||
// return "<a href='".e_BASE."user.php?id.".$this->currentUser['user_id']."'>".$this->currentUser['user_name']."</a>";
|
||||
}
|
||||
|
||||
function sc_lastseen_date()
|
||||
|
Reference in New Issue
Block a user