Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added $bodytags variable in themes

  • Loading branch information...
commit 86fb51fe693e7af5149a9965f7f792b04b9fdca4 1 parent bc05b15
moodler authored
7 theme/UPGRADE.txt
View
@@ -258,3 +258,10 @@ TD.cal_event_description { }
A IMG { }
TABLE.formtable TD { }
+
+================================
+Changes from 1.3.2 - 1.3.3
+--------------------------------
+
+$bodytags variable is now included in header.html (important for SCORM)
+
1  theme/brightretro/header.html
View
@@ -10,6 +10,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/cordoroyblue/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
5 theme/cornflower/header.html
View
@@ -9,12 +9,13 @@
<?php include("$CFG->javascript"); ?>
</head>
-<body bgcolor="#006699">
-<table align="center" width="100%" border="1" cellpadding="5" bgcolor="#739fc4" <?php
+<body bgcolor="#006699" <?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
?>>
+<table align="center" width="100%" border="1" cellpadding="5" bgcolor="#739fc4">
<td>
1  theme/formal_white/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/garden/header.html
View
@@ -10,6 +10,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/metal/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/oceanblue/header.html
View
@@ -10,6 +10,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
2  theme/poweraid/header.html
View
@@ -45,7 +45,7 @@
<?php include("$CFG->javascript"); ?>
</HEAD>
-<BODY <?php if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\" topmargin=\"$THEME->topmargin\" leftmargin=\"$THEME->leftmargin\" marginheight=\"$THEME->marginheight\" marginwidth=\"$THEME->marginwidth\" />"; ?>
+<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\" />"; ?>
<?php if ($home) { // This is what gets printed on the home page only ?>
1  theme/standard/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/standardblue/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/standardgreen/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/standardlogo/header.html
View
@@ -10,6 +10,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/standardred/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
1  theme/standardwhite/header.html
View
@@ -9,6 +9,7 @@
</head>
<body<?php
+ echo " $bodytags";
if ($focus) {
echo " onload=setfocus()";
}
Please sign in to comment.
Something went wrong with that request. Please try again.