id)) { if ($tagsused = get_records('blog_tag_instance', 'entryid', $post->id)) { foreach ($tagsused as $usedtag) { $usedtags[] = $usedtag -> tagid; } } } if ($usehtmleditor) { // clean and convert to html before editting $options = new object(); $options->smiley = false; $options->filter = false; $options->nocache = true; $post->summary = format_text($post->summary, $post->format, $options); } ?>
 
:
: publishstate, ''); ?>
  
:

'; if ($usehtmleditor) { helpbutton('richtext', get_string('helprichtext'), 'moodle', true, true); } else { emoticonhelpbutton('entry', 'body'); } ?>
summary); ?>
: '; } else { choose_from_menu(format_text_menu(), 'format', $post->format, ''); } ?>