Hi,

I created a patch for the following problem.

 When topnav.user_creation.enable is false 
 and a wrong username or password is inputted,
 Jetspeed displays a user-creation link in 
 Login.vm.

I think that it is better for Jetspeed not to
display this link in this case. 
Please integrate the attached patch to cvs 
if there is no problem.

Best regards,
 shinsuke

--- jakarta-jetspeed.org/webapp/WEB-INF/templates/vm/screens/html/Login.vm      Mon 
Sep 23 13:59:12 2002
+++ jakarta-jetspeed/webapp/WEB-INF/templates/vm/screens/html/Login.vm  Mon Sep 23 
+14:01:49 2002
@@ -41,8 +41,10 @@
                 </tr>
                 <tr>
                   <td colspan="2" align="center">
+                    #if( $config.getBoolean("topnav.user_creation.enable") == true)
                     <a href="$link.setPage("NewAccount")" 
style="font-size:10">$l10n.LOGIN_NEW_ACCOUNT</a>
                     &nbsp;|&nbsp;
+                    #end
                     <a href="$link.setPage("LoginHelp")" 
style="font-size:10">$l10n.TOP_LOGINHELP</a>
                   </td>
                 </tr>
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to