Browse Source

! And from the admin panel areas, too.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
45d8ac14bb
2 changed files with 2 additions and 8 deletions
  1. 0 1
      Sources/ManagePosts.php
  2. 2 7
      Themes/default/ManageMaintenance.template.php

+ 0 - 1
Sources/ManagePosts.php

@@ -347,7 +347,6 @@ function ModifyTopicSettings($return_config = false)
 	// Here are all the topic settings.
 	$config_vars = array(
 			// Some simple bools...
-			array('check', 'enableStickyTopics'),
 			array('check', 'enableParticipation'),
 		'',
 			// Pagination etc...

+ 2 - 7
Themes/default/ManageMaintenance.template.php

@@ -413,15 +413,10 @@ function template_maintain_topics()
 						<label for="delete_type_nothing"><input type="radio" name="delete_type" id="delete_type_nothing" value="nothing" class="input_radio" /> ', $txt['maintain_old_nothing_else'], '</label><br />
 						<label for="delete_type_moved"><input type="radio" name="delete_type" id="delete_type_moved" value="moved" class="input_radio" checked="checked" /> ', $txt['maintain_old_are_moved'], '</label><br />
 						<label for="delete_type_locked"><input type="radio" name="delete_type" id="delete_type_locked" value="locked" class="input_radio" /> ', $txt['maintain_old_are_locked'], '</label><br />
-					</p>';
-
-	if (!empty($modSettings['enableStickyTopics']))
-		echo '
+					</p>
 					<p>
 						<label for="delete_old_not_sticky"><input type="checkbox" name="delete_old_not_sticky" id="delete_old_not_sticky" class="input_check" checked="checked" /> ', $txt['maintain_old_are_not_stickied'], '</label><br />
-					</p>';
-
-		echo '
+					</p>
 					<p>
 						<a href="#rotLink" onclick="swapRot();"><img src="', $settings['images_url'], '/selected.png" alt="+" id="rotIcon" /></a> <a href="#rotLink" onclick="swapRot();" id="rotText" style="font-weight: bold;">', $txt['maintain_old_all'], '</a>
 					</p>