Browse Source

! And another thing moved to the sprite

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 years ago
parent
commit
6e44ccc4c2

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

@@ -396,7 +396,7 @@ function template_topic_legend()
 		echo '
 			<p class="floatleft">', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? '
 				<img src="' . $settings['images_url'] . '/icons/profile_sm.png" alt="" class="centericon" /> ' . $txt['participation_caption'] . '<br />' : '', '
-				'. ($modSettings['pollMode'] == '1' ? '<img src="' . $settings['images_url'] . '/topic/normal_poll.png" alt="" class="centericon" /> ' . $txt['poll'] : '') . '<br />
+				'. ($modSettings['pollMode'] == '1' ? '<span class="generic_icons poll centericon"></span> ' . $txt['poll'] : '') . '<br />
 				<img src="' . $settings['images_url'] . '/post/moved.png" alt="" class="centericon sizefix" /> ' . $txt['moved_topic'] . '<br />
 			</p>
 			<p>

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

@@ -3066,7 +3066,9 @@ tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td {
 .generic_icons.old {
 	background-position: -96px -32px;
 }
-/* space reserved for 7 over, 4 down in the image */
+.generic_icons.poll {
+	background-position: -96px -48px;
+}
 .generic_icons.sticky {
 	background-position: -112px 0;
 }

BIN
Themes/default/images/generic_icons.png