mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
"MDL-14949, reverse changes to permission which can cause problems, merged from 1.9"
This commit is contained in:
parent
9bf4f1b59e
commit
970470e72e
@ -63,7 +63,6 @@
|
||||
$meta = ob_get_clean();
|
||||
print_header('', '', '', 'input_chat_message', $meta, false);
|
||||
|
||||
if(has_capability('mod/chat:chatlog',$context)){
|
||||
?>
|
||||
<form action="../empty.php" method="post" target="empty" id="inputForm"
|
||||
onsubmit="return empty_field_and_submit()" style="margin:0">
|
||||
@ -71,9 +70,6 @@
|
||||
<?php helpbutton('chatting', get_string('helpchatting', 'chat'), 'chat', true, false); ?><br />
|
||||
<input type="checkbox" id="auto" size="50" value="" checked='true' /><label for="auto"><?php echo get_string('autoscroll', 'chat');?></label>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<form action="insert.php" method="post" target="empty" id="sendForm">
|
||||
<input type="hidden" name="chat_sid" value="<?php echo $chat_sid ?>" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user