: |
" />
|
:
";
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("theform", "message");
}
echo " ";
?>
|
message); ?>
|
: |
';
} else {
choose_from_menu(format_text_menu(), "format", $post->format, "");
}
helpbutton("textformat", get_string("helpformatting"));
?>
|
: |
id)) {
print_string("everyoneissubscribed", "forum");
} else if ($forum->forcesubscribe != FORUM_DISALLOWSUBSCRIBE || isteacher($forum->course)){
unset($options);
if (forum_is_subscribed($USER->id, $post->forum)) {
$options[0] = get_string("subscribestart", "forum");
$options[1] = get_string("subscribestop", "forum");
choose_from_menu($options, "unsubscribe", 0, "");
} else {
$default = 0;
if (!empty($USER->autosubscribe)) {
$default = 1;
}
$options[0] = get_string("subscribestop", "forum");
$options[1] = get_string("subscribestart", "forum");
choose_from_menu($options, "subscribe", $default, "");
}
} else if ($forum->forcesubscribe == FORUM_DISALLOWSUBSCRIBE) {
print_string('disallowsubscribe','forum');
}
helpbutton("subscription", get_string("subscription", "forum"), "forum");
?>
|
maxbytes != 1) { // 1 = No attachments at all ?>
: () |
maxbytes, $course->maxbytes, $forum->maxbytes); ?>
" />
|
id)) { ?>
: |
mailnow)); ?>
|
forum_enabletimedposts) &&
isteacher($course->id) && $forum->type == 'news' && !$post->parent) {
// This is the first post of a discussion in news forum
?>
: () |
: |
timestart);
print_string('disable');
echo ': ';
print_checkbox('timestartdisabled', 1, empty($discussion->timestart));
helpbutton("displayperiod", get_string("displayperiod", "forum"), "forum");
?> |
|
: |
timeend);
print_string('disable');
echo ': ';
print_checkbox('timeenddisabled', 1, empty($discussion->timeend));
?> |
|
|