Permalink
Browse files

Fix for bug 1070 where HTML editor body was not always being shown.

  • Loading branch information...
1 parent 56b19c3 commit 507ee65e5988ddbb282595203655a7f6a594fffa moodler committed Jun 3, 2004
Showing with 6 additions and 5 deletions.
  1. +4 −3 calendar/event.php
  2. +1 −1 calendar/event_edit.html
  3. +1 −1 calendar/event_new.html
View
@@ -198,6 +198,8 @@
print_header(get_string('calendar', 'calendar').': '.$title, $site->fullname, $nav.' -> '.$title,
$focus, '', true, '', '<p class="logininfo">'.user_login_string($site).'</p>');
+ echo calendar_overlib_html();
+
echo '<table border="0" cellpadding="3" cellspacing="0" width="100%"><tr valign="top">';
echo '<td valign="top" width="100%">';
@@ -265,7 +267,7 @@
include('event_edit.html');
print_side_block_end();
if ($usehtmleditor) {
- use_html_editor();
+ use_html_editor("description");
}
break;
@@ -409,7 +411,7 @@
else {
include('event_new.html');
if ($usehtmleditor) {
- use_html_editor();
+ use_html_editor("description");
}
}
print_side_block_end();
@@ -421,7 +423,6 @@
echo '<td style="vertical-align: top; width: 180px;">';
$defaultcourses = calendar_get_default_courses();
- echo calendar_overlib_html();
calendar_set_filters($courses, $groups, $users, $defaultcourses, $defaultcourses);
print_side_block_start(get_string('monthlyview', 'calendar'), '', 'sideblockmain');
View
@@ -19,7 +19,7 @@
</td>
<td>
<?php
- print_textarea($usehtmleditor, 10, 65, 630, 400, "description", $form->description);
+ print_textarea($usehtmleditor, 20, 65, 630, 300, "description", $form->description);
if (isset($err['description'])) formerr($err['description']);
?>
</td>
View
@@ -19,7 +19,7 @@
</td>
<td>
<?php
- print_textarea($usehtmleditor, 10, 65, 630, 200, "description", $form->description);
+ print_textarea($usehtmleditor, 20, 65, 630, 300, "description", $form->description);
if (isset($err['description'])) formerr($err['description']);
?>
</td>

0 comments on commit 507ee65

Please sign in to comment.