In your submit_step_2.tpl below
Code:
<textarea name="bodytext" rows="10" cols="60" id="bodytext" >{$submit_content}</textarea> PHP Code:
<br />
{if $Spell_Checker eq 1}<input type="button" name="spelling" value="Check Spelling" class="submit" onClick="openSpellChecker('bodytext');"/>{/if}
Code:
function do_submit1() {
global $main_smarty, $db, $dblang, $current_user, $the_template; PHP Code:
$main_smarty->assign('Spell_Checker',Spell_Checker);




Linear Mode




