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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user