Browse Source

! remove pages text from our breadcrumb page line

Signed-off-by: Spuds <[email protected]>
Spuds 12 years ago
parent
commit
7aec440b29

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

@@ -56,7 +56,7 @@ function template_error_log()
 			</div>
 			<div class="pagesection">
 				<div class="floatleft">
-					', $txt['pages'], ': ', $context['page_index'], '
+					', $context['page_index'], '
 				</div>
 			</div>
 			<table border="0" cellspacing="1" class="table_grid" id="error_log">
@@ -158,7 +158,7 @@ function template_error_log()
 				</tr>
 			</table>
 			<div class="pagesection floatleft">
-				&nbsp;&nbsp;', $txt['pages'], ': ', $context['page_index'], '
+				&nbsp;&nbsp;', $context['page_index'], '
 			</div>';
 
 	echo '

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

@@ -120,7 +120,7 @@ function template_find_members()
 		echo '
 				</ul>
 				<div class="pagesection">
-					', $txt['pages'], ': ', $context['page_index'], '
+					', $context['page_index'], '
 				</div>';
 	}
 

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

@@ -511,7 +511,7 @@ function template_group_members()
 				<h4 class="titlebg">', $txt['membergroups_members_group_members'], '</h4>
 			</div>
 			<br />
-			<div class="pagesection">', $txt['pages'], ': ', $context['page_index'], '</div>
+			<div class="pagesection">', $context['page_index'], '</div>
 			<table width="100%" class="table_grid">
 				<thead>
 					<tr class="catbg">
@@ -594,7 +594,7 @@ function template_group_members()
 
 	echo '
 			<div class="pagesection flow_hidden">
-				<div class="floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>
+				<div class="floatleft">', $context['page_index'], '</div>
 			</div>
 			<br />';
 

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

@@ -19,7 +19,7 @@ function template_main()
 	<div class="main_section" id="memberlist">
 		<div class="pagesection">
 			', template_button_strip($context['memberlist_buttons'], 'right'), '
-			<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>
+			<div class="pagelinks floatleft">', $context['page_index'], '</div>
 		</div>
 		<div class="cat_bar">
 			<h4 class="catbg">
@@ -142,7 +142,7 @@ function template_main()
 	// Show the page numbers again. (makes 'em easier to find!)
 	echo '
 		<div class="pagesection">
-			<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>';
+			<div class="pagelinks floatleft">', $context['page_index'], '</div>';
 
 	// If it is displaying the result of a search show a "search again" link to edit their criteria.
 	if (isset($context['old_search']))

+ 3 - 3
Themes/default/ModerationCenter.template.php

@@ -218,7 +218,7 @@ function template_notes()
 			echo '
 					</ul>
 					<div class="pagesection notes">
-						<span class="smalltext">', $txt['pages'], ': ', $context['page_index'], '</span>
+						<span class="smalltext">', $context['page_index'], '</span>
 					</div>';
 		}
 
@@ -334,7 +334,7 @@ function template_unapproved_posts()
 	else
 		echo '
 			<div class="pagesection floatleft">
-				', $txt['pages'], ': ', $context['page_index'], '
+				', $context['page_index'], '
 			</div>';
 
 	foreach ($context['unapproved_items'] as $item)
@@ -388,7 +388,7 @@ function template_unapproved_posts()
 	if (!empty($context['unapproved_items']))
 		echo '
 			<div class="floatleft">
-				<div class="pagelinks">', $txt['pages'], ': ', $context['page_index'], '</div>
+				<div class="pagelinks">', $context['page_index'], '</div>
 			</div>';
 
 	echo '

+ 6 - 6
Themes/default/PersonalMessage.template.php

@@ -490,7 +490,7 @@ function template_folder()
 			echo '
 
 	<div class="pagesection">
-		<div class="floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>
+		<div class="floatleft">', $context['page_index'], '</div>
 		<div class="floatright"><input type="submit" name="del_selected" value="', $txt['quickmod_delete_selected'], '" style="font-weight: normal;" onclick="if (!confirm(\'', $txt['delete_selected_confirm'], '\')) return false;" class="button_submit" /></div>
 	</div>';
 
@@ -592,7 +592,7 @@ function template_subject_list()
 	</tbody>
 	</table>
 	<div class="pagesection">
-		<div class="floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>
+		<div class="floatleft">', $context['page_index'], '</div>
 		<div class="floatright">&nbsp;';
 
 	if ($context['show_delete'])
@@ -801,7 +801,7 @@ function template_search_results()
 			<h3 class="catbg">', $txt['pm_search_results'], '</h3>
 		</div>
 		<div class="pagesection">
-			<strong>', $txt['pages'], ':</strong> ', $context['page_index'], '
+			', $context['page_index'], '
 		</div>';
 
 	// complete results ?
@@ -902,7 +902,7 @@ function template_search_results()
 
 	echo '
 		<div class="pagesection">
-			<strong>', $txt['pages'], ':</strong> ', $context['page_index'], '
+			', $context['page_index'], '
 		</div>';
 
 }
@@ -1891,7 +1891,7 @@ function template_showPMDrafts()
 			</h3>
 		</div>
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 
 	// Button shortcuts
