Insert Link File Browse

Insert Link File Browse

by Sojiro Sato -
Number of replies: 0
When an instructor edits a chapter and inserts a link from the HTML editor, the browse button does not appear. If you want to replicate this, post a reply, highlight a word and click the "Insert Web Link" button from the HTML editor. The "Browse" button should be by the "OK" button, but it isn't.

For an administrator, the Browse button does show up and the course instructors do have the capability to manage course files as the "Browse" button does show up when inserting a link in a forum post. This is in 1.8.5+

The actual code that inserts the editor does not check capabilities or anything like that.

<td align="center">
<?php print_textarea($usehtmleditor, 20, 60, 630, 400, 'content', $chapter->content); ?>
</td>

from mod/book/edit.html

Any ideas?
Average of ratings: -