SANKORE-321 refactroing main html create from trap widgets

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 39211e361f
commit 0d8350e5f7
  1. 18
      src/web/UBTrapFlashController.cpp

@ -319,15 +319,15 @@ QString UBTrapFlashController::generateFullPageHtml(const QString& pDirPath, boo
QString htmlContentString; QString htmlContentString;
htmlContentString += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n"; htmlContentString += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n";
htmlContentString += "<html>\n"; htmlContentString += "<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n";
htmlContentString += "<head>\n"; htmlContentString += " <head>\r\n";
htmlContentString += " <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n"; htmlContentString += " <meta http-equiv=\"refresh\" content=\"0; " + mCurrentWebFrame->url().toString() + "\">\r\n";
htmlContentString += "</head>\n"; htmlContentString += " </head>\r\n";
htmlContentString += " <frameset cols=\"100%\">\n"; htmlContentString += " <body>\r\n";
htmlContentString += " <frame src=\"" + mCurrentWebFrame->url().toString() + "\"/>\n"; htmlContentString += " Redirect to target...\r\n";
htmlContentString += " </frameset>\n"; htmlContentString += " </body>\r\n";
htmlContentString += "</html>\n"; htmlContentString += "</html>\r\n";
if (!pGenerateFile) if (!pGenerateFile)
{ {

Loading…
Cancel
Save