roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r637638 - /roller/branches/roller_4.0/apps/weblogger/web/WEB-INF/jsps/tiles/bannerStatus.jsp
Date Sun, 16 Mar 2008 20:08:21 GMT
Author: snoopdave
Date: Sun Mar 16 13:08:03 2008
New Revision: 637638

URL: http://svn.apache.org/viewvc?rev=637638&view=rev
Log:
Fix for ROL-1693, registration link present in banner when registration turned off

Modified:
    roller/branches/roller_4.0/apps/weblogger/web/WEB-INF/jsps/tiles/bannerStatus.jsp

Modified: roller/branches/roller_4.0/apps/weblogger/web/WEB-INF/jsps/tiles/bannerStatus.jsp
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.0/apps/weblogger/web/WEB-INF/jsps/tiles/bannerStatus.jsp?rev=637638&r1=637637&r2=637638&view=diff
==============================================================================
--- roller/branches/roller_4.0/apps/weblogger/web/WEB-INF/jsps/tiles/bannerStatus.jsp (original)
+++ roller/branches/roller_4.0/apps/weblogger/web/WEB-INF/jsps/tiles/bannerStatus.jsp Sun
Mar 16 13:08:03 2008
@@ -54,7 +54,7 @@
                     <s:if test="getBooleanProp('users.registration.enabled')">
                         | <a href="<s:url action="register" namespace="/roller-ui"
/>"><s:text name="navigationBar.register"/></a>
                     </s:if>
-                    <s:elseif test="getProp('users.registration.url') != null">
+                    <s:elseif test="getProp('users.registration.url') != null &&
getProp('users.registration.url') > 0">
                         | <a href="<s:property value="getProp('users.registration.url')"/>"><s:text
name="navigationBar.register"/></a>
                     </s:elseif>
                 </s:else>



Mime
View raw message