Skip to content

Commit

Permalink
MDL-19798 Converted all print_footer() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent e6e565a commit 653468d
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion group/assign.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
</div>

<?php
print_footer($course);
echo $OUTPUT->footer();


?>
2 changes: 1 addition & 1 deletion group/autogroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,5 @@
echo $preview;
}

print_footer($course);
echo $OUTPUT->footer();
?>
2 changes: 1 addition & 1 deletion group/delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@
$message.='</ul>';
}
notice_yesno($message, 'delete.php', 'index.php', $optionsyes, $optionsno, 'post', 'get');
print_footer();
echo $OUTPUT->footer();
}
?>
4 changes: 2 additions & 2 deletions group/group.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
$optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
$optionsno = array('id'=>$courseid);
notice_yesno(get_string('deletegroupconfirm', 'group', $group->name), 'group.php', 'index.php', $optionsyes, $optionsno, 'get', 'get');
print_footer();
echo $OUTPUT->footer();
die;

} else if (confirm_sesskey()){
Expand Down Expand Up @@ -116,5 +116,5 @@
}
echo '</div>';
$editform->display();
print_footer($course);
echo $OUTPUT->footer();
?>
4 changes: 2 additions & 2 deletions group/grouping.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
$optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
$optionsno = array('id'=>$courseid);
notice_yesno(get_string('deletegroupingconfirm', 'group', $grouping->name), 'grouping.php', 'groupings.php', $optionsyes, $optionsno, 'get', 'get');
print_footer();
echo $OUTPUT->footer();
die;

} else if (confirm_sesskey()){
Expand Down Expand Up @@ -108,6 +108,6 @@

echo $OUTPUT->heading($strheading);
$editform->display();
print_footer($course);
echo $OUTPUT->footer();

?>
2 changes: 1 addition & 1 deletion group/groupings.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
print_single_button('grouping.php', array('courseid'=>$courseid), $srtnewgrouping);
echo '</div>';

print_footer($course);
echo $OUTPUT->footer();

?>
2 changes: 1 addition & 1 deletion group/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
array($CFG->httpswwwroot, $course->id));
}

print_footer($course);
echo $OUTPUT->footer();

/**
* Returns the first button action with the given prefix, taken from
Expand Down
2 changes: 1 addition & 1 deletion group/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@
</div>

<?php
print_footer($course);
echo $OUTPUT->footer();
?>
2 changes: 1 addition & 1 deletion group/overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,5 @@
$printed = true;
}

print_footer($course);
echo $OUTPUT->footer();
?>

0 comments on commit 653468d

Please sign in to comment.