Your hack is really great and it works with french language. Thanks you very much.
I've just modified the installation process. I find it easier.
Code installation
Put
Code:
<script src="vbspell.js"></script>
at the end of your headinclude template.
Put
Code:
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
<input type="hidden" name="spell_formname" value="">
<input type="hidden" name="spell_fieldname" value="">
<input type="hidden" name="spellstring" value="">
</form>
at the end of your header template.
Link to the dictionnary
editor_toolbar_on:
Find
Code:
<if condition="is_browser('ie') AND !is_browser('mac')">
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
Replace with
Code:
<td onclick="spellCheck('vbform', '$editorid', '2');"><div class="imagebutton"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
postbit_quickedit AND showthread_quickreply :
Find
Code:
<if condition="is_browser('ie')">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
Replace with
Code:
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td onclick="spellCheck('vbform', '$editorid', '2');"><div class="imagebutton"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
What does it do ?
It replaces vB spell check with this one. I'm so happy it works with french language
Precision : i've got vB Gold Version