diff --git a/modules/xerte/parent_templates/Nottingham/Nottingham.rlt b/modules/xerte/parent_templates/Nottingham/Nottingham.rlt
index 6c710d2a37..958f92d384 100644
--- a/modules/xerte/parent_templates/Nottingham/Nottingham.rlt
+++ b/modules/xerte/parent_templates/Nottingham/Nottingham.rlt
@@ -1 +1 @@
-
');
newChild = newXML.firstChild;
newChild.attributes.title = 'Main Menu';
newChild.attributes.linkID = extXML.firstChild.childNodes[i].attributes.linkID;
ifc.appendChild(newChild);
} else {
pgOffset = 1;
}
//custom interface
if (templateData.learningObject[0].controller != undefined){
icon.nextSibling.attributes.swf = templateData.learningObject[0].controller;
icon.nextSibling.attributes.visuals = 0;
}
//help file
if (templateData.learningObject[0].nfo != undefined){
icon.nextSibling.attributes.helpfile = templateData.learningObject[0].nfo;
}
//default text size
if (templateData.learningObject[0].textSize != undefined){
STYLES.defaultSize = templateData.learningObject[0].textSize;
STYLES.inputSize = templateData.learningObject[0].textSize;
}
//change page title size for all pages if optional property set
if (templateData.learningObject[0].allpagestitlesize != undefined){
STYLES.pageTitleSize = templateData.learningObject[0].allpagestitlesize;
}
//media/transcript files
if (templateData.learningObject[0].media != undefined){
icon.nextSibling.attributes.mediafile = templateData.learningObject[0].media;
if (templateData.learningObject[0].mediaImage != undefined){
icon.nextSibling.attributes.mediaImage = templateData.learningObject[0].mediaImage;
}
if (templateData.learningObject[0].mediaTranscript != undefined){
icon.nextSibling.attributes.mediaTranscript = templateData.learningObject[0].mediaTranscript;
}
}
for (i = 0; i < extXML.firstChild.childNodes.length; i++){
//build this file dynamically
modName = extXML.firstChild.childNodes[i].nodeName;
if (modName == 'xerteModel'){
newXML = new XML('');
//is there an initObject...?
if (extXML.firstChild.childNodes[i].attributes.initObject != undefined){
newXML.firstChild.attributes.initObject = extXML.firstChild.childNodes[i].attributes.initObject;
}
} else {
newXML = new XML('');
}
newChild = newXML.firstChild;
newChild.attributes.title = extXML.firstChild.childNodes[i].attributes.name;
newChild.attributes.linkID = extXML.firstChild.childNodes[i].attributes.linkID;
if (extXML.firstChild.childNodes[i].attributes.linkID == _level0.linkID && extXML.firstChild.childNodes[i].attributes.linkID != undefined){
linkIndex = i;
}
ifc.appendChild(newChild);
}
//glossary
if (templateData.learningObject[0].glossary != undefined){
Glossary.enabled = true;
items = templateData.learningObject[0].glossary.split('||');
for (i = 0; i < items.length; i++){
Glossary.addTerm(items[i].split('|')[0], items[i].split('|')[1]);
}
}
]]>
Colour Changes
]]>
\ No newline at end of file
+
');
newChild = newXML.firstChild;
newChild.attributes.title = 'Main Menu';
newChild.attributes.linkID = extXML.firstChild.childNodes[i].attributes.linkID;
ifc.appendChild(newChild);
} else {
pgOffset = 1;
}
//custom interface
if (templateData.learningObject[0].controller != undefined){
icon.nextSibling.attributes.swf = templateData.learningObject[0].controller;
icon.nextSibling.attributes.visuals = 0;
}
//help file
if (templateData.learningObject[0].nfo != undefined){
icon.nextSibling.attributes.helpfile = templateData.learningObject[0].nfo;
}
//default text size
if (templateData.learningObject[0].textSize != undefined){
STYLES.defaultSize = templateData.learningObject[0].textSize;
STYLES.inputSize = templateData.learningObject[0].textSize;
}
//change page title size for all pages if optional property set
if (templateData.learningObject[0].allpagestitlesize != undefined){
STYLES.pageTitleSize = templateData.learningObject[0].allpagestitlesize;
}
//media/transcript files
if (templateData.learningObject[0].media != undefined){
icon.nextSibling.attributes.mediafile = templateData.learningObject[0].media;
if (templateData.learningObject[0].mediaImage != undefined){
icon.nextSibling.attributes.mediaImage = templateData.learningObject[0].mediaImage;
}
if (templateData.learningObject[0].mediaTranscript != undefined){
icon.nextSibling.attributes.mediaTranscript = templateData.learningObject[0].mediaTranscript;
}
}
for (i = 0; i < extXML.firstChild.childNodes.length; i++){
//build this file dynamically
modName = extXML.firstChild.childNodes[i].nodeName;
if (modName == 'xerteModel'){
newXML = new XML('');
//is there an initObject...?
if (extXML.firstChild.childNodes[i].attributes.initObject != undefined){
newXML.firstChild.attributes.initObject = extXML.firstChild.childNodes[i].attributes.initObject;
}
} else {
newXML = new XML('');
}
newChild = newXML.firstChild;
newChild.attributes.title = extXML.firstChild.childNodes[i].attributes.name;
newChild.attributes.linkID = extXML.firstChild.childNodes[i].attributes.linkID;
if (extXML.firstChild.childNodes[i].attributes.linkID == _level0.linkID && extXML.firstChild.childNodes[i].attributes.linkID != undefined){
linkIndex = i;
}
ifc.appendChild(newChild);
}
//glossary
if (templateData.learningObject[0].glossary != undefined){
Glossary.enabled = true;
items = templateData.learningObject[0].glossary.split('||');
for (i = 0; i < items.length; i++){
Glossary.addTerm(items[i].split('|')[0], items[i].split('|')[1]);
}
}
]]>
Colour Changes
]]>
\ No newline at end of file