Skip to content
Browse files

Header "login" link now breaks out of possible frame

  • Loading branch information...
1 parent 8552044 commit f426a62eff175df57317d24057cb43b8c096376c moodler committed Nov 7, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
4 lib/moodlelib.php
@@ -33,9 +33,9 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta=
if (!$button and $navigation) {
if (isset($USER->id)) {
- $button = "<FONT SIZE=2><A HREF=\"$CFG->wwwroot/login/logout.php\">".get_string("logout")."</A></FONT>";
+ $button = "<FONT SIZE=2><A TARGET=_parent HREF=\"$CFG->wwwroot/login/logout.php\">".get_string("logout")."</A></FONT>";
} else {
- $button = "<FONT SIZE=2><A HREF=\"$CFG->wwwroot/login/index.php\">".get_string("login")."</A></FONT>";
+ $button = "<FONT SIZE=2><A TARGET=_parent HREF=\"$CFG->wwwroot/login/index.php\">".get_string("login")."</A></FONT>";
}
}

0 comments on commit f426a62

Please sign in to comment.
Something went wrong with that request. Please try again.