Jelajahi Sumber

Merge pull request #671 from Arantor/release-2.1

! Remove 'recode line endings' UI item. It is a feature that some might ...
Arantor 11 tahun lalu
induk
melakukan
3e920188a3

+ 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';