Browse Source

Signed-off-by: Hristo- <[email protected]>

Hristo- 11 years ago
parent
commit
484927d55f

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

@@ -701,7 +701,7 @@ function template_main()
 	echo '
 			<div class="pagesection">
 				', template_button_strip($context['normal_buttons'], 'right'), '
-				', !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '<a href="#top" class="topbottom floatleft">' . $txt['go_up'] . '</a>' : '', '
+				', !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '<a href="#main_content_section" class="topbottom floatleft">' . $txt['go_up'] . '</a>' : '', '
 				<div class="pagelinks floatleft">
 					', $context['page_index'], '
 				</div>

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

@@ -347,7 +347,7 @@ function template_main()
 		echo '
 	<div class="pagesection">
 		', template_button_strip($context['normal_buttons'], 'right'), '
-		', !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '<a href="#top" class="topbottom floatleft">' . $txt['go_up'] . '</a>' : '', '
+		', !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '<a href="#main_content_section" class="topbottom floatleft">' . $txt['go_up'] . '</a>' : '', '
 		<div class="pagelinks">', $context['page_index'], '</div>
 	</div>';
 	}

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

@@ -213,7 +213,7 @@ function template_unread()
 			template_button_strip($context['recent_buttons'], 'right');
 
 		echo '
-				<div class="pagelinks floatleft">', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#top"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
+				<div class="pagelinks floatleft">', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#main_content_section"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
 			</div>';
 	}
 	else
@@ -377,7 +377,7 @@ function template_replies()
 			template_button_strip($context['recent_buttons'], 'right');
 
 		echo '
-				<div class="pagelinks floatleft">', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#top"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
+				<div class="pagelinks floatleft">', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#main_content_section"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
  			</div>';
 	}
 	else

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

@@ -369,7 +369,7 @@ function template_body_below()
 
 	// There is now a global "Go to top" link at the right.
 		echo '
-			<a href="#top" id="bot" class="go_up">', $txt['go_up'], '</a>
+			<a href="#top_section" id="bot" class="go_up">', $txt['go_up'], '</a>
 			<ul class="reset">
 				<li class="copyright">', theme_copyright(), '</li>
 			</ul>';