You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2012/12/11 10:03:16 UTC

svn commit: r1420039 - /incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/auth/checkLoginData.lzx

Author: sebawagner
Date: Tue Dec 11 09:03:15 2012
New Revision: 1420039

URL: http://svn.apache.org/viewvc?rev=1420039&view=rev
Log:
Put network testing tool link additionally in login prompt

Modified:
    incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/auth/checkLoginData.lzx

Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/auth/checkLoginData.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/auth/checkLoginData.lzx?rev=1420039&r1=1420038&r2=1420039&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/auth/checkLoginData.lzx (original)
+++ incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/auth/checkLoginData.lzx Tue Dec 11 09:03:15 2012
@@ -372,7 +372,23 @@
             if($debug) Debug.write("checkLoginData/save: ",save);
             if(save) this.setValue(true);
         </handler>
-    </labelCheckbox>        
+    </labelCheckbox>  
+    
+    <labelText name="testing" y="96" x="${ parent.width-10-this.width }">
+        <attribute name="link" type="string" value="" />
+        <handler name="onclick">
+            lz.Browser.loadURL(this.link,"_blank");
+        </handler>
+        <handler name="oninit">
+   			this.setAttribute('text',this.formatLinkText(canvas.getLabelName(1527)));
+            this.setAttribute('link',canvas.getTestingUrl());  
+        </handler>
+        <method name="formatLinkText" args="text">
+	        <![CDATA[
+	            return "<u><FONT color='#0000CC'>"+text+"</FONT></u>";
+	        ]]>
+	    </method>    
+    </labelText>
 
     <labelText align="right" resize="true" valign="bottom" >
         <handler name="oninit">