$editor->active_mode(false); $editor->hide_tb("font", false); $editor->hide_tb("link", false); $editor->hide_tb("special_chars", false); $editor->hide_tb("image", false); $editor->hide_tb("source", true); $editor->hide_tb("form", true); $editor->hide_tb("snippets", true); $editor->hide_tb("size", false); $editor->hide_tb("style", false); $editor->hide_tb("absolute_position", false); $editor->hide_tb("hr", false); $editor->hide_tb("table", false); $editor->hide_tb("adv_table", true); $editor->hide_tb("paragraph", false); $editor->set_borders_visibility(true); $editor->set_br_on_enter($set_on); $editor->set_snippets(array('MYDIR' => "%[MYDIR]%")); if ($show_styles) { $editor->set_default_stylesheet('../' . $designpath . 'style.css'); } $editor->draw(); } else { print '<textarea wrap="off" rows="29" name="filecontent" cols="105" style="width:1000;font: bold fixedsys, courier, lucida Console, arial; font-size: 12px; background-color: #FFFFEC">' . htmlspecialchars($file_content) . '</textarea>'; } ?> </td></tr> <tr><td valign="top"> <table width=100%><tr><td><input type="submit" value=" <?php echo $_SP[274]; ?> " name="submit" onClick="return confirm('<?php echo $_SP[50];