1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Open new-author link in new window.

This commit is contained in:
Cameron
2022-06-02 13:47:33 -07:00
parent 7c31d17f25
commit 0ffd69a946

View File

@@ -1421,7 +1421,7 @@ class news_form_ui extends e_admin_form_ui
$sql->select("user", "user_name", "user_id={$auth} LIMIT 1");
$row = $sql->fetch();
$text .= "<input type='hidden' name='news_author' value='".$auth.chr(35).$row['user_name']."' />";
$text .= "<a href='".e107::getUrl()->create('user/profile/view', 'name='.$row['user_name'].'&id='.$curVal)."'>".$row['user_name']."</a>";
$text .= "<a target='_blank' href='".e107::getUrl()->create('user/profile/view', 'name='.$row['user_name'].'&id='.$auth)."'>".$row['user_name']."</a>";
}
else // allow master admin to
{