... | 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 Binary Namespace: ServletNamespace
♦ ♦
<n.do_logout Binary Namespace: ServletNamespace
♦ ♦
<n.html Macro Parameters:
head, body
♦ ♦
<head>
<n.title Macro Parameters:
text
♦ ♦
<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 Macro Parameters:
text
♦ ♦
<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>
|