Skip to content

Commit

Permalink
MDL-19825 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 6fd4211 commit 0ab75c3
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion user/addnote.php
Expand Up @@ -90,5 +90,5 @@
}
print_table($table);
echo '<div style="width:100%;text-align:center;"><input type="submit" value="' . get_string('savechanges'). '" /></div></form>';
print_footer($course);
echo $OUTPUT->footer();
?>
4 changes: 2 additions & 2 deletions user/edit.php
Expand Up @@ -84,7 +84,7 @@
if ($user->deleted) {
print_header();
echo $OUTPUT->heading(get_string('userdeleted'));
print_footer($course);
echo $OUTPUT->footer();
die;
}

Expand Down Expand Up @@ -231,6 +231,6 @@
}

/// and proper footer
print_footer($course);
echo $OUTPUT->footer();

?>
4 changes: 2 additions & 2 deletions user/editadvanced.php
Expand Up @@ -62,7 +62,7 @@
if ($user->deleted) {
print_header();
echo $OUTPUT->heading(get_string('userdeleted'));
print_footer($course);
echo $OUTPUT->footer();
die;
}

Expand Down Expand Up @@ -234,6 +234,6 @@
$userform->display();

/// and proper footer
print_footer();
echo $OUTPUT->footer();

?>
2 changes: 1 addition & 1 deletion user/emailupdate.php
Expand Up @@ -51,4 +51,4 @@
print_box($strinvalidkey, 'center');
}

print_footer('none');
echo $OUTPUT->footer();
2 changes: 1 addition & 1 deletion user/extendenrol.php
Expand Up @@ -157,5 +157,5 @@
print_table($table);
echo "\n<div style=\"width:100%;text-align:center;\"><input type=\"submit\" value=\"".get_string('savechanges')."\" /></div>\n</form>\n";

print_footer($course);
echo $OUTPUT->footer();
?>
2 changes: 1 addition & 1 deletion user/groupextendenrol.php
Expand Up @@ -155,5 +155,5 @@
echo '<input type="submit" value="'.get_string('savechanges').'" />';
echo '</div></form>';

print_footer($course);
echo $OUTPUT->footer();
?>
4 changes: 2 additions & 2 deletions user/index.php
Expand Up @@ -155,7 +155,7 @@

print_header("$course->shortname: ".get_string('participants'), $course->fullname, $navigation, "", "", true, "&nbsp;", navmenu($course));
echo $OUTPUT->heading(get_string("notingroup"));
print_footer($course);
echo $OUTPUT->footer();
exit;
}

Expand Down Expand Up @@ -981,7 +981,7 @@
echo '<div id="showall"><a href="'.$perpageurl.'&amp;perpage='.SHOW_ALL_PAGE_SIZE.'">'.get_string('showall', '', $matchcount).'</a></div>';
}

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

if ($userlist) {
$userlist->close();
Expand Down
2 changes: 1 addition & 1 deletion user/policy.php
Expand Up @@ -55,6 +55,6 @@
$optionsno = array('sesskey'=>sesskey());
notice_yesno($strpolicyagree, $linkyes, $linkno, $optionsyes, $optionsno);

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

?>
2 changes: 1 addition & 1 deletion user/portfolio.php
Expand Up @@ -96,6 +96,6 @@

print_table($table);
}
print_footer();
echo $OUTPUT->footer();

?>
2 changes: 1 addition & 1 deletion user/repository.php
Expand Up @@ -52,6 +52,6 @@
}

print_table($table);
print_footer();
echo $OUTPUT->footer();

?>

0 comments on commit 0ab75c3

Please sign in to comment.