File: failed_hook.html

package info (click to toggle)
webcit 902-dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,888 kB
  • ctags: 3,854
  • sloc: ansic: 34,145; sh: 4,455; makefile: 352; xml: 91; sed: 9
file content (13 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
<script type="text/javascript">

function PopUpExplicit() {
	window.open('static/instant_messenger.html', 'CTDL_MESSENGER', 'width=700,height=400');
	toggleModal(0);
}

function PopUpFailed() {

	$('md-content').innerHTML = "<div align='justify'><?_("You have one or more instant messages waiting, but the Citadel Instant Messenger window failed to open.  This is probably because you have a popup blocker installed.  Please configure your popup blocker to allow popups from this site if you wish to receive instant messages.")><\/div><br><br><div align='center'><h2><a href='javascript:PopUpExplicit();'>OK<\/a><\/h2><\/div>";
	toggleModal(1);
}
</script>