diff --git a/blocks/online_users/block_online_users.php b/blocks/online_users/block_online_users.php index e0aabba7fa2..9cc727f08d5 100644 --- a/blocks/online_users/block_online_users.php +++ b/blocks/online_users/block_online_users.php @@ -154,11 +154,10 @@ class block_online_users extends block_base { $this->content->text .= ''.$user->fullname.''; } if ($canshowicon and ($USER->id != $user->id) and $user->username != 'guest') { // Only when logged in and messaging active etc - // $link = '/message/discussion.php?id='.$user->id; $anchortagcontents = ''. get_string('messageselectadd') .''; - $action = new popup_action('click', $link, 'message_'.$user->id); + $action = new popup_action('click', $link, 'message_'.$user->id, array('width'=>400,'height'=>500)); $anchortag = $OUTPUT->action_link($link, $anchortagcontents, $action, array('title'=>get_string('messageselectadd'))); $this->content->text .= '
'.$anchortag.'
';