From 5b84315d132cae0fe251dc5ede2f6d0a645fa934 Mon Sep 17 00:00:00 2001
From: Julian Tenney
Date: Thu, 19 Jul 2012 07:37:01 +0000
Subject: [PATCH] Bringing the SVNs in synch
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@392 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
---
.../Nottingham/models/QRcode.rlm | 2 +-
.../Nottingham/models/accNav.rlm | 2 +-
.../Nottingham/models/annotatedDiagram.rlm | 2 +-
.../Nottingham/models/bullets.rlm | 2 +-
.../Nottingham/models/cMcq.rlm | 2 +-
.../Nottingham/models/cRedirector.rlm | 2 +-
.../models/connectorHotspotImage.rlm | 2 +-
.../Nottingham/models/connectorPlainText.rlm | 2 +-
.../Nottingham/models/customHotspots.rlm | 2 +-
.../Nottingham/models/flickr.rlm | 2 +-
.../Nottingham/models/gapFill.rlm | 2 +-
.../Nottingham/models/hangman.rlm | 2 +-
.../Nottingham/models/hotspotImage.rlm | 2 +-
.../Nottingham/models/imageViewer.rlm | 2 +-
.../Nottingham/models/inventory.rlm | 2 +-
.../Nottingham/models/jmol.rlm | 98 +------------------
.../Nottingham/models/links.rlm | 2 +-
.../Nottingham/models/list.rlm | 2 +-
.../Nottingham/models/mcq.rlm | 2 +-
.../Nottingham/models/menu.rlm | 2 +-
.../Nottingham/models/modelAnswer.rlm | 2 +-
.../Nottingham/models/modify.rlm | 2 +-
.../Nottingham/models/newWindow.rlm | 2 +-
.../Nottingham/models/quiz.rlm | 2 +-
.../Nottingham/models/rss.rlm | 2 +-
.../Nottingham/models/slideshow.rlm | 2 +-
.../Nottingham/models/textGraphics.rlm | 2 +-
.../Nottingham/models/textVideo.rlm | 2 +-
.../Nottingham/models/videoSynch.rlm | 2 +-
.../Nottingham/models/wiki.rlm | 2 +-
30 files changed, 30 insertions(+), 126 deletions(-)
diff --git a/modules/xerte/parent_templates/Nottingham/models/QRcode.rlm b/modules/xerte/parent_templates/Nottingham/models/QRcode.rlm
index 8e38f56b33..7502564b65 100644
--- a/modules/xerte/parent_templates/Nottingham/models/QRcode.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/QRcode.rlm
@@ -1 +1 @@
-
'+myurl.fileData+'';
qrcodelink=myurl.fileData;
qrcodelink="http://splashurl.net/qr.png?q="+qrcodelink;
} else {
mytext=''+myurl.fileData+'';
qrcodelink=myurl.fileData;
qrcodelink="http://splashurl.net/qr.png?q="+qrcodelink;
}]]>
\ No newline at end of file
+
'+myurl.fileData+'';
qrcodelink=myurl.fileData;
qrcodelink="http://splashurl.net/qr.png?q="+qrcodelink;
} else {
mytext=''+myurl.fileData+'';
qrcodelink=myurl.fileData;
qrcodelink="http://splashurl.net/qr.png?q="+qrcodelink;
}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/accNav.rlm b/modules/xerte/parent_templates/Nottingham/models/accNav.rlm
index 86997c4c6b..4ae0c2dd0b 100644
--- a/modules/xerte/parent_templates/Nottingham/models/accNav.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/accNav.rlm
@@ -1 +1 @@
-
tempIndex){
acc.customButtons[i]._y = acc.customButtons[0]._y + tempY + 21*i-1;
}
}]]>
\ No newline at end of file
+
tempIndex){
acc.customButtons[i]._y = acc.customButtons[0]._y + tempY + 21*i-1;
}
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/annotatedDiagram.rlm b/modules/xerte/parent_templates/Nottingham/models/annotatedDiagram.rlm
index b2f13adabb..5ed387dfb1 100644
--- a/modules/xerte/parent_templates/Nottingham/models/annotatedDiagram.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/annotatedDiagram.rlm
@@ -1 +1 @@
-
0){
hsCount = 0;
}
if (icon.attributes.built != "true"){
//build hotspots
if (hsCount > 0){
icon.nextSibling.getChildByName('protoLabel').duplicate(pageIcon.templateData.annotatedDiagram[projPI].hotspot.length - 1);
} else {
icon.nextSibling.getChildByName('protoLabel').removeNode();
}
//build hotspotGroups
if (pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup.length > 0){
icon.nextSibling.getChildByName('protoGroupLabel').duplicate(pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup.length - 1);
} else {
icon.nextSibling.getChildByName('protoGroupLabel').removeNode();
}
}
icon.attributes.built = "true";
hsData = pageIcon.templateData.annotatedDiagram[projPI];
shape = pageIcon.templateData.annotatedDiagram[projPI].shape;
]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[icon.parentNode.index() - 1].name + ''}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].text}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].text);
nfo.clear();
nfo.beginFill(0xFFFFCC,100);
nfo.lineStyle(0,0x666666,100);
nfo.drawRect(-5, -5, nfoW + 10, 489 - nfo._y);
nfo.fade('in', 0.3, 'None', 'easeNone',2);
tempLbl = eval(icon.parentNode.attributes.icon);
tempLbl.beginFill(col,60);
tempLbl.drawRect(0,0,textW,20);
destX = graphic._x + (Number(hsData.hotspot[currentIndex].x) + Number(hsData.hotspot[currentIndex].w) / 2) * scale;
destY = graphic._y + (Number(hsData.hotspot[currentIndex].y) + Number(hsData.hotspot[currentIndex].h) / 2) * scale;
destW = scale*(Number(hsData.hotspot[currentIndex].w) / 2);
destH = scale*(Number(hsData.hotspot[currentIndex].h) / 2);
drawing.clear();
drawing.lineStyle(2,col,100);
if (pageIcon.templateData.annotatedDiagram[projPI].align != 'Top'){
pX = tempLbl._x + tempLbl._width;
} else {
px = (tempLbl._x + tempLbl._width) / 2;
}
drawing.moveTo(pX,tempLbl._y + 10);
if (shape == "Oval"){
drawing.drawOval(destX,destY,destW,destH);
} else if (shape == "Rectangle"){
drawing.drawRect(destX - destW, destY - destH, destW*2,destH*2);
} else if (shape == "Arrow"){
drawing.beginFill(col,100);
drawing.arrowTo(tempLbl._x + tempLbl._width,tempLbl._y + 10,destX,destY);
} else {
drawing.lineTo(destX,destY);
}
]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[tempVar].name + ''}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].text}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[currentIndex].text);
nfo.clear();
nfo.beginFill(0xFFFFCC,100);
nfo.lineStyle(0,0x666666,100);
nfo.drawRect(-5, -5, nfoW + 10, 489 - nfo._y);
nfo.fade('in', 0.3, 'None', 'easeNone',2);
tempLbl = eval(icon.parentNode.attributes.icon);
tempLbl.beginFill(col,60);
tempLbl.drawRect(0,0,textW,20);
drawing.clear();
drawing.lineStyle(2,col,100);
groupData = pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[currentIndex];
for (i = 0; i < groupData.hotspot.length; i++){
destX = graphic._x + (Number(groupData.hotspot[i].x) + Number(groupData.hotspot[i].w) / 2) * scale;
destY = graphic._y + (Number(groupData.hotspot[i].y) + Number(groupData.hotspot[i].h) / 2) * scale;
destW = scale*(Number(groupData.hotspot[i].w) / 2);
destH = scale*(Number(groupData.hotspot[i].h) / 2);
if (pageIcon.templateData.annotatedDiagram[projPI].align != 'Top'){
pX = tempLbl._x + tempLbl._width;
} else {
px = (tempLbl._x + tempLbl._width) / 2;
}
drawing.moveTo(pX,tempLbl._y + 10);
if (shape == "Oval"){
drawing.drawOval(destX,destY,destW,destH);
} else if (shape == "Rectangle"){
drawing.drawRect(destX - destW, destY - destH, destW*2,destH*2);
} else if (shape == "Arrow"){
drawing.beginFill(col,100);
drawing.arrowTo(tempLbl._x + tempLbl._width,tempLbl._y + 10,destX,destY);
} else {
drawing.lineTo(destX,destY);
}
}
]]>
\ No newline at end of file
+
0){
hsCount = 0;
}
if (icon.attributes.built != "true"){
//build hotspots
if (hsCount > 0){
icon.nextSibling.getChildByName('protoLabel').duplicate(pageIcon.templateData.annotatedDiagram[projPI].hotspot.length - 1);
} else {
icon.nextSibling.getChildByName('protoLabel').removeNode();
}
//build hotspotGroups
if (pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup.length > 0){
icon.nextSibling.getChildByName('protoGroupLabel').duplicate(pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup.length - 1);
} else {
icon.nextSibling.getChildByName('protoGroupLabel').removeNode();
}
}
icon.attributes.built = "true";
hsData = pageIcon.templateData.annotatedDiagram[projPI];
shape = pageIcon.templateData.annotatedDiagram[projPI].shape;
]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[icon.parentNode.index() - 1].name + ''}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].text}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].text);
nfo.clear();
nfo.beginFill(0xFFFFCC,100);
nfo.lineStyle(0,0x666666,100);
nfo.drawRect(-5, -5, nfoW + 10, 489 - nfo._y);
nfo.fade('in', 0.3, 'None', 'easeNone',2);
tempLbl = eval(icon.parentNode.attributes.icon);
tempLbl.beginFill(col,60);
tempLbl.drawRect(0,0,textW,20);
destX = graphic._x + (Number(hsData.hotspot[currentIndex].x) + Number(hsData.hotspot[currentIndex].w) / 2) * scale;
destY = graphic._y + (Number(hsData.hotspot[currentIndex].y) + Number(hsData.hotspot[currentIndex].h) / 2) * scale;
destW = scale*(Number(hsData.hotspot[currentIndex].w) / 2);
destH = scale*(Number(hsData.hotspot[currentIndex].h) / 2);
drawing.clear();
drawing.lineStyle(2,col,100);
if (pageIcon.templateData.annotatedDiagram[projPI].align != 'Top'){
pX = tempLbl._x + tempLbl._width;
} else {
px = (tempLbl._x + tempLbl._width) / 2;
}
drawing.moveTo(pX,tempLbl._y + 10);
if (shape == "Oval"){
drawing.drawOval(destX,destY,destW,destH);
} else if (shape == "Rectangle"){
drawing.drawRect(destX - destW, destY - destH, destW*2,destH*2);
} else if (shape == "Arrow"){
drawing.beginFill(col,100);
drawing.arrowTo(tempLbl._x + tempLbl._width,tempLbl._y + 10,destX,destY);
} else {
drawing.lineTo(destX,destY);
}
]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[tempVar].name + ''}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspot[currentIndex].text}]]>
' + pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[currentIndex].name + '
' + pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[currentIndex].text);
nfo.clear();
nfo.beginFill(0xFFFFCC,100);
nfo.lineStyle(0,0x666666,100);
nfo.drawRect(-5, -5, nfoW + 10, 489 - nfo._y);
nfo.fade('in', 0.3, 'None', 'easeNone',2);
tempLbl = eval(icon.parentNode.attributes.icon);
tempLbl.beginFill(col,60);
tempLbl.drawRect(0,0,textW,20);
drawing.clear();
drawing.lineStyle(2,col,100);
groupData = pageIcon.templateData.annotatedDiagram[projPI].hotspotGroup[currentIndex];
for (i = 0; i < groupData.hotspot.length; i++){
destX = graphic._x + (Number(groupData.hotspot[i].x) + Number(groupData.hotspot[i].w) / 2) * scale;
destY = graphic._y + (Number(groupData.hotspot[i].y) + Number(groupData.hotspot[i].h) / 2) * scale;
destW = scale*(Number(groupData.hotspot[i].w) / 2);
destH = scale*(Number(groupData.hotspot[i].h) / 2);
if (pageIcon.templateData.annotatedDiagram[projPI].align != 'Top'){
pX = tempLbl._x + tempLbl._width;
} else {
px = (tempLbl._x + tempLbl._width) / 2;
}
drawing.moveTo(pX,tempLbl._y + 10);
if (shape == "Oval"){
drawing.drawOval(destX,destY,destW,destH);
} else if (shape == "Rectangle"){
drawing.drawRect(destX - destW, destY - destH, destW*2,destH*2);
} else if (shape == "Arrow"){
drawing.beginFill(col,100);
drawing.arrowTo(tempLbl._x + tempLbl._width,tempLbl._y + 10,destX,destY);
} else {
drawing.lineTo(destX,destY);
}
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/bullets.rlm b/modules/xerte/parent_templates/Nottingham/models/bullets.rlm
index f13ef81e98..7d0b633ed8 100644
--- a/modules/xerte/parent_templates/Nottingham/models/bullets.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/bullets.rlm
@@ -1 +1 @@
-
" + bullets[icon.parentNode.index()] + "");
} else {
b.setText(bullets[icon.parentNode.index()]);
}
// set up y for next bullet
nextY = b._y + b._height + 10;]]>
\ No newline at end of file
+
" + bullets[icon.parentNode.index()] + "");
} else {
b.setText(bullets[icon.parentNode.index()]);
}
// set up y for next bullet
nextY = b._y + b._height + 10;]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/cMcq.rlm b/modules/xerte/parent_templates/Nottingham/models/cMcq.rlm
index 1670f20b9d..e9f74e213a 100644
--- a/modules/xerte/parent_templates/Nottingham/models/cMcq.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/cMcq.rlm
@@ -1 +1 @@
-
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}
]]>
" + destPageName + "
" + notFoundMessage)
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
maxTextLength){
maxTextLength = pageIcon.templateData.cMcq[projPI].cOption[i].text.length;
}
routingInfoText = routingInfoText + "" + pageIcon.templateData.cMcq[projPI].cOption[i].destination + "
";
}
// position destination information
// maxTextLength is in characters - need to add a multiplier to allow for character width
maxTextLength = maxTextLength * 6.5;
routingInfoX += maxTextLength + Number(prpt._x) + 45;
routingInfoY = Number(prpt._y) + Number(prpt._height) + 26;
}
]]>
\ No newline at end of file
+
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}
]]>
" + destPageName + "
" + notFoundMessage)
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
maxTextLength){
maxTextLength = pageIcon.templateData.cMcq[projPI].cOption[i].text.length;
}
routingInfoText = routingInfoText + "" + pageIcon.templateData.cMcq[projPI].cOption[i].destination + "
";
}
// position destination information
// maxTextLength is in characters - need to add a multiplier to allow for character width
maxTextLength = maxTextLength * 6.5;
routingInfoX += maxTextLength + Number(prpt._x) + 45;
routingInfoY = Number(prpt._y) + Number(prpt._height) + 26;
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/cRedirector.rlm b/modules/xerte/parent_templates/Nottingham/models/cRedirector.rlm
index 7f31b3f2ba..65649e6bc1 100644
--- a/modules/xerte/parent_templates/Nottingham/models/cRedirector.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/cRedirector.rlm
@@ -1 +1 @@
-
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}]]>
" + destPageName + "
" + notFoundMessage)
}
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
\ No newline at end of file
+
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}]]>
" + destPageName + "
" + notFoundMessage)
}
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/connectorHotspotImage.rlm b/modules/xerte/parent_templates/Nottingham/models/connectorHotspotImage.rlm
index 53e666356c..45aa0b278f 100644
--- a/modules/xerte/parent_templates/Nottingham/models/connectorHotspotImage.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/connectorHotspotImage.rlm
@@ -1 +1 @@
-
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}]]>
" + destPageName + "
" + notFoundMessage)
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
= heightRatio){
fullWidth = parseInt(initW * heightRatio);
fullHeight = parseInt(initH * heightRatio);
} else {
fullWidth = initW * widthRatio;
fullHeight = initH * widthRatio;
}
buttonX = movie._x + movie._width - 30 - continueBtnWidth;
if(myStartFrame != undefined){
movie.flvPlayer.seek(myStartFrame));
}
]]>
Number(myEndFrame)){
movie.pause();
movie.flvPlayer.seek(Number(myStartFrame));
}
}
]]>
\ No newline at end of file
+
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}]]>
" + destPageName + "
" + notFoundMessage)
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
= heightRatio){
fullWidth = parseInt(initW * heightRatio);
fullHeight = parseInt(initH * heightRatio);
} else {
fullWidth = initW * widthRatio;
fullHeight = initH * widthRatio;
}
buttonX = movie._x + movie._width - 30 - continueBtnWidth;
if(myStartFrame != undefined){
movie.flvPlayer.seek(myStartFrame));
}
]]>
Number(myEndFrame)){
movie.pause();
movie.flvPlayer.seek(Number(myStartFrame));
}
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/connectorPlainText.rlm b/modules/xerte/parent_templates/Nottingham/models/connectorPlainText.rlm
index ce9eb47842..484e15174f 100644
--- a/modules/xerte/parent_templates/Nottingham/models/connectorPlainText.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/connectorPlainText.rlm
@@ -1 +1 @@
-
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}]]>
" + destPageName + "
" + notFoundMessage)
}
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
\ No newline at end of file
+
';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + reportTitle + '';
clipBoardText = clipBoardText + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + chr(13) + chr(10);
clipBoardText = clipBoardText + '' + pageLabel + ' | ' + titleLabel + ' | ' + idLabel + ' |
' + chr(13) + chr(10);
for (i = 0; i < pageID_array.length; i++){
clipBoardText = clipBoardText + '' + (i + 1) + ' | ' + pageTitle_array[i] + ' | ' + pageID_array[i] + ' |
' + chr(13) + chr(10);
}
clipBoardText = clipBoardText + '
' + chr(13) + chr(10);
System.setClipboard(clipBoardText);
} else {
// do nothing
}]]>
" + destPageName + "
" + notFoundMessage)
}
}
}
if ((pageMode == "development") && (pageFound == "false")){
// set up page not found text box
txtPageNotFound.clear();
txtPageNotFound.beginFill(0xFFFFCC, 100);
txtPageNotFound.lineStyle(1,0x000000,100);
txtPageNotFound.drawRect(-10,-10,250,200,20);
txtPageNotFound._visible = 1;
txtPageNotFound.wipe('in',0.25,'Strong','easeIn',2)
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/customHotspots.rlm b/modules/xerte/parent_templates/Nottingham/models/customHotspots.rlm
index 7ff912dc7e..6c36458037 100644
--- a/modules/xerte/parent_templates/Nottingham/models/customHotspots.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/customHotspots.rlm
@@ -1 +1 @@
-
' + hotspotsTxt + ''}]]>
' + draw.currentShape.label + '
' + draw.currentShape.info);
]]>
' + labelsTxt + ''}]]>
' + tempLabel.txt.text + '
' + tempPG.info);
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x333333,100);
fb.drawRect(0,0,260,384 - fb._y);
//flag for info
tempPG.matched = true;
}]]>
' + tempLabel.txt.text + '
' + tempPG.info);
fb.lineStyle(0,0x
}]]>
' + showMeTxt + ''}]]>
' + labels[acIndex].shape.label + '
' + labels[acIndex].shape.info);
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x333333,100);
fb.drawRect(0,0,260,474 - fb._y);
]]>
' + labels[acIndex].shape.label + '
' + labels[acIndex].shape.info);
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x333333,100);
fb.drawRect(0,0,260,474 - fb._y);]]>
Question ' + quizDec.repCount + ' of ' + labels.length + ''}
if (nQValue == "n"){
// number preceeds count
orientText = "" + beforeQuesCount + " " + quizDec.repCount + " " + betweenQuesCount + " " + labels.length + " " + afterQuesCount + ""
} else {
// count preceeds number
orientText = "" + beforeQuesCount + " " + labels.length + " " + betweenQuesCount + " " + quizDec.repCount + " " + afterQuesCount + ""
}
orient.setText(orientText);
//hide the shapes
for (i = 0; i < draw.shapes.length; i++){
if (draw.shapes[i].type != 'image' && draw.shapes[i].type != 'line'){
draw.shapes[i]._alpha = 0;
}
}
count++;
q = icon.parentNode.index();
labels[q].shape._alpha = 100;
labels[q].shape.refreshShape(lw,hCol,100,lc,40);
//add the right answer and 3 wrong answers to the question, randomly
answersArray = new Array();
answersArray.push(labels[q].label);
noOptions = 4;
uniqueLabels = new Array();
for (i=0; i
Move on to the next question.");
feedback.setText(wrong1stTxt + " " + option + " " + wrong2ndTxt + " " + labels[q].label + ".
" + continueTxt);
for (i = 0; i < labels.length; i++){
if (labels[i].label == option){
labels[i].shape._alpha = 100;
labels[i].shape.refreshShape(2,0x00FF00,100,0x00FF00,40);
break;
}
}
}
op1.setEnabled(false);
op2.setEnabled(false);
op3.setEnabled(false);
op4.setEnabled(false);
btnCheck.setEnabled(false);
btnNext.setEnabled(true);
} else {
// feedback.setText("You haven't selected an option.");
feedback.setText(noOptionTxt);
}
]]>
Score
You scored ' + score + ' out of ' + icon.previousSibling.childNodes.length + ' in the quiz.
You can retake the quiz at any time.'}
scorePhrase = "" + scoreLabel + "
" + beforeScore + " " + score + " " + betweenScore + " " + quesCount + " " + afterScore + "
" + onCompletion;
} else {
// number of questions preceeds score
scorePhrase = "" + scoreLabel + "
" + beforeScore + " " + quesCount + " " + betweenScore + " " + score + " " + afterScore + "
" + onCompletion;
}
quizDec.exit();
}]]>
\ No newline at end of file
+
' + hotspotsTxt + ''}]]>
' + draw.currentShape.label + '
' + draw.currentShape.info);
]]>
' + labelsTxt + ''}]]>
' + tempLabel.txt.text + '
' + tempPG.info);
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x333333,100);
fb.drawRect(0,0,260,384 - fb._y);
//flag for info
tempPG.matched = true;
}]]>
' + tempLabel.txt.text + '
' + tempPG.info);
fb.lineStyle(0,0x
}]]>
' + showMeTxt + ''}]]>
' + labels[acIndex].shape.label + '
' + labels[acIndex].shape.info);
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x333333,100);
fb.drawRect(0,0,260,474 - fb._y);
]]>
' + labels[acIndex].shape.label + '
' + labels[acIndex].shape.info);
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x333333,100);
fb.drawRect(0,0,260,474 - fb._y);]]>
Question ' + quizDec.repCount + ' of ' + labels.length + ''}
if (nQValue == "n"){
// number preceeds count
orientText = "" + beforeQuesCount + " " + quizDec.repCount + " " + betweenQuesCount + " " + labels.length + " " + afterQuesCount + ""
} else {
// count preceeds number
orientText = "" + beforeQuesCount + " " + labels.length + " " + betweenQuesCount + " " + quizDec.repCount + " " + afterQuesCount + ""
}
orient.setText(orientText);
//hide the shapes
for (i = 0; i < draw.shapes.length; i++){
if (draw.shapes[i].type != 'image' && draw.shapes[i].type != 'line'){
draw.shapes[i]._alpha = 0;
}
}
count++;
q = icon.parentNode.index();
labels[q].shape._alpha = 100;
labels[q].shape.refreshShape(lw,hCol,100,lc,40);
//add the right answer and 3 wrong answers to the question, randomly
answersArray = new Array();
answersArray.push(labels[q].label);
noOptions = 4;
uniqueLabels = new Array();
for (i=0; i
Move on to the next question.");
feedback.setText(wrong1stTxt + " " + option + " " + wrong2ndTxt + " " + labels[q].label + ".
" + continueTxt);
for (i = 0; i < labels.length; i++){
if (labels[i].label == option){
labels[i].shape._alpha = 100;
labels[i].shape.refreshShape(2,0x00FF00,100,0x00FF00,40);
break;
}
}
}
op1.setEnabled(false);
op2.setEnabled(false);
op3.setEnabled(false);
op4.setEnabled(false);
btnCheck.setEnabled(false);
btnNext.setEnabled(true);
} else {
// feedback.setText("You haven't selected an option.");
feedback.setText(noOptionTxt);
}
]]>
Score
You scored ' + score + ' out of ' + icon.previousSibling.childNodes.length + ' in the quiz.
You can retake the quiz at any time.'}
scorePhrase = "" + scoreLabel + "
" + beforeScore + " " + score + " " + betweenScore + " " + quesCount + " " + afterScore + "
" + onCompletion;
} else {
// number of questions preceeds score
scorePhrase = "" + scoreLabel + "
" + beforeScore + " " + quesCount + " " + betweenScore + " " + score + " " + afterScore + "
" + onCompletion;
}
quizDec.exit();
}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/flickr.rlm b/modules/xerte/parent_templates/Nottingham/models/flickr.rlm
index e452c5ccb1..63eb0ab0ba 100644
--- a/modules/xerte/parent_templates/Nottingham/models/flickr.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/flickr.rlm
@@ -1 +1 @@
-
0){
imageIndex--;
imageInteraction.broadcast('getImage');
}
]]>
");
myImg.sendAndLoad(reqXML, url);]]>
");
myImg.sendAndLoad(reqXML, url);
]]>
' + ccLicenses[myImg.templateData.rsp[0].photo[0].license].desc + '';
url = "http://api.flickr.com/services/rest/"
url += "?api_key=8f6f38d31f048a90c436583a6ac92e47";
url += "&method=flickr.photos.getSizes";
url += "&photo_id=" + id ;
reqXML = new XML("");
myImg.sendAndLoad(reqXML, url);
]]>
\ No newline at end of file
+
0){
imageIndex--;
imageInteraction.broadcast('getImage');
}
]]>
");
myImg.sendAndLoad(reqXML, url);]]>
");
myImg.sendAndLoad(reqXML, url);
]]>
' + ccLicenses[myImg.templateData.rsp[0].photo[0].license].desc + '';
url = "http://api.flickr.com/services/rest/"
url += "?api_key=8f6f38d31f048a90c436583a6ac92e47";
url += "&method=flickr.photos.getSizes";
url += "&photo_id=" + id ;
reqXML = new XML("");
myImg.sendAndLoad(reqXML, url);
]]>
= 500 || myImg.templateData.rsp[0].sizes[0].size[i].height >= 400){
sizeIndex = i;
break; // we have a picture big enough
} else {
if (myImg.templateData.rsp[0].sizes[0].size[i].width >= maxWidth){
// we have a new largest picture
sizeIndex = i;
maxWidth = parseInt(myImg.templateData.rsp[0].sizes[0].size[i].width);
}
}
}
img = myImg.templateData.rsp[0].sizes[0].size[sizeIndex].source;
myImg.loadImage(img);]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/gapFill.rlm b/modules/xerte/parent_templates/Nottingham/models/gapFill.rlm
index 0e375abd45..0e773607a7 100644
--- a/modules/xerte/parent_templates/Nottingham/models/gapFill.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/gapFill.rlm
@@ -1 +1 @@
-
mainText._width - labels[i]._width){
initX = 0;
initY += 20;
}
//store the initX and Y for replacement
labels[i].initX = labels[i]._x;
labels[i].initY = labels[i]._y;
}
if (icon.attributes.built != 'true'){
icon.nextSibling.firstChild.removeNode();
icon.attributes.built = 'true';
}
} else { //fill in the blnk
lbls.removeMovieClip();
icon.nextSibling.childNodes[1].removeNode();
if (icon.attributes.built != 'true'){
icon.nextSibling.firstChild.duplicate(targets.length - 1);
icon.attributes.built = 'true';
for ( i = 0; i < targets.length; i++){
icon.nextSibling.childNodes[i].attributes.answer = targets[i].string;
}
}
}
lbls.tabChildren = false;
count = 0;
]]>
' + tf.text + '';
count++;
targets[icon.parentNode.index()].mask.clear();
Selection.setFocus(icon.parentNode.nextSibling.clip());
if (count == targets.length){
gapInt.broadcast("showFeedback");
}
} else { //not correct yet
hint.removeMovieClip();
if (tf.text != ans.substr(0, tf.text.length)){
tf.attempts++;
}
if (tf.attempts >= Math.floor(ans.length / 3)){
gapInt.broadcast('showHint');
}
}
]]>
Math.floor(ans.length / 3)){
hintStr = ans.substr(0,1);
for (i = 1; i < ans.length; i++){
hintStr += '_';
}
}
//last letter
if (tf.attempts > Math.floor(ans.length / 1.5)){
hintStr = ans.substr(0,1);
for (i = 1; i < ans.length - 1; i++){
hintStr += '_';
}
hintStr += ans.substr(ans.length - 1);
}
//random letter
if (tf.attempts > ans.length){
hintStr = ans.substr(0,1);
for (i = 1; i < ans.length - 1; i++){
if (Math.random() < 0.6){
hintStr += '_';
} else {
hintStr += ans.substr(i,1);
}
}
hintStr += ans.substr(ans.length - 1);
tf.hinted = true;
}
tf.hintString = hintStr;
}
]]>
\ No newline at end of file
+
mainText._width - labels[i]._width){
initX = 0;
initY += 20;
}
//store the initX and Y for replacement
labels[i].initX = labels[i]._x;
labels[i].initY = labels[i]._y;
}
if (icon.attributes.built != 'true'){
icon.nextSibling.firstChild.removeNode();
icon.attributes.built = 'true';
}
} else { //fill in the blnk
lbls.removeMovieClip();
icon.nextSibling.childNodes[1].removeNode();
if (icon.attributes.built != 'true'){
icon.nextSibling.firstChild.duplicate(targets.length - 1);
icon.attributes.built = 'true';
for ( i = 0; i < targets.length; i++){
icon.nextSibling.childNodes[i].attributes.answer = targets[i].string;
}
}
}
lbls.tabChildren = false;
count = 0;
]]>
' + tf.text + '';
count++;
targets[icon.parentNode.index()].mask.clear();
Selection.setFocus(icon.parentNode.nextSibling.clip());
if (count == targets.length){
gapInt.broadcast("showFeedback");
}
} else { //not correct yet
hint.removeMovieClip();
if (tf.text != ans.substr(0, tf.text.length)){
tf.attempts++;
}
if (tf.attempts >= Math.floor(ans.length / 3)){
gapInt.broadcast('showHint');
}
}
]]>
Math.floor(ans.length / 3)){
hintStr = ans.substr(0,1);
for (i = 1; i < ans.length; i++){
hintStr += '_';
}
}
//last letter
if (tf.attempts > Math.floor(ans.length / 1.5)){
hintStr = ans.substr(0,1);
for (i = 1; i < ans.length - 1; i++){
hintStr += '_';
}
hintStr += ans.substr(ans.length - 1);
}
//random letter
if (tf.attempts > ans.length){
hintStr = ans.substr(0,1);
for (i = 1; i < ans.length - 1; i++){
if (Math.random() < 0.6){
hintStr += '_';
} else {
hintStr += ans.substr(i,1);
}
}
hintStr += ans.substr(ans.length - 1);
tf.hinted = true;
}
tf.hintString = hintStr;
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/hangman.rlm b/modules/xerte/parent_templates/Nottingham/models/hangman.rlm
index d49705e2a3..8c0683467d 100644
--- a/modules/xerte/parent_templates/Nottingham/models/hangman.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/hangman.rlm
@@ -1 +1 @@
-
Exercise 1 of ' + words.length + '
'}]]>
Exercise ' + (wordsFW.currentPage + 1) + ' of ' + words.length + '');
otn.setText('' + beforeQuesCount + ' 1 ' + betweenQuesCount + ' ' + words.length + ' ' + afterQuesCount + '
');
} else {
// count before item number
otn.setText('' + beforeQuesCount + ' ' + words.length + ' ' + betweenQuesCount + ' 1 ' + afterQuesCount + '
');
}]]>
Exercise ' + (wordsFW.currentPage + 1) + ' of ' + words.length + '');
otn.setText('' + beforeQuesCount + ' ' + (wordsFW.currentPage + 1) + ' ' + betweenQuesCount + ' ' + words.length + ' ' + afterQuesCount + '
');
} else {
// count before item number
otn.setText('' + beforeQuesCount + ' ' + words.length + ' ' + betweenQuesCount + ' ' + (wordsFW.currentPage + 1) + ' ' + afterQuesCount + '
');
}
/*
// set up display message
if(nQValue == "n"){
// item number before count
// otn.setText('Exercise ' + (wordsFW.currentPage + 1) + ' of ' + words.length + '
');
otn.setText(" + beforeQuesCount + " 1 " + betweenQuesCount + " " + words.length + " " + afterQuesCount + "
");
} else {
// count before item number
otn.setText(" + beforeQuesCount + " " + words.length + " " + betweenQuesCount + " 1 " + afterQuesCount + "
");
}
*/ ]]>
' + dis + '
'}]]>
' + dis + '
');
if (found == false){
usedLetters[l] = true;
usedStr += l;
used.setText(usedStr);
hangGraphics.clip.gotoAndStop(usedStr.length + 1);
}
}
if (dis.indexOf('_') == -1){
btnNext.setEnabled(true);
w.setText('' + dis + '
');
}
if (usedStr.length == 10){
btnNext.setEnabled(true);
w.setText('' + word + '
');
}
]]>
\ No newline at end of file
+
Exercise 1 of ' + words.length + ''}]]>
' + wordGuide + '');
]]>
' + wordGuide + ''); ]]>
' + dis + '
'}]]>
' + dis + '
');
if (found == false){
usedLetters[l] = true;
usedStr += l;
used.setText(usedStr);
hangGraphics.clip.gotoAndStop(usedStr.length + 1);
}
}
if (dis.indexOf('_') == -1){
btnNext.setEnabled(true);
w.setText('' + dis + '
');
}
if (usedStr.length == 10){
btnNext.setEnabled(true);
w.setText('' + word + '
');
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/hotspotImage.rlm b/modules/xerte/parent_templates/Nottingham/models/hotspotImage.rlm
index 537cde78b5..390f311e71 100644
--- a/modules/xerte/parent_templates/Nottingham/models/hotspotImage.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/hotspotImage.rlm
@@ -1 +1 @@
-
' + hsData.hotspot[icon.parentNode.index()].name + '
' + hsData.hotspot[icon.parentNode.index()].text}]]>
' + hsData.hotspot[icon.parentNode.index()].name + '
' + hsData.hotspot[icon.parentNode.index()].text);
fb.clear();
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x666666,100);
fb.drawRect(-5,-0,textWidth, fbH + 30);
fb.fade('in', 0.3, 'None', 'easeNone',2);
]]>
0){
currentHS--;
}
]]>
' + hsData.hotspot[currentHS].name + '
' + hsData.hotspot[currentHS].text}]]>
' + hsData.hotspot[currentHS].name + '
' + hsData.hotspot[currentHS].text}]]>
\ No newline at end of file
+
' + hsData.hotspot[icon.parentNode.index()].name + '
' + hsData.hotspot[icon.parentNode.index()].text}]]>
' + hsData.hotspot[icon.parentNode.index()].name + '
' + hsData.hotspot[icon.parentNode.index()].text);
fb.clear();
fb.beginFill(0xFFFFCC,100);
fb.lineStyle(1,0x666666,100);
fb.drawRect(-5,-0,textWidth, fbH + 30);
fb.fade('in', 0.3, 'None', 'easeNone',2);
]]>
0){
currentHS--;
}
]]>
' + hsData.hotspot[currentHS].name + '
' + hsData.hotspot[currentHS].text}]]>
' + hsData.hotspot[currentHS].name + '
' + hsData.hotspot[currentHS].text}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/imageViewer.rlm b/modules/xerte/parent_templates/Nottingham/models/imageViewer.rlm
index 72a432b072..6c4b98039e 100644
--- a/modules/xerte/parent_templates/Nottingham/models/imageViewer.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/imageViewer.rlm
@@ -1 +1 @@
-
maskW * 1.25){
if (graphic._width > maskW * 1.25){
graphic._xscale *= 0.8;
graphic._yscale *= 0.8;
graphic._x += (graphic._width*1.25 - graphic._width) / 2;
graphic._y += (graphic._height*1.25 - graphic._height) / 2;
if (graphic._x > maskX){
graphic._x = maskX;
}
if (graphic._y > maskY){
graphic._y = maskY;
}
if (graphic._x + graphic._width < maskX + maskW){
graphic._x = maskX + maskW - graphic._width;
}
if (graphic._y + graphic._height < maskY + maskH){
graphic._y = maskY + maskH - graphic._height;
}
}
} else if (mode == 'select'){
selecting = true;
mouseX = mask._xmouse;
mouseY = mask._ymouse;
}
]]>
50 && Math.abs(mouseY - mask._ymouse) > 50){
scaleFactor = maskW / Math.abs(mask._xmouse - mouseX);
graphic._x = maskX - (mouseX - graphic._x) * scaleFactor;
graphic._y = maskY - (mouseY - graphic._y) * scaleFactor;
//scale the image by maskW / selectW
graphic._xscale *= scaleFactor;
graphic._yscale *= scaleFactor;
}
}
]]>
50 && Math.abs(mouseY - mask._ymouse) > 50){
scaleFactor = maskW / Math.abs(mask._xmouse - mouseX);
graphic._x = maskX - (mouseX - graphic._x) * scaleFactor;
graphic._y = maskY - (mouseY - graphic._y) * scaleFactor;
//scale the image by maskW / selectW
graphic._xscale *= scaleFactor;
graphic._yscale *= scaleFactor;
}
}]]>
mask._y + mask._height) {
graphic._y -= 20;
}
}
if (Key.isDown(Key.UP)){
if (graphic._y <= mask._y){
graphic._y += 20;
}
}
if (Key.isDown(Key.LEFT)){
if (graphic._x < maskX){
graphic._x += 20;
}
}
if (Key.isDown(Key.RIGHT)){
if (graphic._x + graphic._width > mask._x + mask._width){
graphic._x -= 20;
}
}]]>
maskW*1.25){
graphic._xscale *= 0.8;
graphic._yscale *= 0.8;
graphic._x += (graphic._width*1.25 - graphic._width) / 2;
graphic._y += (graphic._height*1.25 - graphic._height) / 2;
if (graphic._x > maskX){
graphic._x = maskX;
}
if (graphic._y > maskY){
graphic._y = maskY;
}
if (graphic._x + graphic._width < maskX + maskW){
graphic._x = maskX + maskW - graphic._width;
}
if (graphic._y + graphic._height < maskY + maskH){
graphic._y = maskY + maskH - graphic._height;
}
}]]>
\ No newline at end of file
+
maskW * 1.25){
if (graphic._width > maskW * 1.25){
graphic._xscale *= 0.8;
graphic._yscale *= 0.8;
graphic._x += (graphic._width*1.25 - graphic._width) / 2;
graphic._y += (graphic._height*1.25 - graphic._height) / 2;
if (graphic._x > maskX){
graphic._x = maskX;
}
if (graphic._y > maskY){
graphic._y = maskY;
}
if (graphic._x + graphic._width < maskX + maskW){
graphic._x = maskX + maskW - graphic._width;
}
if (graphic._y + graphic._height < maskY + maskH){
graphic._y = maskY + maskH - graphic._height;
}
}
} else if (mode == 'select'){
selecting = true;
mouseX = mask._xmouse;
mouseY = mask._ymouse;
}
]]>
50 && Math.abs(mouseY - mask._ymouse) > 50){
scaleFactor = maskW / Math.abs(mask._xmouse - mouseX);
graphic._x = maskX - (mouseX - graphic._x) * scaleFactor;
graphic._y = maskY - (mouseY - graphic._y) * scaleFactor;
//scale the image by maskW / selectW
graphic._xscale *= scaleFactor;
graphic._yscale *= scaleFactor;
}
}
]]>
50 && Math.abs(mouseY - mask._ymouse) > 50){
scaleFactor = maskW / Math.abs(mask._xmouse - mouseX);
graphic._x = maskX - (mouseX - graphic._x) * scaleFactor;
graphic._y = maskY - (mouseY - graphic._y) * scaleFactor;
//scale the image by maskW / selectW
graphic._xscale *= scaleFactor;
graphic._yscale *= scaleFactor;
}
}]]>
mask._y + mask._height) {
graphic._y -= 20;
}
}
if (Key.isDown(Key.UP)){
if (graphic._y <= mask._y){
graphic._y += 20;
}
}
if (Key.isDown(Key.LEFT)){
if (graphic._x < maskX){
graphic._x += 20;
}
}
if (Key.isDown(Key.RIGHT)){
if (graphic._x + graphic._width > mask._x + mask._width){
graphic._x -= 20;
}
}]]>
maskW*1.25){
graphic._xscale *= 0.8;
graphic._yscale *= 0.8;
graphic._x += (graphic._width*1.25 - graphic._width) / 2;
graphic._y += (graphic._height*1.25 - graphic._height) / 2;
if (graphic._x > maskX){
graphic._x = maskX;
}
if (graphic._y > maskY){
graphic._y = maskY;
}
if (graphic._x + graphic._width < maskX + maskW){
graphic._x = maskX + maskW - graphic._width;
}
if (graphic._y + graphic._height < maskY + maskH){
graphic._y = maskY + maskH - graphic._height;
}
}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/inventory.rlm b/modules/xerte/parent_templates/Nottingham/models/inventory.rlm
index 806464fe5f..aaa24dbbea 100644
--- a/modules/xerte/parent_templates/Nottingham/models/inventory.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/inventory.rlm
@@ -1 +1 @@
-
" + beforeQuesCount + " ";
if (nQValue == "n"){
invPrompt = invPrompt + inventory.repCount + " " + betweenQuesCount + " " + qCount + " " + afterQuesCount + "";
} else {
invPrompt = invPrompt + qCount + " " + betweenQuesCount + " " + inventory.repCount + " " + afterQuesCount + "";
}
invPrompt = invPrompt + "
" + pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].prompt;
//{'Question ' + inventory.repCount + ' of ' + qCount + '
' + pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].prompt}]]>
2 && icon.attributes.built != 'true'){
icon.nextSibling.childNodes[1].duplicate(ln - 2);
icon.attributes.built = 'true';
}
//multi answer? then display check boxes rather than radio buttons
if (pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].type == 'Multiple Answer'){
for (i = 0; i < ln; i++){
icon.nextSibling.childNodes[i].attributes.type="checkBox";
}
}
// sets up optionTracking array with one element per option and set element values to 0
optionTracking = new Array();
for (i = 0; i < ln; i++){
optionTracking[i] = 0;
// all options are correct in an inventory
// check boxes are only flagged as 1 in optionTracking if they are selected and have their correct
// attribute set
icon.nextSibling.childNodes[i].attributes.correct = 1;
}
]]>
' + testModeText + '
' + fb;
}
else {
// in live mode
if (pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].questionFeedback == "yes") {
// questionFeedback for this question = 'yes' so display feedback for selected option(s)
for (i = 0; i < ln; i++){
if (optionTracking[i] == 1){ // only display feedback for selected responses
fb += pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].invOption[i].feedback + '\r\r';
}
}
fb = '' + feedbackLabel + '
' + fb;
}
}
]]>
yMax){
yMax = cd[i][j].y;
}
} // end of j loop
} // end of for i loop
// set min to 0 if using percentages
if (pageIcon.templateData.inventory[projPI].scoreType != 'absolute'){
yMin = 0;
}
if (Number(yMin) > 0){
yMin = yMin -1;
}
]]>
' + pageIcon.templateData.inventory[projPI].chartTitle + '
'}]]>
\ No newline at end of file
+
" + quesCount + "";
invPrompt = replace(invPrompt, "{i}", inventory.repCount);
invPrompt = replace(invPrompt, "{n}", qCount);
invPrompt = invPrompt + "
" + pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].prompt;
]]>
2 && icon.attributes.built != 'true'){
icon.nextSibling.childNodes[1].duplicate(ln - 2);
icon.attributes.built = 'true';
}
//multi answer? then display check boxes rather than radio buttons
if (pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].type == 'Multiple Answer'){
for (i = 0; i < ln; i++){
icon.nextSibling.childNodes[i].attributes.type="checkBox";
}
}
// sets up optionTracking array with one element per option and set element values to 0
optionTracking = new Array();
for (i = 0; i < ln; i++){
optionTracking[i] = 0;
// all options are correct in an inventory
// check boxes are only flagged as 1 in optionTracking if they are selected and have their correct
// attribute set
icon.nextSibling.childNodes[i].attributes.correct = 1;
}
]]>
' + testModeText + '
' + fb;
}
else {
// in live mode
if (pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].questionFeedback == "yes") {
// questionFeedback for this question = 'yes' so display feedback for selected option(s)
for (i = 0; i < ln; i++){
if (optionTracking[i] == 1){ // only display feedback for selected responses
fb += pageIcon.templateData.inventory[projPI].invQuestion[inventory.getPageIndex()].invOption[i].feedback + '\r\r';
}
}
fb = '' + feedbackLabel + '
' + fb;
}
}
]]>
yMax){
yMax = cd[i][j].y;
}
} // end of j loop
} // end of for i loop
// set min to 0 if using percentages
if (pageIcon.templateData.inventory[projPI].scoreType != 'absolute'){
yMin = 0;
}
if (Number(yMin) > 0){
yMin = yMin -1;
}
]]>
' + pageIcon.templateData.inventory[projPI].chartTitle + '
'}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/jmol.rlm b/modules/xerte/parent_templates/Nottingham/models/jmol.rlm
index 0f9046c928..1c57309d2b 100644
--- a/modules/xerte/parent_templates/Nottingham/models/jmol.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/jmol.rlm
@@ -1,97 +1 @@
-
-
-
-
-
+
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/links.rlm b/modules/xerte/parent_templates/Nottingham/models/links.rlm
index 0f5c036aac..be8b82e265 100644
--- a/modules/xerte/parent_templates/Nottingham/models/links.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/links.rlm
@@ -1 +1 @@
-
' + pageIcon.templateData.links[projPI].link[icon.index()].name + '
' + pageIcon.templateData.links[projPI].link[icon.index()].text + '
' + pageIcon.templateData.links[projPI].link[icon.index()].url + ''}]]>
\ No newline at end of file
+
' + pageIcon.templateData.links[projPI].link[icon.index()].name + '
' + pageIcon.templateData.links[projPI].link[icon.index()].text + '
' + pageIcon.templateData.links[projPI].link[icon.index()].url + ''}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/list.rlm b/modules/xerte/parent_templates/Nottingham/models/list.rlm
index 070a3e4a69..ce18ffed03 100644
--- a/modules/xerte/parent_templates/Nottingham/models/list.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/list.rlm
@@ -1 +1 @@
-
' + pageIcon.templateData.list[projPI].nestedPage[icon.index()].name + ''}]]>
' + pageIcon.templateData.list[projPI].nestedPage[item.XMLElement.index()].name + '');
item = eval(icon.parentNode.attributes.rs);
listItems.moveTo(20,item._y);
listItems.lineTo(400, item._y);
listItems.lineTo(400, 20);
listItems.lineTo(780, 20);
listItems.lineTo(780, 496);
listItems.lineTo(400, 496);
listItems.lineTo(400, item._y + item._height);
listItems.lineTo(20, item._y + item._height);
item.setText('' + pageIcon.templateData.list[projPI].nestedPage[icon.parentNode.index()].name + '');
]]>
\ No newline at end of file
+
' + pageIcon.templateData.list[projPI].nestedPage[icon.index()].name + ''}]]>
' + pageIcon.templateData.list[projPI].nestedPage[item.XMLElement.index()].name + '');
item = eval(icon.parentNode.attributes.rs);
listItems.moveTo(20,item._y);
listItems.lineTo(400, item._y);
listItems.lineTo(400, 20);
listItems.lineTo(780, 20);
listItems.lineTo(780, 496);
listItems.lineTo(400, 496);
listItems.lineTo(400, item._y + item._height);
listItems.lineTo(20, item._y + item._height);
item.setText('' + pageIcon.templateData.list[projPI].nestedPage[icon.parentNode.index()].name + '');
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/mcq.rlm b/modules/xerte/parent_templates/Nottingham/models/mcq.rlm
index 1584299b30..35306d64d1 100644
--- a/modules/xerte/parent_templates/Nottingham/models/mcq.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/mcq.rlm
@@ -1 +1 @@
-
' + feedbackLabel + '
' + fb;
]]>
\ No newline at end of file
+
' + feedbackLabel + '
' + fb;
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/menu.rlm b/modules/xerte/parent_templates/Nottingham/models/menu.rlm
index 99a3361d1f..97a698751b 100644
--- a/modules/xerte/parent_templates/Nottingham/models/menu.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/menu.rlm
@@ -1 +1 @@
-
16 & numItems < 33){
itemWidth = 240;
} else if (numItems > 32){
itemWidth = 240;
}]]>
\ No newline at end of file
+
16 & numItems < 33){
itemWidth = 240;
} else if (numItems > 32){
itemWidth = 240;
}]]>
16){
menuImage.constrain(230, 450);
}
menuImage.constrain(450, 450);
menuImage._x = 800 - menuImage._width - 30;
menuImage._y = 30;
panel._x = menuImage._x - 10;
panel._y = menuImage._y - 10;
panel._width = menuImage._width + 20;
panel._height = menuImage._height + 20;
} else {
menuImage._width = 800;
menuImage._height = 515;
menuImage._y = 1;
panel._visible = false;
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/modelAnswer.rlm b/modules/xerte/parent_templates/Nottingham/models/modelAnswer.rlm
index d2fdc63181..1ab7dd72c2 100644
--- a/modules/xerte/parent_templates/Nottingham/models/modelAnswer.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/modelAnswer.rlm
@@ -1 +1 @@
-
'+pageIcon.templateData.modelAnswer[projPI].copypasteinfo+'';
}]]>
\ No newline at end of file
+
'+pageIcon.templateData.modelAnswer[projPI].copypasteinfo+'';
}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/modify.rlm b/modules/xerte/parent_templates/Nottingham/models/modify.rlm
index ab1333d29d..1c880bf946 100644
--- a/modules/xerte/parent_templates/Nottingham/models/modify.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/modify.rlm
@@ -1 +1 @@
-
100){
fbH = 100;
}]]>
\ No newline at end of file
+
100){
fbH = 100;
}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/newWindow.rlm b/modules/xerte/parent_templates/Nottingham/models/newWindow.rlm
index 320e80d93a..f862e59002 100644
--- a/modules/xerte/parent_templates/Nottingham/models/newWindow.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/newWindow.rlm
@@ -1 +1 @@
-
' + pageIcon.templateData.newWindow[projPI].tip + ''}]]>
\ No newline at end of file
+
' + pageIcon.templateData.newWindow[projPI].tip + ''}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/quiz.rlm b/modules/xerte/parent_templates/Nottingham/models/quiz.rlm
index a94423e665..55a2f080fb 100644
--- a/modules/xerte/parent_templates/Nottingham/models/quiz.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/quiz.rlm
@@ -1 +1 @@
-
" + quesCount + "";
quizPrompt = replace(quizPrompt, "{i}", quiz.repCount);
quizPrompt = replace(quizPrompt, "{n}", qCount);
//if (nQValue == "n"){
// quizPrompt = quizPrompt + quiz.repCount + " " + betweenQuesCount + " " + qCount + " " + afterQuesCount + "";
//} else {
// quizPrompt = quizPrompt + qCount + " " + betweenQuesCount + " " + quiz.repCount + " " + afterQuesCount + "";
//}
quizPrompt = quizPrompt + "
" + pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].prompt;
]]>
2 && icon.attributes.built != 'true'){
icon.nextSibling.childNodes[1].duplicate(ln - 2);
icon.attributes.built = 'true';
}
//multi answer?
if (pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].type == 'Multiple Answer'){
for (i = 0; i < ln; i++){
icon.nextSibling.childNodes[i].attributes.type="checkBox";
}
}
optionTracking = new Array();
for (i = 0; i < ln; i++){
optionTracking[i] = 0;
if (pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].option[i].correct == 'true'){
icon.nextSibling.childNodes[i].attributes.correct = 1;
} else {
icon.nextSibling.childNodes[i].attributes.correct = 0;
}
}]]>
' + feedbackLabel + '
' + fb;
if (pageIcon.templateData.quiz[projPI].judge == 'true'){
if (pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].type == 'Single Answer'){
if (ques.judge()){
fb+= singleRight ;
} else {
fb += singleWrong;
}
} else {
if (ques.judge()){
fb+= multiRight;
} else {
fb += multiWrong;
}
}
}
//track the scorm score?
if (ques.judge()){
quizScoreTracking[quiz.repCount - 1] = 1;
} else {
quizScoreTracking[quiz.repCount - 1] = 0;
}
]]>
' + onCompletion + '
' + pageIcon.templateData.quiz[projPI].feedback;
if (pageIcon.templateData.quiz[projPI].judge == 'true'){
s = scoreText;
s = replace(s, "{i}", quizScoreTracking.sum());
s = replace(s, "{n}", quizScoreTracking.length);
fb += '
' + s;
}
]]>
\ No newline at end of file
+
" + quesCount + "";
quizPrompt = replace(quizPrompt, "{i}", quiz.repCount);
quizPrompt = replace(quizPrompt, "{n}", qCount);
quizPrompt = quizPrompt + "
" + pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].prompt;
]]>
2 && icon.attributes.built != 'true'){
icon.nextSibling.childNodes[1].duplicate(ln - 2);
icon.attributes.built = 'true';
}
//multi answer?
if (pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].type == 'Multiple Answer'){
for (i = 0; i < ln; i++){
icon.nextSibling.childNodes[i].attributes.type="checkBox";
}
}
optionTracking = new Array();
for (i = 0; i < ln; i++){
optionTracking[i] = 0;
if (pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].option[i].correct == 'true'){
icon.nextSibling.childNodes[i].attributes.correct = 1;
} else {
icon.nextSibling.childNodes[i].attributes.correct = 0;
}
}]]>
' + feedbackLabel + '
' + fb;
if (pageIcon.templateData.quiz[projPI].judge == 'true'){
if (pageIcon.templateData.quiz[projPI].question[quiz.getPageIndex()].type == 'Single Answer'){
if (ques.judge()){
fb+= singleRight ;
} else {
fb += singleWrong;
}
} else {
if (ques.judge()){
fb+= multiRight;
} else {
fb += multiWrong;
}
}
}
//track the scorm score?
if (ques.judge()){
quizScoreTracking[quiz.repCount - 1] = 1;
} else {
quizScoreTracking[quiz.repCount - 1] = 0;
}
]]>
' + onCompletion + '
' + pageIcon.templateData.quiz[projPI].feedback;
if (pageIcon.templateData.quiz[projPI].judge == 'true'){
s = scoreText;
s = replace(s, "{i}", quizScoreTracking.sum());
s = replace(s, "{n}", quizScoreTracking.length);
fb += '
' + s;
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/rss.rlm b/modules/xerte/parent_templates/Nottingham/models/rss.rlm
index 0ffc3be0c2..2f078181aa 100644
--- a/modules/xerte/parent_templates/Nottingham/models/rss.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/rss.rlm
@@ -1 +1 @@
-
);
panel.sendAndLoad(req, feedURL);
]]>
";
for (i = 0; i < arr.length; i++){
tempItem = arr[i].toObject();
t += '' + tempItem.title + '
';
if (tempItem.description != undefined){
t += '' + tempItem.description + '
';
} else {
t += '
';
}
}
} else if (panel.serverXML.firstChild.nodeName.indexOf('feed') != -1){
arr = panel.serverXML.findNodesByName('entry');
t = "
";
for (i = 0; i < arr.length; i++){
tempItem = arr[i].toObject();
t += '' + tempItem.title + '
';
if (tempItem.summary != undefined){
t+= '' + tempItem.summary + '
';
} else {
t+= '
';
}
}
}
]]>
' + t}]]>
\ No newline at end of file
+
);
panel.sendAndLoad(req, feedURL);
]]>
";
for (i = 0; i < arr.length; i++){
tempItem = arr[i].toObject();
t += '' + tempItem.title + '
';
if (tempItem.description != undefined){
t += '' + tempItem.description + '
';
} else {
t += '
';
}
}
} else if (panel.serverXML.firstChild.nodeName.indexOf('feed') != -1){
arr = panel.serverXML.findNodesByName('entry');
t = "
";
for (i = 0; i < arr.length; i++){
tempItem = arr[i].toObject();
t += '' + tempItem.title + '
';
if (tempItem.summary != undefined){
t+= '' + tempItem.summary + '
';
} else {
t+= '
';
}
}
}
]]>
' + t}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/slideshow.rlm b/modules/xerte/parent_templates/Nottingham/models/slideshow.rlm
index 080835703f..7e13ee8ab3 100644
--- a/modules/xerte/parent_templates/Nottingham/models/slideshow.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/slideshow.rlm
@@ -1 +1 @@
-
' + beforeSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + betweenSlideStat + ' ' + slideFW.pageCount + ' ' + afterSlideStat + '');
} else {
orientation.setText('' + beforeSlideStat + ' ' + slideFW.pageCount + ' ' + betweenSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + afterSlideStat + '');
}
]]>
' + beforeSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + betweenSlideStat + ' ' + slideFW.pageCount + ' ' + afterSlideStat + '');
} else {
orientation.setText('' + beforeSlideStat + ' ' + slideFW.pageCount + ' ' + betweenSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + afterSlideStat + '');
}
]]>
' + pageIcon.templateData.slideshow[projPI].nestedPage[icon.parentNode.index() - 1].name + '
' + pageIcon.templateData.slideshow[projPI].nestedPage[icon.parentNode.index() - 1].text}]]>
\ No newline at end of file
+
' + beforeSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + betweenSlideStat + ' ' + slideFW.pageCount + ' ' + afterSlideStat + '');
} else {
orientation.setText('' + beforeSlideStat + ' ' + slideFW.pageCount + ' ' + betweenSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + afterSlideStat + '');
}
]]>
' + beforeSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + betweenSlideStat + ' ' + slideFW.pageCount + ' ' + afterSlideStat + '');
} else {
orientation.setText('' + beforeSlideStat + ' ' + slideFW.pageCount + ' ' + betweenSlideStat + ' ' + (slideFW.currentPage + 1) + ' ' + afterSlideStat + '');
}
]]>
' + pageIcon.templateData.slideshow[projPI].nestedPage[icon.parentNode.index() - 1].name + '
' + pageIcon.templateData.slideshow[projPI].nestedPage[icon.parentNode.index() - 1].text}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/textGraphics.rlm b/modules/xerte/parent_templates/Nottingham/models/textGraphics.rlm
index 5d29391bb9..7b7a3b230a 100644
--- a/modules/xerte/parent_templates/Nottingham/models/textGraphics.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/textGraphics.rlm
@@ -1 +1 @@
-
450){
hidetranscript=true;
}
]]>
\ No newline at end of file
+
450){
hidetranscript=true;
}
]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/textVideo.rlm b/modules/xerte/parent_templates/Nottingham/models/textVideo.rlm
index e709a861ad..fb47be2bf7 100644
--- a/modules/xerte/parent_templates/Nottingham/models/textVideo.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/textVideo.rlm
@@ -1 +1 @@
-
Number(pageIcon.templateData.textVideo[projPI].endFrame)){
movie.pause();
movie.flvPlayer.seek(Number(pageIcon.templateData.textVideo[projPI].startFrame));
}
}]]>
\ No newline at end of file
+
Number(pageIcon.templateData.textVideo[projPI].endFrame)){
movie.pause();
movie.flvPlayer.seek(Number(pageIcon.templateData.textVideo[projPI].startFrame));
}
}]]>
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/videoSynch.rlm b/modules/xerte/parent_templates/Nottingham/models/videoSynch.rlm
index 08d2927f3a..b74bafb182 100644
--- a/modules/xerte/parent_templates/Nottingham/models/videoSynch.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/videoSynch.rlm
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/modules/xerte/parent_templates/Nottingham/models/wiki.rlm b/modules/xerte/parent_templates/Nottingham/models/wiki.rlm
index b009e41fe7..3e95395879 100644
--- a/modules/xerte/parent_templates/Nottingham/models/wiki.rlm
+++ b/modules/xerte/parent_templates/Nottingham/models/wiki.rlm
@@ -1 +1 @@
-
);
panel.sendAndLoad(req, feedURL);
]]>
Wikipedia: " + pageIcon.templateData.wiki[projPI].url + '
';
for (i = 0; i < arr.length; i++){
if (arr[i].firstChild.nodeType == 3);
t += '' + arr[i] + '
';
}
}
t = replace(t, 'href="/', 'target="_blank" href="http://en.wikipedia.org/');
t += '
Original article';
]]>
\ No newline at end of file
+
);
panel.sendAndLoad(req, feedURL);
]]>
Wikipedia: " + pageIcon.templateData.wiki[projPI].url + '
';
for (i = 0; i < arr.length; i++){
if (arr[i].firstChild.nodeType == 3);
t += '' + arr[i] + '
';
}
}
t = replace(t, 'href="/', 'target="_blank" href="http://en.wikipedia.org/');
t += '
Original article';
]]>
\ No newline at end of file