You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/12/16 06:42:47 UTC

svn commit: r487761 - /incubator/roller/trunk/web/themes/frontpage/_header.vm

Author: snoopdave
Date: Fri Dec 15 21:42:46 2006
New Revision: 487761

URL: http://svn.apache.org/viewvc?view=rev&rev=487761
Log:
Backing out conditional links -- they won't work properly with cache. Need to find another approach, perhaps AJAX?

Modified:
    incubator/roller/trunk/web/themes/frontpage/_header.vm

Modified: incubator/roller/trunk/web/themes/frontpage/_header.vm
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/themes/frontpage/_header.vm?view=diff&rev=487761&r1=487760&r2=487761
==============================================================================
--- incubator/roller/trunk/web/themes/frontpage/_header.vm (original)
+++ incubator/roller/trunk/web/themes/frontpage/_header.vm Fri Dec 15 21:42:46 2006
@@ -23,15 +23,8 @@
                 <td class="bannerLeft"></td>
                 <td class="bannerRight">
                    <a href="$url.absoluteSite">$config.siteName</a> |
-                   #if($utils.userAuthenticated)
                    <a href="$url.absoluteSite/roller-ui/yourWebsites.do">Main Menu</a> |
-                       <a href="$url.logout">Logout</a>
-                   #else
-                       #if($config.registrationEnabled)
-                           <a href="$url.absoluteSite/roller-ui/user.do?method=registerUser">Register</a> |
-                       #end
-                           <a href="$url.login">Login</a>
-                   #end
+                   <a href="$url.login">Login</a>
                 </td>
             </tr>
         </table>