Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
MDL-19799 Migrated calls to close_window_button()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent 4d4200b commit 5231a15
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion help.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}

// End of page.
close_window_button();
echo $OUTPUT->close_window_button();
echo '<p class="helpindex"><a href="help.php?file=index.html">'. get_string('helpindex') .'</a></p>';

// Offer a link to the alternative help file language
Expand Down
2 changes: 1 addition & 1 deletion lib/form/editorhelp.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
echo '</ul>';
print_simple_box_end();
// End of page.
close_window_button();
echo $OUTPUT->close_window_button();
global $CFG;
echo '<p align="center"><a href="'.$CFG->wwwroot.'/help.php?file=index.html">'. get_string('helpindex') .'</a></p>';

Expand Down
4 changes: 2 additions & 2 deletions lib/installlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function install_generate_configphp($database, $cfg, $userealpath=false) {
* @param string $help
*/
function install_print_help_page($help) {
global $CFG;
global $CFG, $OUTPUT;

@header('Content-Type: text/html; charset=UTF-8');
@header('Cache-Control: no-store, no-cache, must-revalidate');
Expand Down Expand Up @@ -248,7 +248,7 @@ function install_print_help_page($help) {
default:
print_string($help, 'install');
}
close_window_button();
echo $OUTPUT->close_window_button();
echo '</body></html>';
die;
}
Expand Down
2 changes: 1 addition & 1 deletion sso/hive/expired.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
</form>
<br />
<?php
close_window_button();
echo $OUTPUT->close_window_button();
?>

0 comments on commit 5231a15

Please sign in to comment.