From 3adb7d0dfe1a5fbe23141bc659f371149d1e9415 Mon Sep 17 00:00:00 2001 From: Julian Tenney Date: Wed, 1 Aug 2012 14:22:01 +0000 Subject: [PATCH] Restoring to just linear nav git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@413 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641 --- modules/xerte/parent_templates/Nottingham/Nottingham.rlt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xerte/parent_templates/Nottingham/Nottingham.rlt b/modules/xerte/parent_templates/Nottingham/Nottingham.rlt index cd9becf5af..116c0cd084 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]); } } ]]> \ 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; } //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]); } } ]]> \ No newline at end of file