diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 3df0eeb..7817ef2 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -254,7 +254,7 @@ static int accessHandlerCallback(void *cls, mimeType = "text/html; charset=utf-8"; } else { - content = "Fulltext search unavailable

Not Found

There is no article with the title \"" + patternString + "\" and the fulltext search engine is not available for this content.

"; + content = "\nFulltext search unavailable

Not Found

There is no article with the title \"" + patternString + "\" and the fulltext search engine is not available for this content.

"; mimeType = "text/html"; httpResponseCode = MHD_HTTP_NOT_FOUND; } @@ -274,8 +274,8 @@ static int accessHandlerCallback(void *cls, } else { if (isVerbose()) cout << "Failed to find " << urlStr << endl; - - content = "Content not found

Not Found

The requested URL " + urlStr + " was not found on this server.

"; + + content = "\nContent not found

Not Found

The requested URL " + urlStr + " was not found on this server.

"; mimeType = "text/html"; httpResponseCode = MHD_HTTP_NOT_FOUND; } @@ -581,7 +581,7 @@ int main(int argc, char **argv) { "Size: " + kiwix::beautifyInteger(atoi(currentBook.size.c_str())) + " MB (" + kiwix::beautifyInteger(atoi(currentBook.articleCount.c_str())) + " articles, " + kiwix::beautifyInteger(atoi(currentBook.mediaCount.c_str())) + " medias) \ Created: " + currentBook.date + " \ Author: " + currentBook.creator + "Language: " + currentBook.language + " \ - Publisher: " + (currentBook.publisher.empty() ? "unknown" : currentBook.publisher ) + "
\ + Publisher: " + (currentBook.publisher.empty() ? "unknown" : currentBook.publisher ) + "
\ \ \ "; diff --git a/static/server/taskbar.html.part b/static/server/taskbar.html.part index ec8d146..cb8ced4 100644 --- a/static/server/taskbar.html.part +++ b/static/server/taskbar.html.part @@ -17,10 +17,6 @@
-
- - - -
+