* Removed 'close window' link from logout screen because some browsers don't allow...
authorArt Cancro <ajc@citadel.org>
Thu, 14 May 2009 13:18:26 +0000 (13:18 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 14 May 2009 13:18:26 +0000 (13:18 +0000)
webcit/auth.c

index 7cb7bc83cf7626322c8fd0ecccaa20a8b2e6da03..b9e28faf3513db6e7cb03830012e193a89396044 100644 (file)
@@ -586,10 +586,18 @@ void do_logout(void)
        wprintf("<hr /><div class=\"buttons\"> "
                "<span class=\"button_link\"><a href=\".\">");
        wprintf(_("Log in again"));
-       wprintf("</a></span>&nbsp;&nbsp;&nbsp;<span class=\"button_link\">"
+       wprintf("</a></span>");
+
+       /* The "close window" link is commented out because some browsers don't
+        * allow it to work.
+        *
+       wprintf("&nbsp;&nbsp;&nbsp;<span class=\"button_link\">"
                "<a href=\"javascript:window.close();\">");
        wprintf(_("Close window"));
-       wprintf("</a></span></div></div></div></div>\n");
+       wprintf("</a></span>");
+        */
+
+       wprintf("</div></div></div></div>\n");
        wDumpContent(2);
        end_webcit_session();
 }