Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added $bodytags variable in themes

  • Loading branch information...
commit 86fb51fe693e7af5149a9965f7f792b04b9fdca4 1 parent bc05b15
authored July 14, 2004
7  theme/UPGRADE.txt
@@ -258,3 +258,10 @@ TD.cal_event_description { }
258 258
 A IMG { }
259 259
 
260 260
 TABLE.formtable TD { }
  261
+
  262
+================================
  263
+Changes from 1.3.2 - 1.3.3
  264
+--------------------------------
  265
+
  266
+$bodytags variable is now included in header.html (important for SCORM)
  267
+
1  theme/brightretro/header.html
@@ -10,6 +10,7 @@
10 10
 </head>
11 11
 
12 12
 <body<?php 
  13
+   echo " $bodytags";
13 14
    if ($focus) { 
14 15
        echo " onload=setfocus()"; 
15 16
    } 
1  theme/cordoroyblue/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
5  theme/cornflower/header.html
@@ -9,12 +9,13 @@
9 9
 <?php include("$CFG->javascript"); ?>
10 10
 </head>
11 11
 
12  
-<body bgcolor="#006699">
13  
-<table align="center" width="100%" border="1" cellpadding="5" bgcolor="#739fc4" <?php 
  12
+<body bgcolor="#006699" <?php 
  13
+   echo " $bodytags";
14 14
    if ($focus) { 
15 15
        echo " onload=setfocus()"; 
16 16
    } 
17 17
 ?>>
  18
+<table align="center" width="100%" border="1" cellpadding="5" bgcolor="#739fc4">
18 19
 <td> 
19 20
   
20 21
 
1  theme/formal_white/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
1  theme/garden/header.html
@@ -10,6 +10,7 @@
10 10
 </head>
11 11
 
12 12
 <body<?php 
  13
+   echo " $bodytags";
13 14
    if ($focus) { 
14 15
        echo " onload=setfocus()"; 
15 16
    } 
1  theme/metal/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
1  theme/oceanblue/header.html
@@ -10,6 +10,7 @@
10 10
 </head>
11 11
 
12 12
 <body<?php 
  13
+   echo " $bodytags";
13 14
    if ($focus) { 
14 15
        echo " onload=setfocus()"; 
15 16
    } 
2  theme/poweraid/header.html
@@ -45,7 +45,7 @@
45 45
 <?php  include("$CFG->javascript"); ?>
46 46
 </HEAD>
47 47
 
48  
-<BODY <?php  if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\" topmargin=\"$THEME->topmargin\" leftmargin=\"$THEME->leftmargin\" marginheight=\"$THEME->marginheight\" marginwidth=\"$THEME->marginwidth\" />"; ?>
  48
+<BODY <?php  echo " $bodytags"; if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\" topmargin=\"$THEME->topmargin\" leftmargin=\"$THEME->leftmargin\" marginheight=\"$THEME->marginheight\" marginwidth=\"$THEME->marginwidth\" />"; ?>
49 49
 
50 50
 
51 51
 <?php  if ($home) {  // This is what gets printed on the home page only  ?>
1  theme/standard/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
1  theme/standardblue/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
1  theme/standardgreen/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
1  theme/standardlogo/header.html
@@ -10,6 +10,7 @@
10 10
 </head>
11 11
 
12 12
 <body<?php 
  13
+   echo " $bodytags";
13 14
    if ($focus) { 
14 15
        echo " onload=setfocus()"; 
15 16
    } 
1  theme/standardred/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 
1  theme/standardwhite/header.html
@@ -9,6 +9,7 @@
9 9
 </head>
10 10
 
11 11
 <body<?php 
  12
+   echo " $bodytags";
12 13
    if ($focus) { 
13 14
        echo " onload=setfocus()"; 
14 15
    } 

0 notes on commit 86fb51f

Please sign in to comment.
Something went wrong with that request. Please try again.