[svn r19333] Minor - lang variables changed/ link to the public profile in who is on line

skala
Julio Montoya 16 years ago
parent e3bee94121
commit 565c9f649f
  1. 2
      main/social/qualify_contact.inc.php
  2. 14
      whoisonline.php

@ -42,7 +42,7 @@ $user_friend_relation=UserFriend::get_relation_between_contacts(api_get_user_id(
<input type="hidden" name="user_cod_qualify" id="user_cod_qualify" value="<?php echo $user_friend; ?>"/>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="actions"><?php echo mb_convert_encoding(get_lang('SocialAttachUserInformation'),'UTF-8',$charset);?></td>
<td class="actions"><?php echo mb_convert_encoding(get_lang('ChangeContactGroup'),'UTF-8',$charset);?></td>
</tr>
<tr>
<td>

@ -1,4 +1,4 @@
<?php // $Id: whoisonline.php 19143 2009-03-19 12:30:45Z iflorespaz $
<?php // $Id: whoisonline.php 19333 2009-03-25 22:20:36Z juliomontoya $
/*
==============================================================================
Dokeos - elearning and course management software
@ -181,7 +181,7 @@ function display_user_list($user_list, $_plugins)
*/
$table_data[] = $table_row;
}
$table_header[] = array(get_lang('UserPicture'),true,'width="50"');
$table_header[] = array(get_lang('UserPicture'),false,'width="80"');
$table_header[] = array(get_lang('FirstName'),true);
$table_header[] = array(get_lang('LastName'),true);
@ -190,7 +190,7 @@ function display_user_list($user_list, $_plugins)
}
$user_anonymous=api_get_anonymous_id();
if (api_get_setting('allow_social_tool')=='true' && api_get_user_id()<>$user_anonymous && api_get_user_id()<>0) {
$table_header[] = array(get_lang('Friends'),true,'width="100"');
$table_header[] = array(get_lang('Friends'),false,'width="100"');
}
/*this feature is deprecated
if ( api_get_setting('allow_message_tool')=='true' && isset($_SESSION['_user'])) {
@ -252,7 +252,13 @@ function display_individual_user($user_id)
$big_image_width= $big_image_size[0];
$big_image_height= $big_image_size[1];
$url_big_image = $big_image.'?rnd='.time();
echo '<input type="image" src="'.$fullurl.'" alt="'.$alt.'" onclick="return show_image(\''.$url_big_image.'\',\''.$big_image_width.'\',\''.$big_image_height.'\');"/><br />';
echo '<input type="image" src="'.$fullurl.'" alt="'.$alt.'" onclick="return show_image(\''.$url_big_image.'\',\''.$big_image_width.'\',\''.$big_image_height.'\');"/><br />';
global $user_anonymous;
if (api_get_setting('allow_social_tool')=='true' && api_get_user_id()<>$user_anonymous && api_get_user_id()<>0) {
echo '<br />';
echo '<a href="'.api_get_path(WEB_CODE_PATH).'social/profile.php?u='.$safe_user_id.'">'.get_lang('ViewSharedProfile').'</a>';
echo '<br />';
}
} else {
echo Display::return_icon('unknown.jpg',get_lang('Unknown'));
echo '<br />';

Loading…
Cancel
Save