removed explicit style-adding for user login string

This commit is contained in:
moodler
2005-02-25 06:23:46 +00:00
parent 8fcdbee3c9
commit fd5b9188bd
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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'])) {
+2 -2
View File
@@ -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
View File
@@ -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) : '&nbsp;';
$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