Browse Source

! Technically it's "full editor", not just WYSIWYG

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 12 years ago
parent
commit
0bfdde984f

+ 1 - 1
Sources/Display.php

@@ -1099,7 +1099,7 @@ function Display()
 		checkSubmitOnce('register');
 		$context['name'] = isset($_SESSION['guest_name']) ? $_SESSION['guest_name'] : '';
 		$context['email'] = isset($_SESSION['guest_email']) ? $_SESSION['guest_email'] : '';
-		if (!empty($options['wysiwyg_quick_reply']) && $context['can_reply'])
+		if (!empty($options['use_editor_quick_reply']) && $context['can_reply'])
 		{
 			// Needed for the editor and message icons.
 			require_once($sourcedir . '/Subs-Editor.php');

+ 1 - 1
Themes/default/Display.template.php

@@ -831,7 +831,7 @@ function template_main()
 						sImageCollapsed: "collapse.png",
 						sImageExpanded: "expand.png",
 						sJumpAnchor: "quickreply",
-						bIsFull: ', !empty($options['wisiwyg_quick_reply']) ? 'true' : 'false', '
+						bIsFull: ', !empty($options['use_editor_quick_reply']) ? 'true' : 'false', '
 					});';
 
 	if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $context['can_remove_post'])

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

@@ -135,8 +135,8 @@ function template_options()
 			'default' => true,
 		),
         array(
-            'id' => 'wysiwyg_quick_reply',
-            'label' => $txt['wysiwyg_quick_reply'],
+            'id' => 'use_editor_quick_reply',
+            'label' => $txt['use_editor_quick_reply'],
             'default' => true,
         ),
 		array(

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

@@ -289,7 +289,7 @@ $txt['display_quick_reply'] = 'Use quick reply on topic display: ';
 $txt['display_quick_reply1'] = 'don\'t show at all';
 $txt['display_quick_reply2'] = 'show, off by default';
 $txt['display_quick_reply3'] = 'show, on by default';
-$txt['wysiwyg_quick_reply'] = 'Show WYSIWYG editor in Quick Reply';
+$txt['use_editor_quick_reply'] = 'Use full editor in Quick Reply';
 $txt['display_quick_mod'] = 'Show quick-moderation as ';
 $txt['display_quick_mod_none'] = 'don\'t show.';
 $txt['display_quick_mod_check'] = 'checkboxes.';