Pārlūkot izejas kodu

! I missed a bit with the board index news fader - but it wouldn't uncollapse properly anyway, and there's also now some CSS that isn't needed.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 gadi atpakaļ
vecāks
revīzija
032a876527

+ 2 - 2
Themes/default/BoardIndex.template.php

@@ -36,12 +36,12 @@ function template_newsfader()
 			<div id="newsfader">
 				<div class="cat_bar">
 					<h3 class="catbg">
-						<img id="newsupshrink" src="', $settings['images_url'], '/collapse.png" alt="*" title="', $txt['hide'], '" align="bottom" style="display: none;" />
+						<span id="newsupshrink" class="toggle_up floatright" alt="*" title="', $txt['hide'], '" align="bottom" style="display: none;"></span>
 						', $txt['news'], '
 					</h3>
 				</div>
 				<div class="roundframe rfix" id="smfFadeScrollerCont">
-					<ul class="reset" id="smfFadeScroller"', empty($options['collapse_news_fader']) ? '' : ' style="display: none;"', '>
+					<ul class="reset" id="smfFadeScroller">
 						<li>
 							', implode('</li><li>', $context['news_lines']), '
 						</li>

+ 0 - 5
Themes/default/css/index.css

@@ -932,11 +932,6 @@ div.title_barIC h4.titlebg {
 	margin: 0;
 	padding: 6px;
 }
-img#upshrink_ic, img#newsupshrink, img.panel_toggle {
-	float: right;
-	margin: 0;
-	padding: 4px 4px 0 4px;
-}
 #quickReplyExpand {
 	float: right;
 	margin: 2px 2px 0 2px;

+ 0 - 3
Themes/default/css/rtl.css

@@ -284,9 +284,6 @@ form#ic_login ul li {
 #index_common_stats {
 	text-align: left;
 }
-img#upshrink_ic, img#newsupshrink {
-	float: left;
-}
 
 /* Styles for the message (topic) index.
 ---------------------------------------------------- */