From b328523cc1f7274b32a4e4054ffbf33c9eaca12d Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Fri, 25 Apr 2003 09:23:08 +0000
Subject: [PATCH] Style for "You are logged in as xxx" and the link to the
 course home page.

---
 course/view.php                | 2 +-
 theme/brightretro/styles.php   | 8 ++++++++
 theme/cordoroyblue/styles.php  | 8 ++++++++
 theme/garden/styles.php        | 8 ++++++++
 theme/oceanblue/styles.php     | 8 ++++++++
 theme/poweraid/styles.php      | 8 ++++++++
 theme/standard/footer.html     | 6 ++----
 theme/standard/styles.php      | 7 +++++++
 theme/standardblue/styles.php  | 8 ++++++++
 theme/standardgreen/styles.php | 8 ++++++++
 theme/standardlogo/styles.php  | 8 ++++++++
 theme/standardred/styles.php   | 8 ++++++++
 theme/standardwhite/styles.php | 7 +++++++
 13 files changed, 89 insertions(+), 5 deletions(-)

diff --git a/course/view.php b/course/view.php
index a92676b05e..fa5b47db41 100644
--- a/course/view.php
+++ b/course/view.php
@@ -53,7 +53,7 @@
 
     $courseword = get_string("course");
 
-    $loggedinas = "<font size=1>".user_login_string($course, $USER)."</font>";
+    $loggedinas = "<p class=\"logininfo\">".user_login_string($course, $USER)."</p>";
 
     print_header("$courseword: $course->fullname", "$course->fullname", "$course->shortname", "search.search", "", true,
                   update_course_icon($course->id), $loggedinas);
diff --git a/theme/brightretro/styles.php b/theme/brightretro/styles.php
index bbaf7b097f..baf0d7d006 100644
--- a/theme/brightretro/styles.php
+++ b/theme/brightretro/styles.php
@@ -217,3 +217,11 @@ a.dimmed:hover {
 .forumpostheaderdate {
     font-size: small;
 }
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/cordoroyblue/styles.php b/theme/cordoroyblue/styles.php
index d07d324ad9..7443987dc4 100644
--- a/theme/cordoroyblue/styles.php
+++ b/theme/cordoroyblue/styles.php
@@ -287,3 +287,11 @@ a.dimmed:hover {
 .forumpostheaderdate {
     font-size: small;
 }
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/garden/styles.php b/theme/garden/styles.php
index e4b7257f68..296a417402 100755
--- a/theme/garden/styles.php
+++ b/theme/garden/styles.php
@@ -240,3 +240,11 @@ a.dimmed:hover {
 .forumpostheaderdate {
     font-size: small;
 }
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php
index 838a215c98..6bde74ac48 100644
--- a/theme/oceanblue/styles.php
+++ b/theme/oceanblue/styles.php
@@ -342,3 +342,11 @@ a.dimmed:hover {
 .forumpostheaderdate {
     font-size: small;
 }
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/poweraid/styles.php b/theme/poweraid/styles.php
index 7c5418cdb4..b881a41fa4 100644
--- a/theme/poweraid/styles.php
+++ b/theme/poweraid/styles.php
@@ -197,3 +197,11 @@ select {
 	color: #000000;
 	background-color: #999999;
 }
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/standard/footer.html b/theme/standard/footer.html
index e016358ef3..5b0b81bfb9 100644
--- a/theme/standard/footer.html
+++ b/theme/standard/footer.html
@@ -1,10 +1,8 @@
 <!-- START OF FOOTER -->
 <CENTER>
 <HR SIZE=1 NOSHADE>
-<FONT SIZE=1>
-<P><?=$loggedinas ?></P>
-<P><?=$homelink ?></P>
-</FONT>
+<P class="logininfo"><?=$loggedinas ?></P>
+<P class="homelink"><?=$homelink ?></P>
 
 </BODY>
 </HTML>
diff --git a/theme/standard/styles.php b/theme/standard/styles.php
index c7a61d458a..baf0d7d006 100644
--- a/theme/standard/styles.php
+++ b/theme/standard/styles.php
@@ -218,3 +218,10 @@ a.dimmed:hover {
     font-size: small;
 }
 
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php
index c7a61d458a..f98281456c 100644
--- a/theme/standardblue/styles.php
+++ b/theme/standardblue/styles.php
@@ -218,3 +218,11 @@ a.dimmed:hover {
     font-size: small;
 }
 
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php
index c7a61d458a..f98281456c 100644
--- a/theme/standardgreen/styles.php
+++ b/theme/standardgreen/styles.php
@@ -218,3 +218,11 @@ a.dimmed:hover {
     font-size: small;
 }
 
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php
index c7a61d458a..f98281456c 100644
--- a/theme/standardlogo/styles.php
+++ b/theme/standardlogo/styles.php
@@ -218,3 +218,11 @@ a.dimmed:hover {
     font-size: small;
 }
 
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php
index c7a61d458a..f98281456c 100644
--- a/theme/standardred/styles.php
+++ b/theme/standardred/styles.php
@@ -218,3 +218,11 @@ a.dimmed:hover {
     font-size: small;
 }
 
+
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
diff --git a/theme/standardwhite/styles.php b/theme/standardwhite/styles.php
index c7a61d458a..baf0d7d006 100644
--- a/theme/standardwhite/styles.php
+++ b/theme/standardwhite/styles.php
@@ -218,3 +218,10 @@ a.dimmed:hover {
     font-size: small;
 }
 
+.logininfo {
+    font-size: x-small;
+}
+
+.homelink {
+    font-size: x-small;
+}
-- 
2.39.5