* or write to the Free Software Foundation, Inc., 51 Franklin St, * Fifth Floor, Boston, MA 02110-1301 USA **/ class joomailerEditor { function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2) { $rows = get_option('default_post_edit_rows'); if (($rows < 3) || ($rows > 100)) $rows = 15; if ( !current_user_can( 'upload_files' ) ) $media_buttons = false; $richedit = user_can_richedit(); $class = ''; if ( $richedit || $media_buttons ) { ?>
\n"); $the_editor_content = apply_filters('the_editor_content', $content); printf($the_editor, $the_editor_content); ?>