--- /htmlarea/htmlarea.module Mon Jun 04 18:27:51 2007 +++ /htmlarea/htmlarea.module Sat Nov 03 16:45:55 2007 @@ -274,6 +274,13 @@ '#default_value' => variable_get('htmlarea_killwordonpaste', false), '#description' => t('This option configures htmlarea so that when pasting from word documents will clean up the word html'), ); + $form['htmlarea_statusbar'] = array( + '#type' => 'checkbox', + '#title' => t('use status bar'), + '#return_value' => true, + '#default_value' => variable_get('htmlarea_statusbar', false), + '#description' => t('Display the path > div > p status bar at the bottom of the textarea'), + ); $form['htmlarea_add_rev'] = array( '#type' => 'checkbox', '#title' => t('add revision to web page'), @@ -660,6 +667,7 @@ 'path' => base_path() ._htmlarea_get_jsdir(), 'use_xinha' => file_exists(_htmlarea_get_jsdir(). '/XinhaCore.js'), 'killWordOnPaste' => variable_get("htmlarea_killwordonpaste", false), + 'statusBar' => variable_get("htmlarea_statusbar", false), 'pageStyle' => variable_get("htmlarea_bodystyle", ""), 'toolbar' => array(), ); --- /htmlarea/htmlarea.js Mon Jun 04 18:27:51 2007 +++ /htmlarea/htmlarea.js Sat Nov 03 16:45:08 2007 @@ -22,6 +22,7 @@ xinha_config.autofocus = false; xinha_config.toolbar = Drupal.settings.htmlarea.toolbar; xinha_config.killWordOnPaste = (Drupal.settings.htmlarea.killWordOnPaste ? true : false); + xinha_config.statusBar = (Drupal.settings.htmlarea.statusBar ? true : false); xinha_config.pageStyle = Drupal.settings.htmlarea.pageStyle; if (Drupal.settings.htmlarea.styles) { xinha_config.pageStyleSheets = Drupal.settings.htmlarea.styles;