Author: tyrell
Date: Sun Feb 10 18:28:23 2008
New Revision: 13532

Log:

Minor formatting/documentation and adding identity solution logo to the page.

Modified:
   trunk/mashup/java/modules/www/captcha.jsp
   trunk/mashup/java/modules/www/register_self.jsp

Modified: trunk/mashup/java/modules/www/captcha.jsp
==============================================================================
--- trunk/mashup/java/modules/www/captcha.jsp   (original)
+++ trunk/mashup/java/modules/www/captcha.jsp   Sun Feb 10 18:28:23 2008
@@ -25,7 +25,15 @@
 <%@ page import="java.io.IOException" %>
 <%@ page import="java.util.Iterator" %>
 <%
-    String imageFormat = "jpg";
+
+    /*
+    *
+    * Based on the simple jsp captcha implementation by Michael Connor,
+    * found at http://www.jroller.com/mlconnor/entry/simple_captcha_jsp
+    *
+    */
+
+    String imageFormat = "png";
     response.setContentType("image/" + imageFormat);
 
     try {

Modified: trunk/mashup/java/modules/www/register_self.jsp
==============================================================================
--- trunk/mashup/java/modules/www/register_self.jsp     (original)
+++ trunk/mashup/java/modules/www/register_self.jsp     Sun Feb 10 18:28:23 2008
@@ -141,6 +141,7 @@
                                     <div align="center"><img 
src="captcha.jsp"/></div>
                                 </td>
                                 <td>
+                                    <br/>
                                     <label>Type the text you see in the image 
here<font color="#FF0000">*</font></label>
                                     <br/>
                                     <input type="text" name="captcha"
@@ -162,6 +163,11 @@
                                     <a 
href="infocard.jsp?fromselfreg=true&bounceback=<%=URLEncoder.encode(bounceback,"UTF-8")%>"><img
 src="images/infocard_92x64.png" border="0"></a>
                                     <br/>
                                     Fill up your details using your personal 
or managed infocard.
+                                    <br/>
+                                    <br/>
+                                    <a 
href="http://wso2.org/projects/solutions/identity";
+                                       target="_blank"><img 
src="images/powered_identity.gif"
+                                                            border="0"></a>
                                 </td>
                             </tr>
                         </table>

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to