@@ -1940,7 +1940,7 @@ function template_showPMDrafts()
 	// Show page numbers.
 	echo '
 		<div class="pagesection" style="margin-bottom: 0;">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 }
 ?>

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

@@ -22,7 +22,7 @@ function template_main()
 			</h3>
 		</div>
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 
 	foreach ($context['posts'] as $post)
@@ -73,7 +73,7 @@ function template_main()
 
 	echo '
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>
 	</div>';
 }
@@ -101,7 +101,7 @@ function template_unread()
 			template_button_strip($context['recent_buttons'], 'right');
 
 		echo '
-				<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#bot"><strong>' . $txt['go_down'] . '</strong></a>' : '', '</div>
+				<div class="pagelinks floatleft">', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#bot"><strong>' . $txt['go_down'] . '</strong></a>' : '', '</div>
 			</div>';
 
 		// [WIP] There is trial code here to hide the topic icon column. Colspan can be cleaned up later.
@@ -216,7 +216,7 @@ function template_unread()
 			template_button_strip($context['recent_buttons'], 'right');
 
 		echo '
-				<div class="pagelinks floatleft">', $txt['pages'], ': ', $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="#top"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
 			</div>';
 	}
 	else
@@ -272,7 +272,7 @@ function template_replies()
 			template_button_strip($context['recent_buttons'], 'right');
 
 		echo '
-				<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#bot"><strong>' . $txt['go_down'] . '</strong></a>' : '', '</div>
+				<div class="pagelinks floatleft">', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#bot"><strong>' . $txt['go_down'] . '</strong></a>' : '', '</div>
 			</div>';
 
 		// [WIP] There is trial code here to hide the topic icon column. Colspan can be cleaned up later.
@@ -383,7 +383,7 @@ function template_replies()
 			template_button_strip($context['recent_buttons'], 'right');
 
 		echo '
-				<div class="pagelinks floatleft">', $txt['pages'], ': ', $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="#top"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
  			</div>';
 	}
 	else

+ 4 - 4
Themes/default/Search.template.php

@@ -308,7 +308,7 @@ function template_results()
 		if (!empty($context['topics']))
 		echo'
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 		else
 			echo '
@@ -389,7 +389,7 @@ function template_results()
 		if (!empty($context['topics']))
 		echo '
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 
 		if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))
@@ -435,7 +435,7 @@ function template_results()
 			</h3>
 		</div>
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 
 		if (empty($context['topics']))
@@ -491,7 +491,7 @@ function template_results()
 
 		echo '
 		<div class="pagesection">
-			<span>', $txt['pages'], ': ', $context['page_index'], '</span>
+			<span>', $context['page_index'], '</span>
 		</div>';
 	}
 

+ 4 - 4
Themes/default/SplitTopics.template.php

@@ -92,7 +92,7 @@ function template_select()
 					', $txt['please_select_split'], '
 				</div>
 				<div class="pagesection">
-					<strong>', $txt['pages'], ':</strong> <span id="pageindex_not_selected">', $context['not_selected']['page_index'], '</span>
+					<span id="pageindex_not_selected">', $context['not_selected']['page_index'], '</span>
 				</div>
 				<ul id="messages_not_selected" class="split_messages smalltext reset">';
 
@@ -123,7 +123,7 @@ function template_select()
 					', $txt['split_selected_posts_desc'], '
 				</div>
 				<div class="pagesection">
-					<strong>', $txt['pages'], ':</strong> <span id="pageindex_selected">', $context['selected']['page_index'], '</span>
+					<span id="pageindex_selected">', $context['selected']['page_index'], '</span>
 				</div>
 				<ul id="messages_selected" class="split_messages smalltext reset">';
 
@@ -321,7 +321,7 @@ function template_merge()
 				<h3 class="catbg">', $txt['target_topic'], '</h3>
 			</div>
 			<div class="pagesection">
-				<strong>', $txt['pages'], ':</strong> ', $context['page_index'], '
+				', $context['page_index'], '
 			</div>
 			<div class="windowbg2">
 				<div class="content">
@@ -341,7 +341,7 @@ function template_merge()
 				</div>
 			</div>
 			<div class="pagesection">
-				<strong>', $txt['pages'], ':</strong> ', $context['page_index'], '
+				', $context['page_index'], '
 			</div>
 		</div>';
 }

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

@@ -24,7 +24,7 @@ function template_main()
 			</div>
 			<div class="topic_table" id="mlist">
 				<div class="pagesection">
-					<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>';
+					<div class="pagelinks floatleft">', $context['page_index'], '</div>';
 		echo '
 					<div class="selectbox floatright">', $txt['who_show1'], '
 						<select name="show_top" onchange="document.forms.whoFilter.show.value = this.value; document.forms.whoFilter.submit();">';
@@ -104,7 +104,7 @@ function template_main()
 				</table>
 			</div>
 			<div class="pagesection">
-				<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], '</div>';
+				<div class="pagelinks floatleft">', $context['page_index'], '</div>';
 
 	echo '
 				<div class="selectbox floatright">', $txt['who_show1'], '