Browse Source

! add preview class to the author link so tooltips of the previews look the same

Signed-off-by: Spuds <[email protected]>
Spuds 13 years ago
parent
commit
235c4cfcf7
3 changed files with 3 additions and 3 deletions
  1. 1 1
      Sources/MessageIndex.php
  2. 1 1
      Themes/default/Display.template.php
  3. 1 1
      Themes/default/css/index.css

+ 1 - 1
Sources/MessageIndex.php

@@ -482,7 +482,7 @@ function MessageIndex()
 						'name' => $row['first_display_name'],
 						'id' => $row['first_id_member'],
 						'href' => !empty($row['first_id_member']) ? $scripturl . '?action=profile;u=' . $row['first_id_member'] : '',
-						'link' => !empty($row['first_id_member']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['first_id_member'] . '" title="' . $txt['profile_of'] . ' ' . $row['first_display_name'] . '">' . $row['first_display_name'] . '</a>' : $row['first_display_name']
+						'link' => !empty($row['first_id_member']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['first_id_member'] . '" title="' . $txt['profile_of'] . ' ' . $row['first_display_name'] . '" class="preview">' . $row['first_display_name'] . '</a>' : $row['first_display_name']
 					),
 					'time' => timeformat($row['first_poster_time']),
 					'timestamp' => forum_time(true, $row['first_poster_time']),

+ 1 - 1
Themes/default/Display.template.php

@@ -271,7 +271,7 @@ function template_main()
 				echo '
 								<li class="postgroup">', $message['member']['post_group'], '</li>';
 			echo '
-								<li class="icons">', $message['member']['group_icons'], '</li>';
+								<li class="stars">', $message['member']['group_stars'], '</li>';
 
 			// Show avatars, images, etc.?
 			if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))

+ 1 - 1
Themes/default/css/index.css

@@ -1785,7 +1785,7 @@ p#whoisviewing {
 .poster ul ul li {
 	display: inline;
 }
-.poster li.icons, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul {
+.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul {
 	margin-top: 0.5em;
 }
 .poster li.avatar {