[Rt-commit] r4252 - in rt/branches/3.5-TESTING: . html/Elements

trs at bestpractical.com trs at bestpractical.com
Mon Dec 5 18:29:27 EST 2005


Author: trs
Date: Mon Dec  5 18:29:26 2005
New Revision: 4252

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/Elements/Header
Log:
 r6730 at wintermute:  tom | 2005-12-05 18:28:43 -0500
 Fix


Modified: rt/branches/3.5-TESTING/html/Elements/Header
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Header	(original)
+++ rt/branches/3.5-TESTING/html/Elements/Header	Mon Dec  5 18:29:26 2005
@@ -82,12 +82,12 @@
     <span class="hide"><a href="#skipnav"><&|/l&>Skip Menu</&></a> | </span>
 % if ($session{'CurrentUser'}->Name) {
     <&|/l, "<span>".$session{'CurrentUser'}->Name."</span>" &>Logged in as [_1]</&>
+%     if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) {
+    | <a href="<%$RT::WebPath%><%$Prefs%>"><&|/l&>Preferences</&></a>
+%     }
 % } else {
     <&|/l&>Not logged in.</&>
 % }
-%if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) {
-    | <a href="<%$RT::WebPath%><%$Prefs%>"><&|/l&>Preferences</&></a>
-% }
   <& /Elements/Callback, %ARGS &>
 % unless (!$session{'CurrentUser'}->Name
 %         or ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth)) {


More information about the Rt-commit mailing list