From f54b9b94de77447aa217835cd4082a9ec64b7b62 Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Sun, 13 Nov 2005 17:05:58 +0000 Subject: [PATCH] changed $CFG-theme to current_theme() to make the theme working as course or session theme, see Bug #4315 --- theme/formal_white/header.html | 90 +++++++++++----------- theme/metal/header.html | 90 +++++++++++----------- theme/oceanblue/header.html | 90 +++++++++++----------- theme/orangewhite/header.html | 84 ++++++++++---------- theme/orangewhitepda/header.html | 84 ++++++++++---------- theme/standard/header.html | 90 +++++++++++----------- theme/standardblue/header.html | 90 +++++++++++----------- theme/standardgreen/header.html | 90 +++++++++++----------- theme/standardlogo/header.html | 128 +++++++++++++++---------------- theme/standardred/header.html | 90 +++++++++++----------- theme/standardwhite/header.html | 90 +++++++++++----------- theme/wood/header.html | 90 +++++++++++----------- 12 files changed, 553 insertions(+), 553 deletions(-) diff --git a/theme/formal_white/header.html b/theme/formal_white/header.html index e1d5e167996..4c5f8822264 100644 --- a/theme/formal_white/header.html +++ b/theme/formal_white/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
/logo.jpg' />
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/metal/header.html b/theme/metal/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/metal/header.html +++ b/theme/metal/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/oceanblue/header.html b/theme/oceanblue/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/oceanblue/header.html +++ b/theme/oceanblue/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/orangewhite/header.html b/theme/orangewhite/header.html index d415ab8c166..6411b8c16c0 100644 --- a/theme/orangewhite/header.html +++ b/theme/orangewhite/header.html @@ -1,43 +1,43 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - - - -
- - -
-
-
-
- - - - - - - - + +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + + + + + +
\ No newline at end of file diff --git a/theme/orangewhitepda/header.html b/theme/orangewhitepda/header.html index d415ab8c166..f748b0054f1 100644 --- a/theme/orangewhitepda/header.html +++ b/theme/orangewhitepda/header.html @@ -1,43 +1,43 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - - - -
- - -
-
-
-
- - - - - - - - + +> + + + + <?php echo $title ?> + + javascript"); ?> + + + + +
+ + +
+
+
+
+ + + + + + + +
\ No newline at end of file diff --git a/theme/standard/header.html b/theme/standard/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/standard/header.html +++ b/theme/standard/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/standardblue/header.html b/theme/standardblue/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/standardblue/header.html +++ b/theme/standardblue/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/standardgreen/header.html b/theme/standardgreen/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/standardgreen/header.html +++ b/theme/standardgreen/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/standardlogo/header.html b/theme/standardlogo/header.html index f1993861864..6073154cbc3 100644 --- a/theme/standardlogo/header.html +++ b/theme/standardlogo/header.html @@ -1,64 +1,64 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- -dirroot.'/logo.jpg')) { - $standardlogo = $CFG->wwwroot.'/logo.jpg'; - } else if (file_exists($CFG->dirroot.'/logo.gif')) { - $standardlogo = $CFG->wwwroot.'/logo.gif'; - } else if (file_exists($CFG->dataroot.'/1/logo.jpg')) { - if (empty($CFG->slasharguments)) { - $standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.jpg'; - } else { - $standardlogo = $CFG->wwwroot.'/file.php/1/logo.jpg'; - } - } else if (file_exists($CFG->dataroot.'/1/logo.gif')) { - if (empty($CFG->slasharguments)) { - $standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.gif'; - } else { - $standardlogo = $CFG->wwwroot.'/file.php/1/logo.gif'; - } - } else { - $standardlogo = $CFG->wwwroot.'/theme/'.$CFG->theme.'/logo.gif'; - } -?> -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ +dirroot.'/logo.jpg')) { + $standardlogo = $CFG->wwwroot.'/logo.jpg'; + } else if (file_exists($CFG->dirroot.'/logo.gif')) { + $standardlogo = $CFG->wwwroot.'/logo.gif'; + } else if (file_exists($CFG->dataroot.'/1/logo.jpg')) { + if (empty($CFG->slasharguments)) { + $standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.jpg'; + } else { + $standardlogo = $CFG->wwwroot.'/file.php/1/logo.jpg'; + } + } else if (file_exists($CFG->dataroot.'/1/logo.gif')) { + if (empty($CFG->slasharguments)) { + $standardlogo = $CFG->wwwroot.'/file.php?file=/1/logo.gif'; + } else { + $standardlogo = $CFG->wwwroot.'/file.php/1/logo.gif'; + } + } else { + $standardlogo = $CFG->wwwroot.'/theme/'.current_theme().'/logo.gif'; + } +?> +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/standardred/header.html b/theme/standardred/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/standardred/header.html +++ b/theme/standardred/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/standardwhite/header.html b/theme/standardwhite/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/standardwhite/header.html +++ b/theme/standardwhite/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +
diff --git a/theme/wood/header.html b/theme/wood/header.html index b414cfa7250..670aba4c4dc 100644 --- a/theme/wood/header.html +++ b/theme/wood/header.html @@ -1,45 +1,45 @@ - -> - - - - <?php echo $title ?> - wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
 
- - - -
- -
 
- -
+ +> + + + + <?php echo $title ?> + + javascript"); ?> + + +> + +
+ + +
+
+
+
+ + + +
 
+ + + +
+ +
 
+ +