Ignore:
Timestamp:
Sep 6, 2011 9:39:45 AM (21 months ago)
Author:
alec
Message:
  • Merge devel-spellcheck branch:
    • Added spellchecker exceptions dictionary (shared or per-user)
    • Added possibility to ignore words containing caps, numbers, symbols (spellcheck_ignore_* options)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail

  • trunk/roundcubemail/program/include/main.inc

    r5170 r5181  
    15961596 
    15971597  if ($hook['abort']) 
    1598     return;   
     1598    return; 
    15991599 
    16001600  $lang = strtolower($_SESSION['language']); 
     
    16081608  $RCMAIL->output->include_script('tiny_mce/tiny_mce.js'); 
    16091609  $RCMAIL->output->include_script('editor.js'); 
    1610   $RCMAIL->output->add_script(sprintf("rcmail_editor_init('\$__skin_path', '%s', %d, '%s');", 
    1611     JQ($lang), intval($CONFIG['enable_spellcheck']), $mode), 
    1612     'foot'); 
     1610  $RCMAIL->output->add_script(sprintf("rcmail_editor_init(%s)", 
     1611    json_encode(array( 
     1612        'mode'       => $mode, 
     1613        'skin_path'  => '$__skin_path', 
     1614        'lang'       => $lang, 
     1615        'spellcheck' => intval($CONFIG['enable_spellcheck']), 
     1616        'spelldict'  => intval($CONFIG['spellcheck_dictionary']), 
     1617    ))), 'foot'); 
    16131618} 
    16141619 
Note: See TracChangeset for help on using the changeset viewer.