if (!this.enabled) {
return;
}
canvas.doActionmenu(this.actionCommand);
if (!this.enabled) {
return;
}
canvas._mymod.checkForApplyScreen("no");
if (!this.enabled) {
return;
}
if ($debug) Debug.write("cmd_applyforWhiteBoard onselect",tSel);
//Ask for Right to Draw on Whiteboard
var tDate = new Date();
canvas.thishib.sendMessageWithClient.sendMessage("applyForWhiteboard",tDate.getTime());
if (!this.enabled) {
return;
}
if ($debug) Debug.write("cmd_applyforAV onselect",canvas.ismoderator,tSel);
if (canvas.ismoderator) {
//Do directly send confirmation to share Audio/Video to SELF! so that all users get
//the notification and the broadcasting Bit is set for this User
canvas.thishib.setBroadCastingFlag.publicSIDOfNewModerator = canvas.publicSID;
canvas.thishib.setBroadCastingFlag.isAllowedToBroadCastAV = true;
canvas.thishib.setBroadCastingFlag.doCall();
} else {
//Apply for Right to Share Audio/Video
var tDate = new Date();
canvas.thishib.sendMessageWithClient.sendMessage("applyForAV",tDate.getTime());
}
0) {
return canvas.httphostlocal;
}
return canvas.rtmphostlocal;
]]>
parent.parseLanugageObject(value);
//if($debug) Debug.write("main.lzx/getLabelName()",id);
return getLabelTag(id);
if (action == "exportFilePNG") {
canvas._drawarea.confirmSaveAsImageTypeExport("image","png");
} else if (action == "exportFileJPG") {
canvas._drawarea.confirmSaveAsImageTypeExport("image","jpg");
} else if (action == "exportFilePDF") {
canvas._drawarea.confirmSaveAsImageTypeExport("image","pdf");
} else if (action == "exportFileSVG") {
canvas._drawarea.confirmSaveAsImageExport("image");
} else if (action == "exportFileTIF") {
canvas._drawarea.confirmSaveAsImageTypeExport("image","tif");
}
new lz.resultPollWin(canvas.main_content._content.inner, {roomPoll: value});
if ($debug) Debug.warn("setRoomValues ",roomTypeId,roomId,roomObj);
if (roomTypeId==1){
canvas.isConference = true;
} else {
canvas.isConference = false;
}
//this is needed cause in the rpc-method *getCurrentModeratorList* we check if its roomtype_id == 3
//and if roomtype_id == 3 we will not show any *There is no Moderator* Warning Dialog
canvas.currentRoomObject = roomObj;
hib.currentroomid = roomId;
if (roomObj!=null){
if (roomTypeId==1){
new lz.testSetup(canvas,{isDirectLink:true,roomClassName:canvas.conferenceRoomModule,roomObj:roomObj});
} else if (roomTypeId==2){
new lz.testSetup(canvas,{isDirectLink:true,roomClassName:canvas.restrictedRoomModule,roomObj:roomObj});
new lz.labelerrorPopup(canvas,{error:'No RoomType currently available for roomTypeId 2'});
} else if (roomTypeId==3){
new lz.testSetup(canvas,{isDirectLink:true,roomClassName:canvas.restrictedRoomModule,roomObj:roomObj});
} else if (roomTypeId==4){
new lz.testSetup(canvas,{isDirectLink:true,roomClassName:canvas.interviewRoomModule,roomObj:roomObj});
} else if (roomTypeId==5){
new lz.testSetup(canvas,{isDirectLink:true,roomClassName:canvas.customRoomModule,roomObj:roomObj});
}
}
////Debug.write('parseLanugageObject: ',obj);
////Debug.write('parseLanugageObject: ',obj.childNodes);
//Debug.write(value);
canvas.setAttribute('currentcourse',value.childNodes[0].childNodes[0].childNodes[0].childNodes[0].data);
canvas.setAttribute('currentcourseName',canvas.currentcourse);
canvas.setAttribute('currentcourseNameLong',value.childNodes[0].childNodes[0].childNodes[1].childNodes[0].data);
canvas.setAttribute('currentlanguage',value.childNodes[0].childNodes[0].childNodes[8].childNodes[0].data);
canvas.setAttribute('currentusename',value.childNodes[0].childNodes[1].childNodes[2].childNodes[0].data+' '+value.childNodes[0].childNodes[1].childNodes[1].childNodes[0].data);
canvas.setAttribute('user_id',value.childNodes[0].childNodes[1].childNodes[0].childNodes[0].data);
canvas.setAttribute('firstName',value.childNodes[0].childNodes[1].childNodes[1].childNodes[0].data);
canvas.setAttribute('lastName',value.childNodes[0].childNodes[1].childNodes[2].childNodes[0].data);
canvas.setAttribute('mail',value.childNodes[0].childNodes[1].childNodes[3].childNodes[0].data);
canvas.setAttribute('lastLogin','');
canvas.setAttribute('official_code',value.childNodes[0].childNodes[1].childNodes[5].childNodes[0].data);
canvas.setAttribute('picture_uri','');
canvas.setAttribute('language',value.childNodes[0].childNodes[1].childNodes[7].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[0].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[1].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[2].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[3].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[4].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[5].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[6].childNodes[0].data);
//Debug.write(value.childNodes[0].childNodes[1].childNodes[7].childNodes[0].data);
switch (canvas.currentlanguage){
case 'english':
break;
case 'german':
break;
case 'french':
break;
default:
canvas.setAttribute('currentlanguage','english');
break;
}
var addIt='conf';
if (!canvas.isConference){
addIt='meet'
}
canvas.setAttribute('currentcourse',canvas.rtmphost+canvas.currentcourse+addIt);
canvas.setAttribute('currentuser',value.childNodes[0].childNodes[1].childNodes[5].childNodes[0].data);
canvas.setAttribute('loadingmessage','loading language data');
canvas.languageData.doRequest();
////Debug.write("validateCountry: ",str);
str = str.toLowerCase();
return canvas.statesInitValues[id];
var obj = getCurrentMouseWheelObject();
////Debug.write("onmousewheeldelta 12: ",d,obj);
= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 );
]]>
= 224 && c <= 250 );
]]>
switch ( type ) {
case "left" :
obj.setX( 0 );
break;
case "center" :
obj.setX( this.parent.width / 2 - this.getTextWidth() / 2 );
break;
case "right" :
obj.setX( this.parent.width - this.getTextWidth() );
break;
}
if (canvas.sharedObject == null) {
if($debug) Debug.write("canvas.initSharedObject sharedObject IS null");
canvas.sharedObject = new lz.sharedObject();
canvas.sharedObject.getLocal('userdata');
}
canvas.initSharedObject();
var g = canvas.sharedObject.getData('userdata');
if (g==null) {
if($debug) Debug.write("sharedObject.getData IS null");
g = new Array();
}
return g;
canvas.initSharedObject();
canvas.sharedObject.setData('userdata', g);
canvas.sharedObject.flush();
this.regExpCounter = this.regExpCounter +1;
canvas.sendViaLocalConnection(canvas.rtmp_lc_name, "regExpTest", [fieldValue, regExpV, this.regExpCounter]);
return this.regExpCounter;
if (this.regExpResultArray == null) {
this.regExpResultArray = new Array();
}
this.regExpResultArray[tId] = tResult;
if ($debug) Debug.write("regExpResult ",tId,tResult);
return this.regExpResultArray[tId];
//if ($debug) Debug.write("load Image by Name: ",tName);
var tPath = canvas.mainTheme.getPointer().xpathQuery("theme/resource[@name='"+tName+"']/@src");
//if ($debug) Debug.write("tPath "+tPath);
if (tPath == null) {
if ($debug) Debug.warn("getThemeImage - No Image found for config: ",tName);
}
return tPath;
//if ($debug) Debug.write("load Color by Name: ",tColor);
var tResColor = canvas.mainTheme.getPointer().xpathQuery("theme/color[@name='"+tColor+"']/@value");
//if ($debug) Debug.write("tColor "+tColor);
if (tResColor == null) {
if ($debug) Debug.warn("getThemeColor - No Color found for config: ",tColor);
}
return tResColor;
defaultstyle.setAttribute("basecolor",canvas.getThemeColor('basebgcolorizer'));
itemStyle.setAttribute("basecolor",canvas.getThemeColor('basebgcolorizer'));
menuStyle.setAttribute("basecolor",canvas.getThemeColor('styleMenuBarBaseColor'));
_conferencemenu.setAttribute("bgcolor",canvas.getThemeColor('baseMousecolorizer'));
_mainbgcontentNavi.setAttribute("bgcolor",canvas.getThemeColor('mainBackgroundColor'));
main_content.setAttribute("bgcolor",canvas.getThemeColor('mainBackgroundColor'));
//if ($debug) Debug.info("sendViaLocalConnection ",lc_name,methodName); //,tArray
if (tArray == null || tArray.length == 0) {
canvas.lc.send(lc_name,methodName);
} else if (tArray.length == 1) {
canvas.lc.send(lc_name,methodName,tArray[0]);
} else if (tArray.length == 2) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1]);
} else if (tArray.length == 3) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2]);
} else if (tArray.length == 4) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3]);
} else if (tArray.length == 5) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4]);
} else if (tArray.length == 6) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5]);
} else if (tArray.length == 7) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6]);
} else if (tArray.length == 8) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6],tArray[7]);
} else if (tArray.length == 9) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6],tArray[7],tArray[8]);
} else if (tArray.length == 10) {
canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6],tArray[7],tArray[8],tArray[9]);
} else {
if ($debug) Debug.error("tArray in sendViaLocalConnection longer then allowed")
}
return value == null ? '' : value;