mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Issue #1309. e_BASE."user.php" replaced with SEF URL.
This commit is contained in:
@@ -199,7 +199,10 @@ foreach ($forumArray as $forumInfo)
|
||||
$tmp = explode(".", $x[0], 2);
|
||||
if($user_name)
|
||||
{
|
||||
$POSTER = "<a href='".e_BASE."user.php?id.{$tmp[0]}'>$user_name</a>";
|
||||
//$POSTER = "<a href='".e_BASE."user.php?id.{$tmp[0]}'>$user_name</a>";
|
||||
$uparams = array('id' => $tmp[0], 'name' => $user_name]);
|
||||
$link = e107::getUrl()->create('user/profile/view', $uparams);
|
||||
$POSTER = "<a href='".$link."'>".$user_name."</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -273,7 +273,10 @@ Think these are no longer used
|
||||
|
||||
$ONLINE_TABLE_ICON = (vartrue($pref['plug_installed']['pm']) && $oid != USERID ? $tp->parseTemplate("{SENDPM={$oid}}", 'sendpm.sc') : "<img src='".e_PLUGIN."online_extended_menu/images/user.png' alt='' style='vertical-align:middle' />");
|
||||
|
||||
$ONLINE_TABLE_USERNAME = "<a href='".e_BASE."user.php?id.$oid'>{$oname}</a>";
|
||||
//$ONLINE_TABLE_USERNAME = "<a href='".e_BASE."user.php?id.$oid'>{$oname}</a>";
|
||||
$uparams = array('id' => $oid, 'name' => $oname);
|
||||
$link = e107::getUrl()->create('user/profile/view', $uparams);
|
||||
$ONLINE_TABLE_USERNAME = "<a href='".$link."'>".$oname."</a>";
|
||||
$ONLINE_TABLE_LOCATION = ($class_check ? "<a href='{$online_location}'>{$online_location_page}</a>" : $online_location_page);
|
||||
|
||||
$textstring .= preg_replace("/\{(.*?)\}/e", '$\1', $ONLINE_TABLE);
|
||||
|
Reference in New Issue
Block a user