Pārlūkot izejas kodu

If emoticons are disabled make so the default emoticons are not used

Signed-off-by: emanuele <[email protected]>
emanuele 12 gadi atpakaļ
vecāks
revīzija
ce3e0aa956
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      Themes/default/GenericControls.template.php

+ 4 - 0
Themes/default/GenericControls.template.php

@@ -77,6 +77,10 @@ function template_control_richedit($editor_id, $smileyContainer = null, $bbcCont
 			echo '
 					}';
 		}
+		else
+			echo ',
+					emoticons:
+					{}';
 
 		if ($context['show_bbc'] && $bbcContainer !== null)
 		{