* Fixed bug #19537 - Last commit doesn't work in IE6-Win - Patch by richardb
[project/tinymce.git] / tinymce.module
index 5c3fb9a..aafca31 100644 (file)
@@ -92,7 +92,7 @@ function tinymce_img_assist_on_submit() {
  * Implementation of hook_settings().
  */
 function tinymce_settings() {
-  drupal_set_title(t('TinyMCE settings'));
+  drupal_set_title(t('TinyMCE settings (v $Revision$)');
 
   //Check if TinyMCE is installed.
   $tinymce_loc = drupal_get_path('module', 'tinymce') .'/tinymce/';
@@ -204,7 +204,7 @@ function theme_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {
     case 'advanced':
       $init['extended_valid_elements'] = 'a[href|target|name]';
       $init['theme_advanced_buttons3_add_before'] = 'tablecontrols,separator';
-      $init['plugins'] = 'drupalimage,table,emotions,iespell,print';
+      $init['plugins'] = module_exist('img_assist') ? 'drupalimage,table,emotions,print' : 'table,emotions,print';
       $init['theme_advanced_buttons3_add'] = 'emotions,iespell,separator,print';
       return $init;
   }