courseid); if (!isset($post->groupid)) { $post->groupid = 0; } // find all the tags this post uses if (isset($post->postid)) { if ($tagsused = get_records('blog_tag_instance', 'entryid', $post->postid)) { foreach ($tagsused as $usedtag) { $usedtags[] = $usedtag -> tagid; } } } ?>
enctype="multipart/form-data">
 
:
: publishstate, ''); ?>
  
useextendedbody) && $post->useextendedbody) { print_string('entryexcerpt', 'blog'); } else { print_string('entrybody', 'blog'); } ?>:

'; helpbutton('writing', get_string('helpwriting'), 'moodle', true, true); echo '
'; helpbutton('questions', get_string('helpquestions'), 'moodle', true, true); echo '
'; if ($usehtmleditor) { helpbutton('richtext', get_string('helprichtext'), 'moodle', true, true); } else { emoticonhelpbutton('entry', 'body'); } ?>
'."\n"; // usage: print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $value="", $courseid) print_textarea($usehtmleditor, 6, 60, 600, 500, 'body', $post->body, $post->courseid); ?>
: '; } else { choose_from_menu(format_text_menu(), "format", $post->format, ""); } ?>
postid) && ($post->postid != -1) ) { ?>