Skip to content

Commit

Permalink
MDL-16318: remove a few calls use_html_editor() (more to come)
Browse files Browse the repository at this point in the history
  • Loading branch information
scyrma committed Sep 3, 2008
1 parent 94eff36 commit 2a68c5d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 27 deletions.
4 changes: 0 additions & 4 deletions admin/maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@
echo '</div>';
echo '</form>';
echo '</div>';

if ($usehtmleditor) {
use_html_editor();
}
}

admin_externalpage_print_footer();
Expand Down
4 changes: 0 additions & 4 deletions admin/roles/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,6 @@
include_once('manage.html');
print_simple_box_end();

if ($usehtmleditor) {
use_html_editor('description');
}

} else {

print_heading_with_help(get_string('roles', 'role'), 'roles');
Expand Down
4 changes: 0 additions & 4 deletions admin/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@
echo '</tr></table>';
}

if (!empty($CFG->adminusehtmleditor)) {
use_html_editor();
}

print_footer();

?>
4 changes: 0 additions & 4 deletions admin/upgradesettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@
echo '</div>';
echo '</form>';

if (!empty($CFG->adminusehtmleditor)) {
use_html_editor();
}

print_footer();

?>
4 changes: 0 additions & 4 deletions blocks/html/config_instance.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@
<input type="submit" value="<?php print_string('savechanges') ?>" /></td>
</tr>
</table>
<?php if ($usehtmleditor) {
use_html_editor();
}
?>
3 changes: 0 additions & 3 deletions calendar/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,6 @@
}
else {
include('event_new.html');
if ($usehtmleditor) {
use_html_editor("description");
}
}

break;
Expand Down
4 changes: 0 additions & 4 deletions lib/questionlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1674,10 +1674,6 @@ function question_print_comment_box($question, $state, $attempt, $url) {
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '<input type="submit" name="submit" value="'.get_string('save', 'quiz').'" />';
echo '</form>';

if ($usehtmleditor) {
use_html_editor();
}
}

/**
Expand Down

0 comments on commit 2a68c5d

Please sign in to comment.