diff --git a/tag/lib.php b/tag/lib.php
index 630fabc23a8..4e8113ea721 100644
--- a/tag/lib.php
+++ b/tag/lib.php
@@ -1280,9 +1280,11 @@ function print_user_list($userlist, $return=false) {
$output = '';
+ $output .= '
';
foreach ($userlist as $user){
- $output .= print_user_box( $user , true);
+ $output .= '- '. print_user_box( $user , true) ."
\n";
}
+ $output .= "
\n";
if ($return) {
return $output;
@@ -1315,15 +1317,18 @@ function print_user_box($user, $return=false) {
$output .= print_box_start('user-box', 'user'.$user->id, true);
+ $fullname = fullname($user);
+ $alt = '';
if (!empty($profilelink)) {
$output .= '';
+ $alt = $fullname;
}
- //print user image
+ //print user image - if image is only content of link it needs ALT text!
if ($user->picture) {
- $output .= '
';
+ $output .= '
';
} else {
- $output .= '
';
+ $output .= '
';
}
$output .= '
';
@@ -1332,7 +1337,6 @@ function print_user_box($user, $return=false) {
$output .= '';
}
- $fullname = fullname($user);
//truncate name if it's too big
if ($textlib->strlen($fullname) > 26) $fullname = $textlib->substr($fullname,0,26) . '...';
diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css
index 3d007eeb6f0..db6e28e43db 100644
--- a/theme/standard/styles_layout.css
+++ b/theme/standard/styles_layout.css
@@ -1307,8 +1307,8 @@ a.skip:focus, a.skip:active {
clear: left;
}
-.sideblock .content .inline-list li {
- display:inline;
+.sideblock .content .inline-list li, .inline-list li {
+ display: inline;
}
.sideblock .content ul.list li.listentry {