diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index aec31defa7..88986d88c5 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -232,8 +232,8 @@ class Display foreach ($header as $index => $header_item) { $table->set_header( $index, - $header_item[0], - $header_item[1], + isset($header_item[0]) ? $header_item[0] : null, + isset($header_item[1]) ? $header_item[1] : null, isset($header_item[2]) ? $header_item[2] : null, isset($header_item[3]) ? $header_item[3] : null ); diff --git a/main/social/profile.php b/main/social/profile.php index 264ff9df14..730c9201d5 100755 --- a/main/social/profile.php +++ b/main/social/profile.php @@ -411,7 +411,11 @@ if ($show_full_profile) { break; default: if (!empty($data)) { - $extra_information_value .= '
  • '.ucfirst($extraFieldInfo['display_text']).': '.$data.'
  • '; + $extra_field_title = ucfirst($extraFieldInfo['display_text']); + if ($extra_field_title == 'Skype') { + $data = '' . get_lang('Chat') . ''; + } + $extra_information_value .= '
  • '.Display::return_icon('skype.png', $extraFieldInfo['display_text'], null, ICON_SIZE_TINY, false) . ' ' . $data.'
  • '; } break; } diff --git a/main/template/default/skill/list.tpl b/main/template/default/skill/list.tpl index 065c3c9666..8a20667935 100644 --- a/main/template/default/skill/list.tpl +++ b/main/template/default/skill/list.tpl @@ -14,10 +14,10 @@ - {{ "Name" | get_lang }} - {{ "ShortName" | get_lang }} - {{ "Description" | get_lang }} - {{ "Options" | get_lang }} + {{ "Name" | get_lang }} + {{ "ShortCode" | get_lang }} + {{ "Description" | get_lang }} + {{ "Options" | get_lang }}