Index: temp_moodle_dev/moodle/mod/forum/report.php
===================================================================
RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/forum/report.php,v
diff -u -r1.1 -r1.2
--- temp_moodle_dev/moodle/mod/forum/report.php 14 Nov 2008 06:30:16 -0000 1.1
+++ temp_moodle_dev/moodle/mod/forum/report.php 10 Dec 2008 23:43:54 -0000 1.2
@@ -82,5 +82,6 @@
}
close_window_button();
- print_footer('none');
+ //we pass a new parameter to the function so it won't we printed if is_lams=1
+ print_footer('none',null, false,$cm->is_lams);
?>
Index: temp_moodle_dev/moodle/mod/forum/subscribe.php
===================================================================
RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/forum/subscribe.php,v
diff -u -r1.1 -r1.2
--- temp_moodle_dev/moodle/mod/forum/subscribe.php 14 Nov 2008 06:30:16 -0000 1.1
+++ temp_moodle_dev/moodle/mod/forum/subscribe.php 10 Dec 2008 23:45:42 -0000 1.2
@@ -56,7 +56,8 @@
notice_yesno(get_string('noguestsubscribe', 'forum').'
'.get_string('liketologin'),
$wwwroot, $_SERVER['HTTP_REFERER']);
- print_footer($course);
+ //we pass a new parameter to the function so it won't we printed if is_lams=1
+ print_footer($course,null, false,$cm->is_lams);
exit;
}
Index: temp_moodle_dev/moodle/mod/forum/subscribers.php
===================================================================
RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/forum/subscribers.php,v
diff -u -r1.1 -r1.2
--- temp_moodle_dev/moodle/mod/forum/subscribers.php 14 Nov 2008 06:30:16 -0000 1.1
+++ temp_moodle_dev/moodle/mod/forum/subscribers.php 10 Dec 2008 23:46:08 -0000 1.2
@@ -39,13 +39,15 @@
$navigation = build_navigation($strsubscribers, $cm);
if (has_capability('mod/forum:managesubscriptions', $context)) {
+ //we pass a new parameter to the function so it won't we printed if is_lams=1
print_header_simple("$strsubscribers", "", $navigation,
- "", "", true, forum_update_subscriptions_button($course->id, $id));
+ "", "", true, forum_update_subscriptions_button($course->id, $id),'',false,'',false,$cm->is_lams);
if ($edit != -1) {
$USER->subscriptionsediting = $edit;
}
} else {
- print_header_simple("$strsubscribers", "", $navigation, "", "", true, '');
+ //we pass a new parameter to the function so it won't we printed if is_lams=1
+ print_header_simple("$strsubscribers", "", $navigation, "", "", true, '','',false,'',false,$cm->is_lams);
unset($USER->subscriptionsediting);
}
@@ -77,7 +79,8 @@
echo "";
}
- print_footer($course);
+ //we pass a new parameter to the function so it won't we printed if is_lams=1
+ print_footer($course,null, false,$cm->is_lams);
exit;
}
@@ -159,6 +162,7 @@
print_simple_box_end();
- print_footer($course);
+ //we pass a new parameter to the function so it won't we printed if is_lams=1
+ print_footer($course,null, false,$cm->is_lams);
?>