From: moodler Date: Thu, 15 May 2003 13:55:22 +0000 (+0000) Subject: Many little clean-ups for themes. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e48feed98891602e782cdc0fdab1773506d27c73;p=moodle.git Many little clean-ups for themes. - Got rid of obvious non-XHTML code in headers and footers. - Got rid of all the PHP short tags - Added new styles for the headers --- diff --git a/theme/UPGRADE.txt b/theme/UPGRADE.txt index 36ade953fc..7ca1d0630b 100644 --- a/theme/UPGRADE.txt +++ b/theme/UPGRADE.txt @@ -64,12 +64,26 @@ a.dimmed:hover {} .weeklydatetext {} -/* Style for the notice boxes (surrounding a notice message) */ +/* Style for the notice boxes (surrounding a notice message) */ .noticebox {} .noticeboxcontent {} +/* Styles for the headers of all pages (see header.html) */ + +.header {} +.headermain {} +.headermenu {} + + +/* Styles for the headers of the home page (see header.html) */ + +.headerhome {} +.headerhomemain {} +.headerhomemenu {} + + ALL pix files can now be changed from within a theme, see cordoroyblue for an example: config.php and the pix subdirectory. diff --git a/theme/brightretro/footer.html b/theme/brightretro/footer.html index e016358ef3..18bb88290b 100644 --- a/theme/brightretro/footer.html +++ b/theme/brightretro/footer.html @@ -1,10 +1,9 @@ + -
-
- -

-

-
+
+
+

+ - - + + diff --git a/theme/brightretro/header.html b/theme/brightretro/header.html index de492c24d1..5ff0213501 100644 --- a/theme/brightretro/header.html +++ b/theme/brightretro/header.html @@ -1,55 +1,61 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
wwwroot/theme/$CFG->theme/logo.jpg" ?>">
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/brightretro/styles.php b/theme/brightretro/styles.php index 3f15c96cc6..ccb520cc98 100644 --- a/theme/brightretro/styles.php +++ b/theme/brightretro/styles.php @@ -265,3 +265,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/cordoroyblue/header.html b/theme/cordoroyblue/header.html index 004feaa73a..25e2d220b3 100644 --- a/theme/cordoroyblue/header.html +++ b/theme/cordoroyblue/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/cordoroyblue/styles.php b/theme/cordoroyblue/styles.php index 7d083c292b..59bb199596 100644 --- a/theme/cordoroyblue/styles.php +++ b/theme/cordoroyblue/styles.php @@ -360,3 +360,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/garden/footer.html b/theme/garden/footer.html index ccc60bb129..e0305179fd 100755 --- a/theme/garden/footer.html +++ b/theme/garden/footer.html @@ -1,10 +1,8 @@ -
-
- -

-

-
+
+
+

+ - - + + diff --git a/theme/garden/header.html b/theme/garden/header.html index c0fa2487a5..25e2d220b3 100755 --- a/theme/garden/header.html +++ b/theme/garden/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -




- - - - - - - - - - - -
- -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/garden/styles.php b/theme/garden/styles.php index 4bc9a84230..6bb6bcca1c 100755 --- a/theme/garden/styles.php +++ b/theme/garden/styles.php @@ -285,3 +285,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/oceanblue/footer.html b/theme/oceanblue/footer.html index c2178515a4..18bb88290b 100644 --- a/theme/oceanblue/footer.html +++ b/theme/oceanblue/footer.html @@ -1,10 +1,9 @@ - -
-
- -

-

-
- - - + + +
+
+

