From 3b390cf6bfc3249ea6af8736e99315e614ea8ef8 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 9 Jul 2005 15:45:30 +0000 Subject: Make error page nicer; code by Adam Hooper. 2005-07-09 Christian Persch * embed/mozilla/EphyProtocolHandler.cpp: Make error page nicer; code by Adam Hooper. --- embed/mozilla/EphyProtocolHandler.cpp | 44 +++++++++++------------------------ 1 file changed, 13 insertions(+), 31 deletions(-) (limited to 'embed') diff --git a/embed/mozilla/EphyProtocolHandler.cpp b/embed/mozilla/EphyProtocolHandler.cpp index db978cbb3..ff98fdb53 100644 --- a/embed/mozilla/EphyProtocolHandler.cpp +++ b/embed/mozilla/EphyProtocolHandler.cpp @@ -430,32 +430,25 @@ EphyProtocolHandler::CreateErrorPage(nsIURI *aErrorURI, Write (stream, "\n" "\n" "\n" @@ -464,18 +457,7 @@ EphyProtocolHandler::CreateErrorPage(nsIURI *aErrorURI, gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL ? "rtl" : "ltr"); Write (stream, "\">\n" - "
\"");
\n" - "
\n" + "
" "

"); WriteHTMLEscape (stream, primary); Write (stream, -- cgit v1.2.3