... | in logout_rememberlevel.naml |
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
<override_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">
<n.comment.>
If the nabblecookies iframe is available, we have to force a reload of cookies in the parent page.
(this is valid only when third-party cookies are disabled)
</n.comment.>
if (parent.nabblecookies) {
parent.nabblecookies.location = "/util/Empty.jtp";
Nabble.deleteCookie('userId');
Nabble.deleteCookie('username');
Nabble.deleteCookie('password');
}
Nabble.setVar('userId', null);
Nabble.setVar('username', null);
Nabble.setVar('password', null);
var loginNextUrl = "<n.get_parameter name='nextUrl'/> ";
</script>
</head>
<body>
<h1><t>You logged out</t></h1>
<p><t>If you logged out by mistake, please <a id="login-link" href="[n.get_next_url/]">log in again</a>.</t></p>
<br/>
<br/>
</body>
</n.html>
</override_macro>
|
... | in logout.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<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>
|
Powered by Nabble | Edit this page |