.md-dialog {
background:white;
- border:2px solid #080;
+ border:2px solid #800;
}
--- /dev/null
+<html>
+<body>
+<center>
+<h1><a href="termquit"><img src="static/logoff_32x.gif" border="0"> <?_("Log off")></a></h1>
+<h1><a href="javascript:toggleModal();"><img src="static/closewindow.gif" border="0"> <?_("Cancel")></a></h1>
+</center>
+</body>
+</html>
<div class="md-dialog-decorator"></div>
<div class="md-dialog-wrap">
<div class="md-dialog" id="dialog">
- <div class="md-content">
+ <div class="md-content" id="md-content">
This is the modal dialog box. If you are seeing this message, the
modal dialog was invoked without first populating its contents, which
</ul>
</div>
<div id="ib_logoff" class="ib_button">
-<a class="ib_button_link" href="termquit" onclick="return confirm('<?_("Log off now?")>');" title="<?_("Log off")>"><span><?_("Log off")></span></a>
+<a class="ib_button_link" href="javascript:ConfirmLogoff()" title="<?_("Log off")>"><span><?_("Log off")></span></a>
</div>
<div id="customize" class="iconbar_text">
<span><a href="do_template?template=iconbar_edit"><?_("customize this menu")></a></span>
}
);
}
+
+
+function ConfirmLogoff() {
+ new Ajax.Updater(
+ 'md-content',
+ 'do_template?template=confirmlogoff',
+ {
+ method: 'get',
+ onSuccess: function(cl_success) {
+ toggleModal();
+ }
+ }
+ );
+}