removed explicit style-adding for user login string
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
$strrecentactivity = get_string("recentactivity");
|
||||
|
||||
$loggedinas = "<p class=\"logininfo\">".user_login_string($course, $USER)."</p>";
|
||||
$loggedinas = user_login_string($course, $USER);
|
||||
|
||||
|
||||
if (!empty($_GET['chooserecent'])) {
|
||||
|
||||
@@ -40,9 +40,9 @@
|
||||
} else {
|
||||
$wwwroot = str_replace('http', 'https', $CFG->wwwroot);
|
||||
}
|
||||
$loginstring = "<font size=\"2\"><a href=\"$wwwroot/login/index.php\">".get_string('login').'</a></font>';
|
||||
$loginstring = "<span class=\"logininfo\"><a href=\"$wwwroot/login/index.php\">".get_string('login').'</a></font>';
|
||||
} else {
|
||||
$loginstring = '<font size="1">'. user_login_string($SITE) .'</font>';
|
||||
$loginstring = user_login_string($SITE);
|
||||
add_to_log(SITEID, 'course', 'view', 'view.php?id='.SITEID, SITEID);
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -369,9 +369,8 @@ class page_course extends page_base {
|
||||
// (i.e., no breadcrumbs other than the default one added inside this function)
|
||||
$button = empty($morebreadcrumbs) ? update_course_icon($this->courserecord->id) : ' ';
|
||||
|
||||
$loggedinas = '<p class="logininfo">'. user_login_string($this->courserecord, $USER) .'</p>';
|
||||
print_header($title, $this->courserecord->fullname, $crumbtext,
|
||||
'', '', true, $button, $loggedinas);
|
||||
'', '', true, $button, user_login_string($this->courserecord, $USER));
|
||||
}
|
||||
|
||||
// SELF-REPORTING SECTION
|
||||
|
||||
Reference in New Issue
Block a user