Mercurial Hosting > nabble
view src/nabble/view/naml/logout.naml @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
line wrap: on
line source
<macro name="logout_page" requires="servlet"> <n.dont_cache/> <n.do_logout/> <n.html> <head> <n.title.><t>You logged out</t></n.title.> <script type="text/javascript"> Nabble.setVar('userId', null); Nabble.setVar('username', null); Nabble.setVar('password', null); var loginNextUrl = '/'; </script> </head> <body> <h1><t>You logged out</t></h1> <p><t>If you logged out by mistake, please <n.login_link.>log in again</n.login_link.>.</t></p> <script type="text/javascript"> if (Nabble.isEmbedded) { var $l = $('#login-link'); $l.attr('href', $l.attr('href') + '&nextUrl=/'); } </script> <br/> <br/> </body> </n.html> </macro> <macro name="logout_path"> <n.encode_url.> /template/NamlServlet.jtp?macro=logout_page </n.encode_url.> </macro>