Revision: 3495
Author: seba.wagner
Date: Wed Oct 20 14:10:28 2010
Log: Some Icon Layout Update
http://code.google.com/p/openmeetings/source/detail?r=3495

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

=======================================
--- /trunk/singlewebapp/WebContent/openmeetings/modules/conference/tabcontent/chat/chatTabBottom.lzx Mon Oct 11 08:09:56 2010 +++ /trunk/singlewebapp/WebContent/openmeetings/modules/conference/tabcontent/chat/chatTabBottom.lzx Wed Oct 20 14:10:28 2010
@@ -61,7 +61,7 @@
         <labelTooltip labelid="581" />
     </labelCheckbox>

-    <view name="_button" layout="axis:x;spacing:2" y="22" align="right">
+    <view name="_button" width="140" y="22" align="right">

         <attribute name="objMessage" value="null" />

@@ -103,7 +103,19 @@
                </miniIcons>
                 -->

-
+ <miniIcons y="2" x="82" resource="smile_chat_log_rsc" width="16" height="16"
+                   showhandcursor="true">
+            <handler name="onclick">
+                var pick = new lz.emotIconsSelector(canvas,{
+                        btnRef:this.parent.parent,
+                        x:(this.getAttributeRelative('x',canvas)-140),
+                        y:(this.getAttributeRelative('y',canvas)-140)
+                    });
+                lz.ModeManager.makeModal( pick );
+            </handler>
+            <labelTooltip labelid="445" />
+        </miniIcons>
+        <!--
<blueButton name="_show_emots" y="0" resourceItem="smile_chat_log_rsc"
                                x_insetResource="2" y_insetResource="2" width="20" 
height="20"
                                width_insetResource="16" 
height_insetResource="16">
@@ -116,19 +128,26 @@
                     });
                 lz.ModeManager.makeModal( pick );
             </handler>
-            <!--
-            <view x="2" y="1">
-                <handler name="oninit">
- var swfurl = 'http://'+canvas.rtmphostlocal+':'+canvas.red5httpport+canvas.httpRootKey+'public/emoticons/smile_btn.swf';
-                    this.setSource(swfurl);
-                    //if ($debug) Debug.write("CHAT SWFURL",swfurl);
-                </handler>
-            </view>
-             -->
             <labelTooltip labelid="445" />

         </blueButton>
-
+         -->
+
+ <miniIcons y="2" x="102" resource="copy_chat_log_rsc" width="16" height="16"
+                   showhandcursor="true">
+            <handler name="onclick">
+                <![CDATA[
+
+                    var tString = canvas._overallchatcontent.getLog();
+
+                    new lz.showChatLog(canvas,{
+                                    error:tString
+                                });
+                ]]>
+            </handler>
+            <labelTooltip labelid="1200" />
+        </miniIcons>
+        <!--
         <blueButton width="20" height="20" resourceItem="copy_chat_log_rsc"
                                x_insetResource="2" y_insetResource="2"
                                width_insetResource="16" 
height_insetResource="16">
@@ -142,13 +161,23 @@
                                                });
                 ]]>
             </handler>
-            <!--
-            <view x="3" y="1" resource="delete_chat_log_rsc" />
-             -->
             <labelTooltip labelid="1200" />
-
         </blueButton>
-
+         -->
+
+ <miniIcons y="2" x="122" resource="button_cancel_rsc" width="16" height="16"
+                   showhandcursor="true">
+            <handler name="onclick">
+                if (!canvas.ismoderator) {
+                    //Do not allow
+                    new lz.labelerrorPopup(canvas,{errorlabelid:783});
+                    return;
+                }
+                parent.clearChat.doCall();
+            </handler>
+            <labelTooltip labelid="442" />
+        </miniIcons>
+        <!--
         <blueButton width="20" height="20" resourceItem="button_cancel_rsc"
                                x_insetResource="2" y_insetResource="2"
                                width_insetResource="16" 
height_insetResource="16">
@@ -161,12 +190,9 @@
                        }
                 parent.clearChat.doCall();
             </handler>
-            <!--
-            <view x="3" y="1" resource="delete_chat_log_rsc" />
-             -->
             <labelTooltip labelid="442" />
-
         </blueButton>
+         -->

         <view width="1" />

--
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