[Rt-commit] r3593 - in rt/branches/3.5-TESTING: . html/NoAuth

trs at bestpractical.com trs at bestpractical.com
Wed Aug 3 13:47:45 EDT 2005


Author: trs
Date: Wed Aug  3 13:47:45 2005
New Revision: 3593

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/NoAuth/Logout.html
Log:
 r5597 at wintermute:  tom | 2005-08-03 13:42:57 -0400
 Added callback hooks


Modified: rt/branches/3.5-TESTING/html/NoAuth/Logout.html
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/Logout.html	(original)
+++ rt/branches/3.5-TESTING/html/NoAuth/Logout.html	Wed Aug  3 13:47:45 2005
@@ -53,15 +53,19 @@
 
 <br/>
 <br/>
-<a href="<%$URL%>"><&|/l&>You're welcome to login again</&></a>
+<a href="<%$URL%>"><&|/l&>You're welcome to login again</&></a>.
 
+% $m->abort();
+
+<%INIT>
+$m->comp('/Elements/Callback', _CallbackName => 'BeforeSessionDelete', %ARGS);
 
-<%PERL>
 if (defined %session) {
-	tied(%session)->delete;
+    tied(%session)->delete;
 }
-$m->abort();
-</%PERL>
+
+$m->comp('/Elements/Callback', _CallbackName => 'AfterSessionDelete', %ARGS);
+</%INIT>
 
 <%ARGS>
 $URL => $RT::WebPath."/"


More information about the Rt-commit mailing list