Permalink
Browse files

Merge branch 'MDL-30274-master-1' of git://git.luns.net.uk/moodle

  • Loading branch information...
2 parents 2fee72e + 4a645a6 commit cfaa2bd7441aa3ad4579961f9434b95188c77c1a @stronk7 stronk7 committed Nov 16, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 theme/mymobile/renderers.php
@@ -380,7 +380,7 @@ public function login_info_footer() {
return '';
}
- $loginapge = ((string)$this->page->url === get_login_url());
+ $loginpage = ((string)$this->page->url === get_login_url());
$course = $this->page->course;
if (session_is_loggedinas()) {
@@ -407,7 +407,7 @@ public function login_info_footer() {
}
if (isguestuser()) {
$loggedinas = $realuserinfo.get_string('loggedinasguest');
- if (!$loginapge) {
+ if (!$loginpage) {
$loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
}
} else if (is_role_switched($course->id)) { // Has switched roles
@@ -421,7 +421,7 @@ public function login_info_footer() {
}
} else {
$loggedinas = get_string('loggedinnot', 'moodle');
- if (!$loginapge) {
+ if (!$loginpage) {
$loggedinas .= " (<a href=\"$loginurl\">".get_string('login').'</a>)';
}
}

0 comments on commit cfaa2bd

Please sign in to comment.