Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/viewUserProfile.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/viewUserProfile.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/viewUserProfile.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/viewUserProfile.lzx Tue Jan 24 18:58:51 2012 @@ -1,301 +1,320 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<library> - -<class name="viewUserProfileWindow" extends="guiPresenter" labelid="1235" isdragable="true" - minimizable="true" maximizable="false" fullToolBar="true" y="100" x="$once{ (parent.width-this.width)/2 }" - resizeable="false" width="470" height="$once{ parent.height-this.y-10 }" > - - <attribute name="userId" value="0" type="number"/> - - <handler name="oninit"> - this.getUserById.doCall(); - </handler> - - <!-- - public Users getUserById(String SID, long user_id) - --> - <netRemoteCallHib name="getUserById" funcname="userservice.getUserById" - remotecontext="$once{ canvas.thishib }" > - <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> - <netparam><method name="getValue"> return parent.parent.userId; </method></netparam> - <handler name="ondata" args="value"> - <![CDATA[ - if ($debug) Debug.write("getUserById: ",value); - - if (value.pictureuri.startsWith("http") || value.pictureuri.startsWith("https")) { - - } else if (value.pictureuri==null || value.pictureuri.length==0){ - value.pictureuri = "d.jpg"; - } else { - value.pictureuri = "_profile_"+value.pictureuri; - } - - parent.setAttribute("title",parent.title+" "+value.firstname+" "+value.lastname); - - this.parent.viewUserProfile.viewUserProfile.initFields(value); - - ]]> - </handler> - </netRemoteCallHib> - - <!-- - public Long requestUserToContactList(String SID, Long userToAdd_id, - String domain, String port, String webapp) - --> - <netRemoteCallHib name="requestUserToContactList" funcname="userservice.requestUserToContactList" - remotecontext="$once{ canvas.thishib }" activeErrorHandler="true" > - <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> - <netparam><method name="getValue"> return parent.parent.viewUserProfile.viewUserProfile.userObject.user_id; </method></netparam> - <netparam><method name="getValue"> return canvas.rtmphostlocal; </method></netparam> - <netparam><method name="getValue"> return canvas.red5httpport; </method></netparam> - <netparam><method name="getValue"> return canvas.httpRootKey; </method></netparam> - <handler name="ondata" args="value"> - <![CDATA[ - if ($debug) Debug.write("requestUserToContactList: ",value); - if (value > 0) { - new lz.labelerrorPopup(canvas,{labelid:1267,errorlabelid:1266}); - } - ]]> - </handler> - </netRemoteCallHib> - - <view name="viewUserProfile" y="24" height="$once{ parent.height-60 }" - width="$once{ parent.width-2 }" clip="true"> - - <viewUserProfile name="viewUserProfile" /> - - <vscrollbar /> - - </view> - - <simpleLabelButton labelid="1253" width="190" x="5" y="$once{ parent.height - 26 }"> - <handler name="onclick"> - new lz.newPrivateMessage(canvas,{ - x:200,y:120, - refObj:null, - minimizable:true, - maximizable:true, - isdragable:true, - userObject:null, - user_id:parent.viewUserProfile.viewUserProfile.userObject.user_id, - width:canvas.width-300, - height:canvas.height-130 - }); - </handler> - </simpleLabelButton> - - <simpleLabelButton labelid="1186" width="160" x="$once{ parent.width - 270 }" y="$once{ parent.height - 26 }"> - <handler name="onclick"> - if (hib.userobject.user_id == parent.viewUserProfile.viewUserProfile.userObject.user_id) { - new lz.labelerrorPopup(canvas,{errorlabelid:1225}); - return; - } - parent.requestUserToContactList.doCall(); - </handler> - </simpleLabelButton> - - <simpleLabelButton labelid="61" width="100" x="$once{ parent.width - 105 }" y="$once{ parent.height - 26 }"> - <handler name="onclick"> - this.parent.close(); - </handler> - </simpleLabelButton> - -</class> - -<!--- User Profile Setting Panel --> -<class name="viewUserProfile" extends="view" > - - <attribute name="userObject" value="null" /> - - <method name="initFields" args="obj"> - <![CDATA[ - - this.userObject = obj; - - //var downloadurl = canvas.protocol + '://'+canvas.rtmphostlocal+':'+canvas.red5httpport - // +canvas.httpRootKey+'DownloadHandler?fileName='+obj.pictureuri - // +'&moduleName=userprofile&parentPath=&room_id=' - // +'&sid='+canvas.sessionId; - var t = new Date(); - - if (obj.pictureuri.startsWith("http") || obj.pictureuri.startsWith("https")) { - var downloadurl = obj.pictureuri; - } else { - var downloadurl = canvas.protocol + '://'+canvas.rtmphostlocal+':'+canvas.red5httpport - +canvas.httpRootKey+'DownloadHandler?fileName='+obj.pictureuri - +'&moduleName=remoteuserprofile&parentPath=&room_id=' - +'&remoteUserid='+obj.user_id+'&r='+t.getTime() - +'&sid='+canvas.sessionId; - } - if ($debug) Debug.warn("downloadurl 1 ",downloadurl); - this._userpic.setAttribute('src',downloadurl); - - var tUserName = "<u><FONT color='#0000CC'><a href='asfunction:_root.searchUsers,"+ this.removeWhitespace(obj.firstname) +"'>" + this.removeWhitespace(obj.firstname) + "</a></FONT></u>"; - - tUserName += " <u><FONT color='#0000CC'><a href='asfunction:_root.searchUsers,"+ this.removeWhitespace(obj.lastname) +"'>" + this.removeWhitespace(obj.lastname) + "</a></FONT></u>"; - - this.username.setAttribute("text",tUserName); - - this.timezone.setAttribute("text",this.userObject.omTimeZone.jname + ' (' + this.userObject.omTimeZone.ical + ')'); - - this.memberSince.setAttribute("text",parseDateToString(this.userObject.starttime)); - - var aOfferings = obj.userOffers.split(","); - - var tOfferings = ""; - - for (var t=0;t<aOfferings.length;t++) { - - tOfferings += "<u><FONT color='#0000CC'><a href='asfunction:_root.searchOffers,"+ this.removeWhitespace(aOfferings[t]) +"'>" + this.removeWhitespace(aOfferings[t]) + "</a></FONT></u>"; - - if (t+1 < aOfferings.length) { - tOfferings += ", "; - } - } - - this.userOffers._text.setAttribute("text",tOfferings); - - - var aSearchs = obj.userSearchs.split(","); - - var tSearchs = ""; - - for (var t=0;t<aSearchs.length;t++) { - - tSearchs += "<u><FONT color='#0000CC'><a href='asfunction:_root.searchInterest,"+ this.removeWhitespace(aSearchs[t]) +"'>" + this.removeWhitespace(aSearchs[t]) + "</a></FONT></u>"; - - if (t+1 < aSearchs.length) { - tSearchs += ", "; - } - } - - this.userSearchs._text.setAttribute("text",tSearchs); - - if (hib.userobject.user_id == this.userObject.user_id) { - //Self always show - this.showUserContactData(); - } else if (obj.showContactData) { - this.showUserContactData(); - } else if (obj.showContactDataToContacts) { - this.checkUserIsInContactList.doCall(); - } else { - this.userContactData.setAttribute("text",canvas.getLabelName(1268)); - } - - - ]]> - </method> - - <!-- - public Boolean checkUserIsInContactList(String SID, Long user_id) - --> - <netRemoteCallHib name="checkUserIsInContactList" funcname="userservice.checkUserIsInContactList" - remotecontext="$once{ canvas.thishib }" > - <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> - <netparam><method name="getValue"> return parent.parent.userObject.user_id; </method></netparam> - <handler name="ondata" args="value"> - <![CDATA[ - if ($debug) Debug.write("checkUserIsInContactList: ",value); - - if (value){ - parent.showUserContactData(); - } else { - parent.userContactData.setAttribute("text",canvas.getLabelName(1269)); - } - - ]]> - </handler> - </netRemoteCallHib> - - <method name="showUserContactData"> - <![CDATA[ - - var tString = this.userObject.adresses.street + " " + this.userObject.adresses.additionalname + "<br/>"; - tString += this.userObject.adresses.zip + " " + this.userObject.adresses.town + "<br/>"; - tString += this.userObject.adresses.states.name + "<br/><br/>"; - tString += this.userObject.adresses.email + "<br/>"; - tString += this.userObject.adresses.phone + "<br/><br/>"; - tString += this.userObject.adresses.comment + "<br/>"; - - this.userContactData.setAttribute("text",tString); - - ]]> - </method> - - <method name="removeWhitespace" args="str"> - <![CDATA[ - - //if ($debug) Debug.write("removeWhitespace 1 ",str); - //if ($debug) Debug.write("removeWhitespace 2 ",str.length); - - var tResultingString = ""; - - for (var i=0;i<str.length;i++) { - - var tChar = str.substring(i,i+1); - - if (tChar != " ") { - tResultingString = str.substring(i,str.length); - break; - } - - } - - for (var i=tResultingString.length;i>0;i--) { - - var tChar = tResultingString.substring(i-1,i); - - if (tChar != " ") { - tResultingString = tResultingString.substring(0,i); - break; - } - - } - - - return tResultingString; - - - ]]> - </method> - - <image y="10" x="10" name="_userpic" /> - - <view x="180" width="260" y="10" height="120" bgcolor="0xFFFFFF" /> - - <labelText name="usernameLabel" x="180" y="10" labelid="1164" /> - <labelText name="username" x="260" y="10" /> - - <labelText name="timezoneLabel" x="180" y="30" labelid="1165" /> - <labelText name="timezone" x="260" y="30" /> - - <labelText name="memberSinceLabel" x="180" y="50" labelid="1296" /> - <labelText name="memberSince" x="260" y="50" /> - - <labelText name="userFields" x="10" y="140" labelid="1166" fontstyle="bold" /> - - <labelText name="userOffersLabel" x="10" y="160" labelid="1162" /> - - <view name="userOffers" x="120" y="160" height="100" width="320" clip="true" bgcolor="0xFFFFFF"> - <labelText name="_text" multiline="true" width="$once{ parent.width- 16 }" /> - <vscrollbar /> - </view> - - <labelText name="userSearchsLabel" x="10" y="270" labelid="1163" /> - - <view name="userSearchs" x="120" y="270" height="100" width="320" clip="true" bgcolor="0xFFFFFF"> - <labelText name="_text" multiline="true" width="$once{ parent.width- 16 }" /> - <vscrollbar /> - </view> - - <labelText name="userContact" x="10" y="380" labelid="1167" fontstyle="bold" /> - - <labelText x="10" y="400" labelid="1270" /> - - <labelText name="userContactData" x="120" y="400" multiline="true" width="320" - selectable="true" bgcolor="0xFFFFFF" resize="false" /> - -</class> - - -</library> +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<library> + +<class name="viewUserProfileWindow" extends="guiPresenter" labelid="1235" isdragable="true" + minimizable="true" maximizable="false" fullToolBar="true" y="100" x="$once{ (parent.width-this.width)/2 }" + resizeable="false" width="470" height="$once{ parent.height-this.y-10 }" > + + <attribute name="userId" value="0" type="number"/> + + <handler name="oninit"> + this.getUserById.doCall(); + </handler> + + <!-- + public Users getUserById(String SID, long user_id) + --> + <netRemoteCallHib name="getUserById" funcname="userservice.getUserById" + remotecontext="$once{ canvas.thishib }" > + <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> + <netparam><method name="getValue"> return parent.parent.userId; </method></netparam> + <handler name="ondata" args="value"> + <![CDATA[ + if ($debug) Debug.write("getUserById: ",value); + + if (value.pictureuri.startsWith("http") || value.pictureuri.startsWith("https")) { + + } else if (value.pictureuri==null || value.pictureuri.length==0){ + value.pictureuri = "d.jpg"; + } else { + value.pictureuri = "_profile_"+value.pictureuri; + } + + parent.setAttribute("title",parent.title+" "+value.firstname+" "+value.lastname); + + this.parent.viewUserProfile.viewUserProfile.initFields(value); + + ]]> + </handler> + </netRemoteCallHib> + + <!-- + public Long requestUserToContactList(String SID, Long userToAdd_id, + String domain, String port, String webapp) + --> + <netRemoteCallHib name="requestUserToContactList" funcname="userservice.requestUserToContactList" + remotecontext="$once{ canvas.thishib }" activeErrorHandler="true" > + <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> + <netparam><method name="getValue"> return parent.parent.viewUserProfile.viewUserProfile.userObject.user_id; </method></netparam> + <netparam><method name="getValue"> return canvas.rtmphostlocal; </method></netparam> + <netparam><method name="getValue"> return canvas.red5httpport; </method></netparam> + <netparam><method name="getValue"> return canvas.httpRootKey; </method></netparam> + <handler name="ondata" args="value"> + <![CDATA[ + if ($debug) Debug.write("requestUserToContactList: ",value); + if (value > 0) { + new lz.labelerrorPopup(canvas,{labelid:1267,errorlabelid:1266}); + } + ]]> + </handler> + </netRemoteCallHib> + + <view name="viewUserProfile" y="24" height="$once{ parent.height-60 }" + width="$once{ parent.width-2 }" clip="true"> + + <viewUserProfile name="viewUserProfile" /> + + <vscrollbar /> + + </view> + + <simpleLabelButton labelid="1253" width="190" x="5" y="$once{ parent.height - 26 }"> + <handler name="onclick"> + new lz.newPrivateMessage(canvas,{ + x:200,y:120, + refObj:null, + minimizable:true, + maximizable:true, + isdragable:true, + userObject:null, + user_id:parent.viewUserProfile.viewUserProfile.userObject.user_id, + width:canvas.width-300, + height:canvas.height-130 + }); + </handler> + </simpleLabelButton> + + <simpleLabelButton labelid="1186" width="160" x="$once{ parent.width - 270 }" y="$once{ parent.height - 26 }"> + <handler name="onclick"> + if (hib.userobject.user_id == parent.viewUserProfile.viewUserProfile.userObject.user_id) { + new lz.labelerrorPopup(canvas,{errorlabelid:1225}); + return; + } + parent.requestUserToContactList.doCall(); + </handler> + </simpleLabelButton> + + <simpleLabelButton labelid="61" width="100" x="$once{ parent.width - 105 }" y="$once{ parent.height - 26 }"> + <handler name="onclick"> + this.parent.close(); + </handler> + </simpleLabelButton> + +</class> + +<!--- User Profile Setting Panel --> +<class name="viewUserProfile" extends="view" > + + <attribute name="userObject" value="null" /> + + <method name="initFields" args="obj"> + <![CDATA[ + + this.userObject = obj; + + //var downloadurl = canvas.protocol + '://'+canvas.rtmphostlocal+':'+canvas.red5httpport + // +canvas.httpRootKey+'DownloadHandler?fileName='+obj.pictureuri + // +'&moduleName=userprofile&parentPath=&room_id=' + // +'&sid='+canvas.sessionId; + var t = new Date(); + + if (obj.pictureuri.startsWith("http") || obj.pictureuri.startsWith("https")) { + var downloadurl = obj.pictureuri; + } else { + var downloadurl = canvas.protocol + '://'+canvas.rtmphostlocal+':'+canvas.red5httpport + +canvas.httpRootKey+'DownloadHandler?fileName='+obj.pictureuri + +'&moduleName=remoteuserprofile&parentPath=&room_id=' + +'&remoteUserid='+obj.user_id+'&r='+t.getTime() + +'&sid='+canvas.sessionId; + } + if ($debug) Debug.warn("downloadurl 1 ",downloadurl); + this._userpic.setAttribute('src',downloadurl); + + var tUserName = "<u><FONT color='#0000CC'><a href='asfunction:_root.searchUsers,"+ this.removeWhitespace(obj.firstname) +"'>" + this.removeWhitespace(obj.firstname) + "</a></FONT></u>"; + + tUserName += " <u><FONT color='#0000CC'><a href='asfunction:_root.searchUsers,"+ this.removeWhitespace(obj.lastname) +"'>" + this.removeWhitespace(obj.lastname) + "</a></FONT></u>"; + + this.username.setAttribute("text",tUserName); + + this.timezone.setAttribute("text",this.userObject.omTimeZone.jname + ' (' + this.userObject.omTimeZone.ical + ')'); + + this.memberSince.setAttribute("text",parseDateToString(this.userObject.starttime)); + + var aOfferings = obj.userOffers.split(","); + + var tOfferings = ""; + + for (var t=0;t<aOfferings.length;t++) { + + tOfferings += "<u><FONT color='#0000CC'><a href='asfunction:_root.searchOffers,"+ this.removeWhitespace(aOfferings[t]) +"'>" + this.removeWhitespace(aOfferings[t]) + "</a></FONT></u>"; + + if (t+1 < aOfferings.length) { + tOfferings += ", "; + } + } + + this.userOffers._text.setAttribute("text",tOfferings); + + + var aSearchs = obj.userSearchs.split(","); + + var tSearchs = ""; + + for (var t=0;t<aSearchs.length;t++) { + + tSearchs += "<u><FONT color='#0000CC'><a href='asfunction:_root.searchInterest,"+ this.removeWhitespace(aSearchs[t]) +"'>" + this.removeWhitespace(aSearchs[t]) + "</a></FONT></u>"; + + if (t+1 < aSearchs.length) { + tSearchs += ", "; + } + } + + this.userSearchs._text.setAttribute("text",tSearchs); + + if (hib.userobject.user_id == this.userObject.user_id) { + //Self always show + this.showUserContactData(); + } else if (obj.showContactData) { + this.showUserContactData(); + } else if (obj.showContactDataToContacts) { + this.checkUserIsInContactList.doCall(); + } else { + this.userContactData.setAttribute("text",canvas.getLabelName(1268)); + } + + + ]]> + </method> + + <!-- + public Boolean checkUserIsInContactList(String SID, Long user_id) + --> + <netRemoteCallHib name="checkUserIsInContactList" funcname="userservice.checkUserIsInContactList" + remotecontext="$once{ canvas.thishib }" > + <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> + <netparam><method name="getValue"> return parent.parent.userObject.user_id; </method></netparam> + <handler name="ondata" args="value"> + <![CDATA[ + if ($debug) Debug.write("checkUserIsInContactList: ",value); + + if (value){ + parent.showUserContactData(); + } else { + parent.userContactData.setAttribute("text",canvas.getLabelName(1269)); + } + + ]]> + </handler> + </netRemoteCallHib> + + <method name="showUserContactData"> + <![CDATA[ + + var tString = this.userObject.adresses.street + " " + this.userObject.adresses.additionalname + "<br/>"; + tString += this.userObject.adresses.zip + " " + this.userObject.adresses.town + "<br/>"; + tString += this.userObject.adresses.states.name + "<br/><br/>"; + tString += this.userObject.adresses.email + "<br/>"; + tString += this.userObject.adresses.phone + "<br/><br/>"; + tString += this.userObject.adresses.comment + "<br/>"; + + this.userContactData.setAttribute("text",tString); + + ]]> + </method> + + <method name="removeWhitespace" args="str"> + <![CDATA[ + + //if ($debug) Debug.write("removeWhitespace 1 ",str); + //if ($debug) Debug.write("removeWhitespace 2 ",str.length); + + var tResultingString = ""; + + for (var i=0;i<str.length;i++) { + + var tChar = str.substring(i,i+1); + + if (tChar != " ") { + tResultingString = str.substring(i,str.length); + break; + } + + } + + for (var i=tResultingString.length;i>0;i--) { + + var tChar = tResultingString.substring(i-1,i); + + if (tChar != " ") { + tResultingString = tResultingString.substring(0,i); + break; + } + + } + + + return tResultingString; + + + ]]> + </method> + + <image y="10" x="10" name="_userpic" /> + + <view x="180" width="260" y="10" height="120" bgcolor="0xFFFFFF" /> + + <labelText name="usernameLabel" x="180" y="10" labelid="1164" /> + <labelText name="username" x="260" y="10" /> + + <labelText name="timezoneLabel" x="180" y="30" labelid="1165" /> + <labelText name="timezone" x="260" y="30" /> + + <labelText name="memberSinceLabel" x="180" y="50" labelid="1296" /> + <labelText name="memberSince" x="260" y="50" /> + + <labelText name="userFields" x="10" y="140" labelid="1166" fontstyle="bold" /> + + <labelText name="userOffersLabel" x="10" y="160" labelid="1162" /> + + <view name="userOffers" x="120" y="160" height="100" width="320" clip="true" bgcolor="0xFFFFFF"> + <labelText name="_text" multiline="true" width="$once{ parent.width- 16 }" /> + <vscrollbar /> + </view> + + <labelText name="userSearchsLabel" x="10" y="270" labelid="1163" /> + + <view name="userSearchs" x="120" y="270" height="100" width="320" clip="true" bgcolor="0xFFFFFF"> + <labelText name="_text" multiline="true" width="$once{ parent.width- 16 }" /> + <vscrollbar /> + </view> + + <labelText name="userContact" x="10" y="380" labelid="1167" fontstyle="bold" /> + + <labelText x="10" y="400" labelid="1270" /> + + <labelText name="userContactData" x="120" y="400" multiline="true" width="320" + selectable="true" bgcolor="0xFFFFFF" resize="false" /> + +</class> + + +</library>
Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/library.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/library.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/library.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/library.lzx Tue Jan 24 18:58:51 2012 @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> <library> <include href="screenSharingContainer.lzx" /> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/screenSharingContainer.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/screenSharingContainer.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/screenSharingContainer.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/screenSharingContainer.lzx Tue Jan 24 18:58:51 2012 @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> <library> <class name="screenSharingContainer" extends="view" @@ -28,4 +47,4 @@ </class> -</library> \ No newline at end of file +</library> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/sharingSession.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/sharingSession.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/sharingSession.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sharing/sharingSession.lzx Tue Jan 24 18:58:51 2012 @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> <library> <class name="sharingScreenImage" extends="image" forcereload="true"> @@ -437,4 +456,4 @@ setNewSource </class> -</library> \ No newline at end of file +</library> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/library.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/library.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/library.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/library.lzx Tue Jan 24 18:58:51 2012 @@ -1,6 +1,25 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<library> - - <include href="sipLoader.lzx" /> - -</library> +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<library> + + <include href="sipLoader.lzx" /> + +</library> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/sipLoader.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/sipLoader.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/sipLoader.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/sipintegration/sipLoader.lzx Tue Jan 24 18:58:51 2012 @@ -1,15 +1,34 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<library> - -<class name="sipLoader" extends="view" bgcolor="0xFFFFFF" - align="center" valign="middle" - width="${ this._label.width + 50 }" height="40"> - - <view resource="warning_icon_rsc" x="10" y="10" /> - - <labelText labelid="900" name="_label" - fontsize="11" y="10" x="40" /> - -</class> - -</library> +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<library> + +<class name="sipLoader" extends="view" bgcolor="0xFFFFFF" + align="center" valign="middle" + width="${ this._label.width + 50 }" height="40"> + + <view resource="warning_icon_rsc" x="10" y="10" /> + + <labelText labelid="900" name="_label" + fontsize="11" y="10" x="40" /> + +</class> + +</library> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/library.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/library.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/library.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/library.lzx Tue Jan 24 18:58:51 2012 @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> <library> <include href="previousnext.lzx" /> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/previousnext.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/previousnext.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/previousnext.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/wizard/previousnext.lzx Tue Jan 24 18:58:51 2012 @@ -1,4 +1,23 @@ <?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> <library> <class name="previousNextButton" extends="labelExplorerBox" labelid="180" Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/library.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/library.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/library.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/library.lzx Tue Jan 24 18:58:51 2012 @@ -1,6 +1,25 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<library> - - <include href="whiteboard/" /> - -</library> +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<library> + + <include href="whiteboard/" /> + +</library> Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/basePropertyPanelWhiteboard.lzx URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/basePropertyPanelWhiteboard.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff ============================================================================== --- incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/basePropertyPanelWhiteboard.lzx (original) +++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/basePropertyPanelWhiteboard.lzx Tue Jan 24 18:58:51 2012 @@ -1,82 +1,101 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<library> - -<class name="basePropertyPanelWhiteboard" extends="view" - bgcolor="$once{ canvas.basebgcolorizer }" > - - <!--- @keywords private is the Box minimized --> - <attribute name="isopen" value="true" type="boolean" /> - - <!--- @keywords private is the Box minimized --> - <attribute name="open" value="true" type="boolean" /> - - <!--- Title of this window --> - <attribute name="title" type="string" value="basePanel" /> - - <!--- @keywords private --> - <attribute name="initheight" value="0" type="number" /> - - <attribute name="labelid" type="number" setter="setLabelId(labelid)" /> - - <method name="setLabelId" args="_labelid" > - this.labelid = _labelid; - this.setAttribute("title",canvas.getLabelName(this.labelid)); - </method> - - <method name="toggleopen"> - ////Debug.write("this.isopen",this.isopen); - this.setAttribute('isopen',!this.isopen); - if (this.isopen){ - this.setAttribute('height',this.initheight); - this.setAttribute('height',this.initheight); - } else { - this.setAttribute('height',22); - } - </method> - - <handler name="oninit"> - this.initheight=this.height; - </handler> - - <view width="${ this.parent.width }" height="${ this.parent.height-2 }" - x="0" y="1" bgcolor="0xFFFFFF" /> - - <view x="0" y="1" width="${ this.parent.width }" height="20" /> - - <handler name="onclick"> - this.parent.toggleopen(); - </handler> - - <view width="${ this.parent.parent.width }" y="0" stretches="width" - resource="presenter_thumb_rsc" > - - <handler name="oninit"> - <![CDATA[ - this.setTintRGB(canvas.basebgcolorizer,90); - //this.setColor(canvas.basebgcolorizer); - ]]> - </handler> - <method name="setTintRGB" args="color, brightness"> - <![CDATA[ - if (color != "" && color != null){ - - if (brightness == null) { brightness = 0; } - var rgb = color; - var red=(rgb >> 16) & 0xFF; - var green=(rgb >> 8) & 0xFF; - var blue=rgb & 0xFF; - - this.setColorTransform( { ra : red, ga : green, ba : blue, - rb : 0, gb : 0, bb : 0 } ); - - if($debug) Debug.write("explorerBox/setTintRGB",this); - if($debug) Debug.write("explorerBox/setTintRGB", { ra : red, ga : green, ba : blue, rb : 0, gb : 0, bb : 0 } ); - } - ]]> - </method> - </view> - <text fontsize="11" height="17" x="2" y="1" text="${ this.parent.title }" - fgcolor="0xFFFFFF" resize="true" fontstyle="bold" /> -</class> - -</library> +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<library> + +<class name="basePropertyPanelWhiteboard" extends="view" + bgcolor="$once{ canvas.basebgcolorizer }" > + + <!--- @keywords private is the Box minimized --> + <attribute name="isopen" value="true" type="boolean" /> + + <!--- @keywords private is the Box minimized --> + <attribute name="open" value="true" type="boolean" /> + + <!--- Title of this window --> + <attribute name="title" type="string" value="basePanel" /> + + <!--- @keywords private --> + <attribute name="initheight" value="0" type="number" /> + + <attribute name="labelid" type="number" setter="setLabelId(labelid)" /> + + <method name="setLabelId" args="_labelid" > + this.labelid = _labelid; + this.setAttribute("title",canvas.getLabelName(this.labelid)); + </method> + + <method name="toggleopen"> + ////Debug.write("this.isopen",this.isopen); + this.setAttribute('isopen',!this.isopen); + if (this.isopen){ + this.setAttribute('height',this.initheight); + this.setAttribute('height',this.initheight); + } else { + this.setAttribute('height',22); + } + </method> + + <handler name="oninit"> + this.initheight=this.height; + </handler> + + <view width="${ this.parent.width }" height="${ this.parent.height-2 }" + x="0" y="1" bgcolor="0xFFFFFF" /> + + <view x="0" y="1" width="${ this.parent.width }" height="20" /> + + <handler name="onclick"> + this.parent.toggleopen(); + </handler> + + <view width="${ this.parent.parent.width }" y="0" stretches="width" + resource="presenter_thumb_rsc" > + + <handler name="oninit"> + <![CDATA[ + this.setTintRGB(canvas.basebgcolorizer,90); + //this.setColor(canvas.basebgcolorizer); + ]]> + </handler> + <method name="setTintRGB" args="color, brightness"> + <![CDATA[ + if (color != "" && color != null){ + + if (brightness == null) { brightness = 0; } + var rgb = color; + var red=(rgb >> 16) & 0xFF; + var green=(rgb >> 8) & 0xFF; + var blue=rgb & 0xFF; + + this.setColorTransform( { ra : red, ga : green, ba : blue, + rb : 0, gb : 0, bb : 0 } ); + + if($debug) Debug.write("explorerBox/setTintRGB",this); + if($debug) Debug.write("explorerBox/setTintRGB", { ra : red, ga : green, ba : blue, rb : 0, gb : 0, bb : 0 } ); + } + ]]> + </method> + </view> + <text fontsize="11" height="17" x="2" y="1" text="${ this.parent.title }" + fgcolor="0xFFFFFF" resize="true" fontstyle="bold" /> +</class> + +</library>
