From e48feed98891602e782cdc0fdab1773506d27c73 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 15 May 2003 13:55:22 +0000 Subject: [PATCH] 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 --- theme/UPGRADE.txt | 16 ++++- theme/brightretro/footer.html | 15 ++-- theme/brightretro/header.html | 112 +++++++++++++++-------------- theme/brightretro/styles.php | 22 ++++++ theme/cordoroyblue/header.html | 109 ++++++++++++++-------------- theme/cordoroyblue/styles.php | 22 ++++++ theme/garden/footer.html | 14 ++-- theme/garden/header.html | 109 ++++++++++++++-------------- theme/garden/styles.php | 22 ++++++ theme/oceanblue/footer.html | 19 +++-- theme/oceanblue/header.html | 113 ++++++++++++++++-------------- theme/oceanblue/styles.php | 22 ++++++ theme/poweraid/images/favicon.ico | Bin 1406 -> 766 bytes theme/poweraid/styles.php | 22 ++++++ theme/standard/footer.html | 3 +- theme/standard/header.html | 109 ++++++++++++++-------------- theme/standard/styles.php | 22 ++++++ theme/standardblue/footer.html | 3 +- theme/standardblue/header.html | 109 ++++++++++++++-------------- theme/standardblue/styles.php | 22 ++++++ theme/standardgreen/footer.html | 3 +- theme/standardgreen/header.html | 109 ++++++++++++++-------------- theme/standardgreen/styles.php | 22 ++++++ theme/standardlogo/footer.html | 3 +- theme/standardlogo/header.html | 112 +++++++++++++++-------------- theme/standardlogo/styles.php | 22 ++++++ theme/standardred/footer.html | 3 +- theme/standardred/header.html | 109 ++++++++++++++-------------- theme/standardred/styles.php | 22 ++++++ theme/standardwhite/footer.html | 3 +- theme/standardwhite/header.html | 109 ++++++++++++++-------------- theme/standardwhite/styles.php | 22 ++++++ 32 files changed, 875 insertions(+), 549 deletions(-) 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 155472662159b93b592b0a0a8924e37c6477aba6..ff943576e27cb0f7af663d34bc5bc43e56b5960e 100644 GIT binary patch literal 766 zcmcIhI~Kw)3{!bM19L}?!L7Vz^s#arMs8pvrz!OFC<{)lM3SB6CBVQjO(PVK3vlIp zV@}LFb3pSz?>Gv;52dt;$R)F&)=DGtLxfgL4oQNuU{S;~QJ|*JAa|$WLc)%_n|UmN zEjPf}M$lo5W6hn?+js1_SuFkXk2pmSZr%Mg*O}zo>>u+i%Ke)^^Caxg;Qo6~Nuh#} jKS$%bJ_!wYzkQkF4-a(qfZzT8mURRwOaGPqKil~Qg02hH literal 1406 zcmeH_`%_eP7{)(TmR+Tr-OGw-3&;v8BFc@(BBZj~UCNM(6?Ds5%-Grr7c$*l+66XO zZZRR3p$m+PEnpx)FkAwJk;|CtfUY_=;K1Z?k4ta<=0DK%L+8x*`<`>Y?>x`@JkJ3y zxxKwPcdcIpOXW!+>z_}{WO=bzc2IhqE9Y$s3ky{C_v7m8Qw8zF(S}7#ba= zwWEWd>*`n&6N7tjkglE{I=Z`YRadiT-#&&%M(~_E#h}N7dtiVb@uNd{8k?Ib5nP+h zHaR`bA45ZUPM)M+^mZRQM00B^b@lbsh|WC~75pe3{53nv^vn!n3udz!lgWfpaxoYT==FMZIvw%x@o2SL;^N|nmb^3?4QjO-l}bgFSRxPpwi%KlymLTJ!94FS6$0yYKLS=ApZ8yzl81_uk^i zJDJYQ?g`1xzV7DWoV;&t=lQQPFTV3Jr}NgUA8}^oUc;+q`=Z+(+_B@PE0=%0GkXbd ze`#5~^wErr>n~lN?$~(+FPpx&a$(Mcd7`8(6#f zV`D(XmMzJFL8;rGxStq(;-(KbCw-(eeDYb!17U1@|IJlVv2TUG@WuzPtd3Ou+iw01 DCvtJ+ 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 { +} -- 2.39.5