Browse Source

! Clean up a slightly odd sense of stats.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 years ago
parent
commit
e2bd9b7dd3
2 changed files with 0 additions and 12 deletions
  1. 0 10
      Themes/default/BoardIndex.template.php
  2. 0 2
      Themes/default/languages/index.english.php

+ 0 - 10
Themes/default/BoardIndex.template.php

@@ -12,16 +12,6 @@
 
 function template_boardindex_outer_above()
 {
-	global $context, $settings, $options, $txt, $scripturl, $modSettings;
-
-	// Show some statistics if stat info is off.
-	if (!$settings['show_stats_index'])
-		echo '
-	<div id="index_common_stats">
-		', $txt['members'], ': ', $context['common_stats']['total_members'], ' &nbsp;&#8226;&nbsp; ', $txt['posts_made'], ': ', $context['common_stats']['total_posts'], ' &nbsp;&#8226;&nbsp; ', $txt['topics_made'], ': ', $context['common_stats']['total_topics'], '<br />
-		', $settings['show_latest_member'] ? ' ' . sprintf($txt['welcome_newest_member'], ' <strong>' . $context['common_stats']['latest_member']['link'] . '</strong>') : '' , '
-	</div>';
-
 	template_newsfader();
 }
 

+ 0 - 2
Themes/default/languages/index.english.php

@@ -82,8 +82,6 @@ $txt['position'] = 'Position';
 
 $txt['profile_of'] = 'View the profile of';
 $txt['total'] = 'Total';
-$txt['posts_made'] = 'Posts';
-$txt['topics_made'] = 'Topics';
 $txt['website'] = 'Website';
 $txt['register'] = 'Register';
 $txt['warning_status'] = 'Warning Status';