Browse Source

! Showing board descriptions really shouldn't be the stuff of user preferences.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
Peter Spicer 11 years ago
parent
commit
1c5146bc95

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

@@ -125,13 +125,13 @@ function template_main()
 		', template_button_strip($context['normal_buttons'], 'right'), '
 	</div>';
 
-	if ((!empty($options['show_board_desc']) && $context['description'] != '') || !empty($context['moderators']))
+	if ($context['description'] != '' || !empty($context['moderators']))
 		{
 		echo '
 	<div id="description_board" class="generic_list_wrapper">
 		<h3 class="floatleft">', $context['name'], '&nbsp;-&nbsp;</h3>
 		<p>';
-	if (!empty($options['show_board_desc']) && $context['description'] != '')
+	if ($context['description'] != '')
 	echo '
 		', $context['description'], '&nbsp;';
 

+ 0 - 7
Themes/default/Profile.template.php

@@ -1581,13 +1581,6 @@ function template_profile_theme_settings()
 	global $context, $settings, $options, $scripturl, $modSettings, $txt;
 
 	echo '
-							<dt>
-								<label for="show_board_desc">', $txt['board_desc_inside'], '</label>
-							</dt>
-							<dd>
-								<input type="hidden" name="default_options[show_board_desc]" value="0" />
-								<input type="checkbox" name="default_options[show_board_desc]" id="show_board_desc" value="1"', !empty($context['member']['options']['show_board_desc']) ? ' checked="checked"' : '', ' class="input_check" />
-							</dd>
 							<dt>
 								<label for="show_children">', $txt['show_children'], '</label>
 							</dt>

+ 0 - 5
Themes/default/Settings.template.php

@@ -15,11 +15,6 @@ function template_options()
 	global $context, $settings, $options, $scripturl, $txt;
 
 	$context['theme_options'] = array(
-		array(
-			'id' => 'show_board_desc',
-			'label' => $txt['board_desc_inside'],
-			'default' => true,
-		),
 		array(
 			'id' => 'show_children',
 			'label' => $txt['show_children'],

+ 0 - 1
Themes/default/languages/Profile.english.php

@@ -318,7 +318,6 @@ $txt['timeformat_easy5'] = 'DD-MM-YYYY, HH:MM:SS';
 
 $txt['poster'] = 'Poster';
 
-$txt['board_desc_inside'] = 'Show board descriptions inside boards.';
 $txt['show_children'] = 'Show sub-boards on every page inside boards, not just the first.';
 $txt['show_no_avatars'] = 'Don\'t show users\' avatars.';
 $txt['show_no_signatures'] = 'Don\'t show users\' signatures.';