1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +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

@@ -72,7 +72,10 @@ if(!class_exists('chatbox_shortcodes'))
list($cb_uid, $cb_nick) = explode(".", $this->var['cb_nick'], 2);
if($this->var['user_name'])
{
$cb_nick = "<a href='".e_HTTP."user.php?id.{$cb_uid}'>".$this->var['user_name']."</a>";
//$cb_nick = "<a href='".e_HTTP."user.php?id.{$cb_uid}'>".$this->var['user_name']."</a>";
$uparams = array('id' => $cb_uid, 'name' => $this->var['user_name']);
$link = e107::getUrl()->create('user/profile/view', $uparams);
$cb_nick = "<a href='".$link."'>".$this->var['user_name']."</a>";
}
else
{