[Rt-commit] r12540 - in rt/branches/3.8-TESTING: . share/html/Elements

alexmv at bestpractical.com alexmv at bestpractical.com
Mon May 19 17:53:38 EDT 2008


Author: alexmv
Date: Mon May 19 17:53:37 2008
New Revision: 12540

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Elements/Login
   rt/branches/3.8-TESTING/share/html/NoAuth/Logout.html

Log:
 r31970 at kohr-ah:  chmrr | 2008-05-19 17:53:22 -0400
  * Use /Elements/Header on logout so we get no-cache headers
  * Style the logout box a bit
  * clobber CurrentUser after logout so header bar says we are logged out
  * Add missing </div> on login


Modified: rt/branches/3.8-TESTING/share/html/Elements/Login
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/Login	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/Login	Mon May 19 17:53:37 2008
@@ -130,6 +130,7 @@
 </&>
 </div><!-- #login-box -->
 % $m->callback( %ARGS, CallbackName => 'AfterForm' );
+</div><!-- #login-body -->
 <& /Elements/Footer, Menu => 0 &>
 <%ARGS>
 $user => ""

Modified: rt/branches/3.8-TESTING/share/html/NoAuth/Logout.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/NoAuth/Logout.html	(original)
+++ rt/branches/3.8-TESTING/share/html/NoAuth/Logout.html	Mon May 19 17:53:37 2008
@@ -45,17 +45,21 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<html>
-<head>
-<title>RT: Logout</title>
- <meta HTTP-EQUIV="Refresh" content="0;URL=<%$URL%>">
-</head>
-<body>
+<& /Elements/Header, Title => loc('Logout'), Refresh => "1;URL=$URL" &>
+</div>
+
+<div id="body" class="login-body">
+<div id="login-box">
+
+<&| /Widgets/TitleBox, title => loc('Logged out'), hideable => 0 &>
 <p><&|/l&>You have been logged out of RT.</&>
 
 <br />
 <br />
 <a href="<%$URL%>"><&|/l&>You're welcome to login again</&></a>.
+</&>
+</div></div>
+<& /Elements/Footer, Menu => 0 &>
 
 % $m->abort();
 
@@ -64,6 +68,7 @@
 
 if (defined %session) {
     tied(%session)->delete;
+    $session{'CurrentUser'} = RT::CurrentUser->new;
 }
 
 $m->callback( %ARGS, CallbackName => 'AfterSessionDelete' );


More information about the Rt-commit mailing list