Browse Source

! Remove 'recode line endings' UI item. It is a feature that some might depend on but that shouldn't have a UI item; a plugin can add it back if the option really is required but it can remain a hidden setting without any real trouble. This also fixes #600 - it's actually much better IMNSHO to pretend it doesn't exist for users than to confuse them with trying to explain it and if someone *does* need it, we can direct them to turning it on again.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
5b4a8357b9
2 changed files with 0 additions and 4 deletions
  1. 0 3
      Sources/ManageAttachments.php
  2. 0 1
      Themes/default/languages/Admin.english.php

+ 0 - 3
Sources/ManageAttachments.php

@@ -135,9 +135,6 @@ function ManageAttachmentSettings($return_config = false)
 		array('title', 'attachment_manager_settings'),
 			// Are attachments enabled?
 			array('select', 'attachmentEnable', array($txt['attachmentEnable_deactivate'], $txt['attachmentEnable_enable_all'], $txt['attachmentEnable_disable_new'])),
-		'',
-			// Extension checks etc.
-			array('check', 'attachmentRecodeLineEndings'),
 		'',
 			// Directory and size limits.
 			array('select', 'automanage_attachments', array(0 => $txt['attachments_normal'], 1 => $txt['attachments_auto_space'], 2 => $txt['attachments_auto_years'], 3 => $txt['attachments_auto_months'], 4 => $txt['attachments_auto_16'])),

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

@@ -353,7 +353,6 @@ $txt['attachmentEnable_enable_all'] = 'Enable all attachments';
 $txt['attachmentEnable_disable_new'] = 'Disable new attachments';
 $txt['attachmentCheckExtensions'] = 'Check attachment\'s extension';
 $txt['attachmentExtensions'] = 'Allowed attachment extensions';
-$txt['attachmentRecodeLineEndings'] = 'Recode line endings in textual attachments';
 $txt['attachmentShowImages'] = 'Display image attachments as pictures under post';
 $txt['attachmentUploadDir'] = 'Attachments directory';
 $txt['attachmentUploadDir_multiple_configure'] = 'Manage attachment directories';