Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
"MDL-8224, use embedded layout in gui_header_js UI, add a css to gui_…
…basic UI"
  • Loading branch information
dongsheng committed Sep 5, 2009
1 parent 83064f9 commit 9d9da5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mod/chat/gui_basic/index.php
Expand Up @@ -26,6 +26,7 @@
require_login($course->id, false, $cm);
require_capability('mod/chat:chat',$context);
$PAGE->set_generaltype('form');
$PAGE->requires->css('mod/chat/chat.css');

/// Check to see if groups are being used here
if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used
Expand Down
2 changes: 1 addition & 1 deletion mod/chat/gui_header_js/chatinput.php
Expand Up @@ -24,14 +24,14 @@
}

$context = get_context_instance(CONTEXT_MODULE, $cm->id);


//Get the user theme
$USER = $DB->get_record('user', array('id'=>$chatuser->userid));

//Setup course, lang and theme
$PAGE->set_course($course);
$PAGE->requires->js('mod/chat/gui_header_js/chat_gui_header.js')->in_head();
$PAGE->set_generaltype('embedded');

print_header('', '', '', 'input_chat_message', '', false);

Expand Down

0 comments on commit 9d9da5e

Please sign in to comment.