]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/paging/failed_hook.html
Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / static / t / paging / failed_hook.html
diff --git a/webcit/static/t/paging/failed_hook.html b/webcit/static/t/paging/failed_hook.html
new file mode 100644 (file)
index 0000000..8f79d6a
--- /dev/null
@@ -0,0 +1,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>