+ + + + diff --git a/theme/oceanblue/header.html b/theme/oceanblue/header.html index 252d81d06e..25e2d220b3 100644 --- a/theme/oceanblue/header.html +++ b/theme/oceanblue/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - - - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + + + diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php index 52b59f979c..054b057e5f 100644 --- a/theme/oceanblue/styles.php +++ b/theme/oceanblue/styles.php @@ -367,3 +367,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/poweraid/images/favicon.ico b/theme/poweraid/images/favicon.ico index 1554726621..ff943576e2 100644 Binary files a/theme/poweraid/images/favicon.ico and b/theme/poweraid/images/favicon.ico differ diff --git a/theme/poweraid/styles.php b/theme/poweraid/styles.php index de9677f308..7756dcd4e2 100644 --- a/theme/poweraid/styles.php +++ b/theme/poweraid/styles.php @@ -209,3 +209,25 @@ select { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/standard/footer.html b/theme/standard/footer.html index 211873bb25..18bb88290b 100644 --- a/theme/standard/footer.html +++ b/theme/standard/footer.html @@ -1,6 +1,7 @@ +
-
+

diff --git a/theme/standard/header.html b/theme/standard/header.html index 40d5f9facf..25e2d220b3 100644 --- a/theme/standard/header.html +++ b/theme/standard/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/standard/styles.php b/theme/standard/styles.php index ee2788f976..d28173e9a7 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -263,3 +263,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/standardblue/footer.html b/theme/standardblue/footer.html index 211873bb25..18bb88290b 100644 --- a/theme/standardblue/footer.html +++ b/theme/standardblue/footer.html @@ -1,6 +1,7 @@ +
-
+

diff --git a/theme/standardblue/header.html b/theme/standardblue/header.html index 004feaa73a..25e2d220b3 100644 --- a/theme/standardblue/header.html +++ b/theme/standardblue/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php index ee2788f976..d28173e9a7 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -263,3 +263,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/standardgreen/footer.html b/theme/standardgreen/footer.html index 211873bb25..18bb88290b 100644 --- a/theme/standardgreen/footer.html +++ b/theme/standardgreen/footer.html @@ -1,6 +1,7 @@ +
-
+

diff --git a/theme/standardgreen/header.html b/theme/standardgreen/header.html index c702e1e96d..25e2d220b3 100644 --- a/theme/standardgreen/header.html +++ b/theme/standardgreen/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php index ee2788f976..d28173e9a7 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -263,3 +263,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/standardlogo/footer.html b/theme/standardlogo/footer.html index 211873bb25..18bb88290b 100644 --- a/theme/standardlogo/footer.html +++ b/theme/standardlogo/footer.html @@ -1,6 +1,7 @@ +
-
+

diff --git a/theme/standardlogo/header.html b/theme/standardlogo/header.html index fce7df27cc..5ff0213501 100644 --- a/theme/standardlogo/header.html +++ b/theme/standardlogo/header.html @@ -1,55 +1,61 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
wwwroot/theme/$CFG->theme/logo.jpg" ?>">
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php index ee2788f976..d28173e9a7 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -263,3 +263,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/standardred/footer.html b/theme/standardred/footer.html index 211873bb25..18bb88290b 100644 --- a/theme/standardred/footer.html +++ b/theme/standardred/footer.html @@ -1,6 +1,7 @@ +
-
+

diff --git a/theme/standardred/header.html b/theme/standardred/header.html index 30c2325bae..25e2d220b3 100644 --- a/theme/standardred/header.html +++ b/theme/standardred/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php index ee2788f976..d28173e9a7 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -263,3 +263,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} diff --git a/theme/standardwhite/footer.html b/theme/standardwhite/footer.html index 211873bb25..18bb88290b 100644 --- a/theme/standardwhite/footer.html +++ b/theme/standardwhite/footer.html @@ -1,6 +1,7 @@ +
-
+

diff --git a/theme/standardwhite/header.html b/theme/standardwhite/header.html index 5b462f439a..25e2d220b3 100644 --- a/theme/standardwhite/header.html +++ b/theme/standardwhite/header.html @@ -1,53 +1,60 @@ -> - -<?=$title ?> - - - - -javascript"); ?> - - -body\">"; ?> - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - - -
-
- - - -
- - + +> + +<?php echo $title ?> + + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico"> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + diff --git a/theme/standardwhite/styles.php b/theme/standardwhite/styles.php index ee2788f976..d28173e9a7 100644 --- a/theme/standardwhite/styles.php +++ b/theme/standardwhite/styles.php @@ -263,3 +263,25 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +}