Revision: 3552
Author: seba.wagner
Date: Wed Nov 10 06:46:55 2010
Log: some more quick buttons and fix for exit button for Facebook users
http://code.google.com/p/openmeetings/source/detail?r=3552

Modified:
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/conference/conferenceMenubar.lzx /trunk/singlewebapp/WebContent/openmeetings/modules/conference/tabcontent/chat/chatTabItemEmoticons.lzx

=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/modules/conference/conference/conferenceMenubar.lzx Wed Nov 10 04:08:36 2010 +++ /trunk/singlewebapp/WebContent/openmeetings/modules/conference/conference/conferenceMenubar.lzx Wed Nov 10 06:46:55 2010
@@ -184,7 +184,9 @@
             <![CDATA[
if (canvas.isinitRoomDirect || canvas.remoteUserLogin || canvas.secureRemoteUserLogin) {
                     if ($debug) Debug.write("this mbarcontent ",this);
-                    this._exitbtn.destroy();
+                    if (canvas.destroyExitButton) {
+                        parent._exitbtn.destroy();
+                    }
                 }
             ]]>
         </handler>
@@ -286,7 +288,9 @@
             <![CDATA[
if (canvas.isinitRoomDirect || canvas.remoteUserLogin || canvas.secureRemoteUserLogin) {
                     if ($debug) Debug.write("this mbarcontent ",this);
-                    this._exitbtn.destroy();
+                    if (canvas.destroyExitButton) {
+                        parent._exitbtn.destroy();
+                    }
                 }
             ]]>
         </handler>
=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/modules/conference/tabcontent/chat/chatTabItemEmoticons.lzx Wed Nov 10 03:53:07 2010 +++ /trunk/singlewebapp/WebContent/openmeetings/modules/conference/tabcontent/chat/chatTabItemEmoticons.lzx Wed Nov 10 06:46:55 2010
@@ -65,6 +65,70 @@
                  width="$once{ parent.width - 40 }" bgcolor="$once{ 
parent.usercolor }"
                  name="header_user" />

+    <miniIcons name="add" resource="edit_add_rsc" width="16" height="16"
+ y="0" x="$once{ parent.width - 114 }" showhandcursor="true">
+        <handler name="onclick">
+            if ($debug) Debug.write("Start Conference");
+            if (hib.userobject.user_id == parent.user_id) {
+                new lz.labelerrorPopup(canvas,{errorlabelid:1225});
+                return;
+            }
+            parent.requestUserToContactList.doCall();
+        </handler>
+        <labelTooltip labelid="1186" />
+    </miniIcons>
+
+    <!--
+    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.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>
+
+ <miniIcons name="private_message_add" resource="private_message_add_rsc" width="16" height="16" + y="0" x="$once{ parent.width - 94 }" showhandcursor="true">
+        <handler name="onclick">
+            if ($debug) Debug.write("Start Conference");
+            new lz.newPrivateMessage(canvas,{
+                                x:200,y:120,
+                                refObj:null,
+                                minimizable:true,
+                                maximizable:true,
+                                userObject:null,
+                                isdragable:true,
+                                user_id:parent.user_id,
+                                width:canvas.width-300,
+                                height:canvas.height-130
+                            });
+        </handler>
+        <labelTooltip labelid="1253" />
+    </miniIcons>
+
+    <miniIcons resource="user_profile_rsc" width="16" height="16"
+               y="0" x="$once{ parent.width - 74 }" showhandcursor="true">
+        <handler name="onclick">
+            if ($debug) Debug.write("Start Conference");
+            new lz.viewUserProfileWindow(canvas,{
+                                userId:parent.user_id
+                            });
+        </handler>
+        <labelTooltip labelid="1236" />
+    </miniIcons>
+
<miniIcons visible="$once{ !parent.isDirectLink }" y="0" x="$once{ parent.width - 54 }"
                   resource="start_conference2_rsc" width="16" height="16"
                showhandcursor="true">

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to